Back

Resonance frequency

Change mass, spring, damping and driving frequency to explore amplitude and phase.

System Parameters
Mass m
kg
Spring stiffness k
N/m
Damping ratio ζ
Drive frequency f_d
Hz
Presets

Two peaks are a magnitude-sum illustration. Cards, phase and mass animation remain SDOF.

Resonance Stats
Results
1.59 Hz
Natural freq. fₙ
5.0
Q factor
5.05
Maximum amplitude ratio
0.32 Hz
Bandwidth Δf

The maximum amplitude ratio is the peak of the one-degree-of-freedom response normalized by the static displacement F₀/k. For ζ ≥ 1/√2 there is no resonant peak; the low-frequency limit is 1.00. Δf = fₙ/Q is a bandwidth approximation for light damping. Steeneken: Forced vibrations

Mass
About this diagram

The mass, spring and force illustrate a one-degree-of-freedom model. Displacement is automatically scaled to fit the view, not shown at physical length. Numerical response and resonance gain are unchanged.

Phase
Theory & Key Formulas
$$X = \frac{F_0/k}{\sqrt{(1-r^2)^2 + (2\zeta r)^2}}$$

$r = \omega/\omega_n$ (frequency ratio)
Q factor: $Q = 1/(2\zeta)$
Natural frequency: $\omega_n = \sqrt{k/m}$

How to use & worked examples

Inputs and controls

  1. Set mass m from 0.1 to 10 kg, stiffness k from 10 to 1000 N/m and damping ratio ζ from 0.01 to 1.5.
  2. Drive frequency f_d ranges from 0.1 to 10 Hz in 0.05 Hz steps. It changes the schematic mass animation. The frequency-response graph shows the full sweep, not a marker tracking the current forcing frequency.
  3. The maximum-amplitude card reports the peak of the single-degree-of-freedom response, not the amplitude at the current f_d. Read the phase curve separately.
  4. Use the checked-example preset for the values below. The existing damping presets and two-peak illustration remain available.

A checked example within the input ranges

The checked-example preset sets m=1 kg, k=1000 N/m, ζ=0.05 and f_d=5.00 Hz. The undamped natural frequency is fₙ=5.032921 Hz, Q=10, peak frequency fᵣ=5.020323 Hz and maximum amplitude ratio=10.012523. The cards show 5.03 Hz, 10.0, 10.01 and an approximate bandwidth of 0.503 Hz.

At the selected f_d=5.00 Hz the amplitude ratio is 9.980241 and phase lag is −82.5224°, slightly different from the peak. If a separate illustrative force amplitude F₀=1 N is assumed, F₀/k=1 mm and the dynamic displacement is about 9.98 mm. F₀ is not an input on this calculator; it is only an assumption for this conversion example.

Model & applicability

What is Resonance?

Explanation in dialogue
🙋
What exactly is resonance? I hear it can make bridges collapse, but the simulator just shows a wiggling mass and a graph.
🎓
Basically, it's when a system vibrates with maximum amplitude because you push it at just the right frequency. In this simulator, the "Drive frequency" slider controls how fast you push. When it matches the system's natural frequency—which depends on the Mass and Stiffness you set—the amplitude spikes. Try setting damping (ζ) very low and slide the drive frequency near the peak to see a huge response.
🙋
Wait, really? So the damping ratio (ζ) just controls how tall and pointy that spike is? What's the "Q factor" number that pops up?
🎓
Exactly! The damping ratio sets the damping in this linear model. The Q factor, or Quality factor, quantifies the "sharpness" of the resonance peak. It's calculated as $Q = 1/(2\zeta)$. A high Q (low ζ) means a very tall, narrow peak—the system "rings" for a long time. In practice, try moving the ζ slider from 0.01 to 0.5 and watch the peak get lower and wider. The bandwidth shown is the frequency range around resonance where the vibration is strong.
🙋
So if I'm designing something, I want to avoid resonance, right? But sometimes engineers seem to use it, like in musical instruments.
🎓
Great point! It's a double-edged sword. For a bridge or a turbine blade, you absolutely must ensure its undamped natural frequency (the angular frequency is $\omega_n = \sqrt{k/m}$; divide by 2π to obtain Hz) is far from any driving frequency, like wind vortices. But for a radio tuner or a guitar, you want a high-Q resonance to pick out or amplify a specific frequency. The phase lag curve in the simulator shows how the vibration timing shifts relative to the driving force, which is also crucial for control systems.

Physical Model & Key Equations

The core equation governing the steady-state amplitude X of a damped, driven harmonic oscillator is shown below. It tells you how much the mass moves for a given driving force.

$$X = \frac{F_0/k}{\sqrt{(1-r^2)^2 + (2\zeta r)^2}}$$

