⚙️

Mechanical Resonance Frequency Tool

Calculate mechanical resonance frequencies for spring-mass systems, cantilever beams, and simply-supported beams. Includes damping ratio, quality factor, peak magnification, and a live frequency-response plot of the magnification curve.

Input

N/m
kg
0 (undamped)0.50.99
Presets

Result

Natural frequency f₀
Damped frequency f_d
Period T
Quality factor Q
Peak magnification M_max
Angular frequency ω₀
Formulas
Spring-mass: ω₀ = √(k/m), f₀ = ω₀ / 2π
Beams: ω_n = (β_n·L)² · √(EI / (ρA·L⁴)), f_n = ω_n / 2π
Cantilever β_n·L = {1.8751, 4.6941, 7.8548, 10.9955, 14.1372}
Simply-supported β_n·L = n · π
Damped: f_d = f₀ · √(1 − ζ²), Q = 1 / (2ζ), M_max = 1 / (2ζ·√(1 − ζ²))
Frequency response — magnification M vs frequency ratio r = ω / ω₀

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


About Mechanical Resonance

Every elastic structure — a guitar string, a car suspension, a steel bridge, a skyscraper — has at least one natural frequency at which it prefers to vibrate. When driven by an external force at that frequency, vibration amplitude can grow dramatically — that's resonance. This phenomenon is also called a structural resonance or eigenfrequency in finite-element analysis, and the associated deformation shape is the mode shape or eigenvector. This mechanical resonance calculator covers three classic system families — spring-mass, cantilever beam, and simply-supported beam — that account for the majority of textbook and engineering cases. For room and building resonance driven by mechanical equipment, the structural resonance calculator covers plate, shell, and floor-panel geometries beyond the simple beam cases here.

Spring-mass system (single degree of freedom)

The simplest oscillator: a mass m attached to a spring of stiffness k. The undamped natural angular frequency is ω₀ = √(k/m), and the frequency in Hz is f₀ = ω₀ / (2π). A car suspension typically has k ≈ 30 kN/m and m ≈ 350 kg per corner, giving f₀ ≈ 1.5 Hz — comfortably below the 4–8 Hz range where human bodies become sensitive to vertical motion. A typical hand-wound spring with k = 100 N/m holding a 0.5 kg mass resonates at f₀ ≈ 2.25 Hz.

Cantilever beam (one end fixed, one end free)

The classic "diving board" geometry. Resonance frequencies are f_n = (β_n·L)² · √(EI / (ρA·L⁴)) / (2π), where β_n·L takes specific values (1.8751, 4.6941, 7.8548 for the first three modes). The fundamental is roughly 0.56 · √(EI / (m·L³)) where m is the total beam mass. Note that the modes are not simple integer multiples — f₂ ≈ 6.27·f₁, f₃ ≈ 17.55·f₁. This is why a vibrating ruler held at the edge of a desk doesn't sound like a pitched musical instrument.

Simply-supported beam (both ends pinned)

A bridge span or piano string approximation. Here β_n·L = n·π exactly, so f_n = (n·π)² · √(EI / (ρA·L⁴)) / (2π) = n²/2 · √(EI / (μL⁴)) where μ = ρA. The mode ratios are square integers: f₂ = 4·f₁, f₃ = 9·f₁, f₄ = 16·f₁. A piano string's harmonics are close to (but slightly above) these ratios — the small discrepancy is called inharmonicity and is responsible for the characteristic "stretched" tuning of a piano.

Damping ratio ζ — how peaky is the resonance?

Damping ratio ζ (zeta) controls how sharply the system responds at resonance. ζ = 0: no damping, the magnification at resonance is infinite (the system would amplify forever — Tacoma Narrows territory). ζ < 1: underdamped, oscillates with decreasing amplitude after a transient. ζ = 1: critically damped, returns to rest as fast as possible without overshooting. ζ > 1: overdamped, sluggish return without oscillation. Practical values: a tuning fork ζ ≈ 0.0001 (Q ≈ 5000), a car suspension ζ ≈ 0.3 (Q ≈ 1.7), a damped door closer ζ ≈ 1. Engineers also express damping as the loss factor η = 2ζ (common in structural dynamics) or as logarithmic decrement δ = πη (measured from free-decay ring-down tests). To measure how an actual component responds across a swept frequency range and identify its real resonance peaks experimentally, a vibration frequency analyzer run with a microphone placed near the vibrating part can reveal dominant peaks that match these calculated values.

Frequently Asked Questions