$X$: Vibration amplitude [m]
$F_0$: Amplitude of the driving force [N]
$k$: Spring stiffness [N/m]
$r$ : Frequency ratio $r = \omega / \omega_n$
$\zeta$: Damping ratio (dimensionless)
For ζ<1/√2 the exact displacement-response peak is fᵣ=fₙ√(1−2ζ²). At f_d=fₙ the amplitude ratio is Q and the phase is −90°, but this is generally not the peak frequency. For ζ≥1/√2 there is no displacement-response peak above the static limit.

These related equations define the system's inherent properties and the sharpness of its resonance.

$$\omega_n = \sqrt{\frac{k}{m}}\quad \quad Q = \frac{1}{2\zeta}$$

$\omega_n$: Natural angular frequency [rad/s]. Set by mass (m) and stiffness (k) in the simulator.
$Q$: Quality factor. A single number for resonance sharpness. High Q = low damping = narrow bandwidth.
For light damping, Δω≈ωₙ/Q in rad/s and Δf≈fₙ/Q in Hz. The displayed bandwidth is this approximation, not a numerical crossing measurement.

Real-World Applications

Structural Engineering & Earthquake Design: Mass, stiffness, damping and load spectra influence structural response. Values such as ζ=0.02 are illustrative comparisons, not certified properties of steel frames. A tuned mass damper adds coupled dynamics; earthquakes and wind feedback are not represented by this single sinusoidal-force model.

Automotive Suspension Tuning: Comparing ζ=0.2 and 0.3 illustrates the effect of damping, not a suspension-design recommendation. Ride comfort and handling also depend on road/base excitation, transmission paths and multiple degrees of freedom, which require an appropriate vehicle model.

Electronics & Filter Design: Some RLC response variables have a mathematical analogy with a spring–mass–damper system. High-Q and low-Q curves illustrate frequency selectivity and width; the appropriate circuit variable, losses and topology must be defined separately.

Musical Instruments & Acoustics: Instrument bodies, microphones and speakers have frequency-dependent modes. Comparing high and low Q can build intuition about selectivity, but this calculator does not model acoustic radiation, an instrument body or a complete loudspeaker.

Common Misconceptions and Points to Note

When you start using this simulator, there are a few points that are easy to misunderstand. First, you might think "the resonant frequency is determined solely by the spring constant", but in reality, it's based on the natural frequency $\omega_n = \sqrt{k/m}$, which is determined by the combination with mass. For example, if you double the stiffness of the spring but also double the mass simultaneously, the resonant frequency remains unchanged.

An ideal undamped free oscillator retains the motion set by its initial conditions. Continuous forcing exactly at its natural frequency instead produces growing amplitude and no finite steady-state solution. This UI starts at ζ=0.01. Damping in an actual structure depends on joints and boundary conditions as well as materials; use measurements and a suitable model rather than treating ζ as a universal material constant.

Also, make sure you firmly grasp the meaning of the graph's vertical axis, "Amplification Factor". This indicates how many times the static displacement ($F_0/k$) is multiplied . For instance, even if the amplification factor reads 10, the actual displacement can be minuscule if the external force $F_0$ is small. To assess the "danger" of resonance, you need to look at both this amplification factor and the magnitude of the actual applied force. Don't get overly excited or worried just by looking at the simulation result numbers.

Illustration and practical limits

The two-peak illustration, previously labelled 2-DOF, adds two positive amplitude magnitudes with reference frequencies fₙ and 1.73fₙ and weights 1 and 0.5. It is not a sum of complex modal responses or a solution of coupled two-degree-of-freedom equations, and it cannot show antiresonance. The cards, phase plot and mass animation still use the original single-degree-of-freedom model.

See Steeneken: Forced vibrations for complex stiffness, amplitude and phase. Do not identify the Tacoma Narrows Bridge failure with this fixed periodic-force model: WSDOT describes torsional flutter as the primary explanation. Wind–structure feedback is outside this calculator.

Frequently asked questions

What is natural frequency?

Here fₙ is the undamped natural frequency, √(k/m)/(2π). More mass lowers it and more stiffness raises it. Multiplying k and m by the same factor leaves fₙ unchanged. With damping, the displacement-response peak fᵣ is generally below fₙ.

What does damping ratio ζ mean?

ζ is damping relative to critical damping. Free vibration is oscillatory for 0<ζ<1, critically damped for ζ=1 and overdamped for ζ>1. An ideal undamped system driven continuously at its natural frequency can grow without bound, but this UI permits only ζ=0.01–1.5, not zero. Free decay and steady-state forced vibration are different questions.

What is the Q factor?

Q=1/(2ζ) is dimensionless. Half-power means a peak-amplitude ratio of 1/√2, about 70.7%, not half the amplitude. The displayed Δf≈fₙ/Q is a light-damping estimate, not a numerical search for two crossings. Q, maximum amplitude ratio and the response at the current forcing frequency are not identical quantities.

When does resonance cause problems in practice?

Periodic forces near a natural frequency can increase the response of rotating machines or their supports. This tool supports initial comparisons of mass, stiffness and damping, not certification of safety, fatigue life or a CAE result. Verify actual loads, constraints and multiple modes with an appropriate model and measurements.