What's the difference between f₀ and f_d?
f₀ is the undamped natural frequency — what the system would oscillate at if all damping were removed. f_d is the actual damped frequency, slightly lower: f_d = f₀·√(1−ζ²). For typical damping (ζ < 0.1), the difference is under 0.5% — usually negligible. For heavily damped systems (ζ approaching 1), f_d drops noticeably below f₀ and the oscillation decays so quickly that "frequency" becomes a fuzzy concept.
What is Q-factor and how does it relate to ζ?
Q (quality factor) is the inverse of double the damping ratio: Q = 1/(2ζ). It also equals the peak magnification at resonance for lightly damped systems. A high-Q system (Q > 100) has a sharp narrow resonance peak; a low-Q system (Q < 5) has a broad shallow peak. Quartz crystal oscillators have Q ≈ 10,000–100,000 — extraordinarily sharp resonance. Car suspensions deliberately have Q ≈ 1.5 to avoid bouncy ride.
Why don't cantilever beam modes follow integer ratios?
The boundary conditions (one fixed, one free) require solutions where cos(βL)·cosh(βL) = −1. This transcendental equation has roots at βL = 1.875, 4.694, 7.855, … — not at integer multiples. Frequency scales as (βL)², so f₂/f₁ ≈ 6.27, f₃/f₁ ≈ 17.55. That's why a tuning fork's overtones aren't harmonic — fork prongs are cantilevers, so the second mode is roughly 6× the fundamental, not 2× like a string.
Why does increasing damping reduce the resonance peak?
Damping dissipates energy each cycle as heat (or radiation). At resonance, the driving force pumps energy in at exactly the rate the system can absorb it — without damping, energy accumulates indefinitely. Damping creates a balance: input power equals dissipation power at a finite amplitude. Doubling ζ roughly halves the peak amplitude. This is why shock absorbers (high damping) prevent your car from bouncing forever at the spring resonance frequency.
What is the "frequency response curve" showing?
It plots M(r) = 1/√((1−r²)² + (2ζr)²) against the frequency ratio r = ω/ω₀. M is the steady-state amplitude ratio — how much the system amplifies an input vibration at frequency ω relative to the same force applied statically (r=0). At r=1 (resonance) and low ζ, the peak rises sharply. At very high frequencies (r → ∞), M → 0 — the system can't keep up with fast driving. The dashed line at M=1 marks "unity response" — input passes through unchanged.
Are these formulas accurate for real beams?
They're the Euler-Bernoulli beam theory predictions, accurate when the beam is slender (length much larger than cross-section dimensions, say L/h > 10). For stubby beams, shear deformation and rotary inertia become important — use Timoshenko beam theory instead. End conditions also need to be ideal: a "fixed" end must truly clamp rigidly, a "pinned" end must rotate freely. Real bolted/welded supports are partially compliant, lowering the actual frequencies by a few percent.
How do engineers avoid resonance in a mechanical design?
The main strategies are detuning and damping. Detuning means shifting the natural frequency away from any expected excitation frequency — typically to at least 20% separation (the "frequency ratio" r should stay below 0.8 or above 1.2 to keep magnification M under about 3). You achieve this by changing mass (adding or removing weight), changing stiffness (thicker beam, stiffer spring, different material), or changing geometry. If detuning is impractical, damping is increased by adding viscoelastic layers, tuned mass dampers, or friction joints. Isolation mounts are a third option: they place the resonance far below the operating speed so the machine runs in the high-frequency attenuation zone where M < 1.
Can I use this calculator with Imperial units (inches, pounds)?
The beam inputs use SI (mm for cross-section, cm for length, kg/m³ and GPa for the built-in material presets). For an all-Imperial workflow, convert first: 1 in = 25.4 mm, 1 ft = 30.48 cm. The spring-mass tab accepts N/m and kg, so convert: 1 lbf/in = 175.1 N/m, 1 lbm = 0.4536 kg. The resulting natural frequency in Hz is unit-independent once the SI inputs are correct. For a quick lbf/in to N/m converter, note the factor is exactly 175.127 N/m per lbf/in.
How does this relate to modal analysis and FEA natural frequencies?
This tool computes analytical closed-form natural frequencies for idealised geometry — the same results a finite-element analysis (FEA) would produce for a perfectly uniform, isotropic beam with ideal boundary conditions and zero prestress. In practice, FEA modal analysis captures complex 3-D mode shapes, multiple simultaneous modes, geometric discontinuities, and joint compliance that the beam formulas cannot. Use this calculator to sanity-check an FEA result for the fundamental mode, to estimate natural frequency before building a model, or to explore the effect of changing mass or stiffness without running a full solver. Agreement within 5–10% of FEA for the first mode of a slender beam confirms your mesh and boundary conditions are plausible.