Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Engineering / Oscillatory Kinetic Vibration Engine

    Forced Vibration Calculator — Resonance & Damping

    Calculate the steady-state response of a damped spring-mass system to harmonic forcing: amplitude, phase lag, natural frequency, damping ratio and resonance.

    ToolCalculatorExecutionIn browserCategoryEngineering
    ZorvLabs Vibration LabStandard SDOF equations

    Oscillatory vibration calculator

    Natural Frequency
    10.0000 rad/s
    ωn = √(k/m)
    Damping Ratio
    0.0700
    ζ = c / (2mωn)
    Regime
    Underdamped
    ωd = 9.9755 rad/s
    Dynamic Magnification
    3.8606
    M(r) = X / (F0/k)
    Time Response

    Displacement, velocity, acceleration

    0.02.04.06.08.010.0-80.000-40.0000.00040.00080.000
    • Envelope
    • x(t)
    • v(t)
    • a(t)
    Frequency Response

    Gain and phase vs frequency ratio

    0.000.701.402.102.803.50r = ω/ωn0.002.004.006.008.0004590135180
    • Magnitude ratio
    • Phase (deg)
    Phase Portrait

    x versus v orbit

    -1.000-0.5000.0000.5001.000x-10.000-5.0000.0005.00010.000v
    Energy Balance

    Mechanical energy and damping dissipation

    0.02.04.06.08.010.00.00070.000140.000210.000280.000
    • Mechanical energy
    • Damping dissipation
    3D Mechanical Model

    Isometric spring-mass-damper

    t = 1.800 smx = -0.75570 mForce input: -19.8423 NCurrent statex = -0.75570 mv = -4.55300 m/sa = 62.10189 m/s²E = 38.91901 J
    Free/forced state
    Steady state + transient
    Analytic solution at current cursor time
    Peak factor
    7.1600
    Max gain across sweep
    3D Response Surface

    Gain over frequency ratio and damping ratio

    M(r, ζ) = 1 / √((1 - r²)² + (2ζr)²)r = ω/ωnζMoperating point
    Surface mesh
    28×34
    Gain mesh polygons
    Swept ζ slices
    28
    Damping rows
    Swept r slices
    34
    Frequency columns
    ζ slices
    r slices
    Benchmark

    Numerical checks

    Analytic forcing gain
    3.88242
    Exact frequency-domain closed form
    Peak displacement
    0.91473 m
    From sampled exact response
    Peak velocity
    8.28892 m/s
    x˙(t)
    Peak energy
    41.86098 J
    ½mv² + ½kx²
    Equation summary
    Free damped oscillator: m x¨ + c x˙ + k x = 0
    Driven oscillator: m x¨ + c x˙ + k x = F0 cos(ωt)
    Steady-state amplitude: X = F0 / √((k − mω²)² + (cω)²)
    Phase lag: φ = atan2(cω, k − mω²)
    Underdamped decay: x(t) = e−γt[A cos(ωd t) + B sin(ωd t)]
    ●Oscillatory vibration calculator//ωn 10.0000 rad/s//ζ 0.0700//regime underdamped//r 0.8796//exact analytic solver
    engineering methodology

    A clear path from inputs to results.

    See how a single spring-mass-damper system responds when you push it with a steady oscillating force: how big the steady vibration gets, how far it lags the force, and how sharply it amplifies near resonance. It is the textbook model behind machine mounts, vibration isolators, and any structure driven at a fixed frequency.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Enter the system properties: mass m, spring stiffness k, and viscous damping coefficient c.
    2. Enter the harmonic forcing: the force amplitude F₀ and the drive frequency (in Hz), which the tool converts to the angular drive frequency ω = 2πf.
    3. Optionally set the initial displacement x₀ and initial velocity v₀ to see the transient that decays before the steady state settles.
    4. Read the natural frequency ωₙ = √(k/m) and damping ratio ζ = c/(2mωₙ), which fix the system’s character.
    5. Read the steady-state amplitude X and phase lag φ, and compare the drive frequency to ωₙ through the frequency ratio r = ω/ωₙ.
    6. Check the dynamic magnification factor M and quality factor Q to judge how close you are to resonance and how strongly the force is amplified.

    The formula

    X=F0(k−mω2)2+(cω)2,φ=atan2⁡(cω,  k−mω2),M=1(1−r2)2+(2ζr)2,  r=ωωnX = \frac{F_0}{\sqrt{(k - m\omega^2)^2 + (c\omega)^2}}, \quad \varphi = \operatorname{atan2}(c\omega,\; k - m\omega^2), \quad M = \frac{1}{\sqrt{(1-r^2)^2 + (2\zeta r)^2}}, \; r = \frac{\omega}{\omega_n}

    Reference: Steady-state response of a damped SDOF oscillator to harmonic forcing; Rao, Mechanical Vibrations; MIT OCW 2.003/18.03 forced-vibration notes.

    Worked example

    Machine on a spring mount driven near resonance

    Inputs
    • Mass m = 1 kg; stiffness k = 100 N/m; damping c = 1.4 N·s/m; force amplitude F₀ = 20 N; drive frequency 1.4 Hz.
    Calculation path
    1. 1

      The natural frequency is ωₙ = √(k/m) = √100 = 10 rad/s and the damping ratio is ζ = c/(2mωₙ) = 1.4/(2·1·10) = 0.07. The drive frequency 1.4 Hz is ω = 2π×1.4 = 8.7965 rad/s, so the frequency ratio is r = ω/ωₙ = 0.8797 — just below resonance. The dynamic stiffness terms are k − mω² = 100 − 77.38 = 22.62 N/m and cω = 1.4×8.7965 = 12.32 N·s⁻¹. The steady amplitude is X = 20 / √(22.62² + 12.32²) = 20 / 25.76 = 0.7765 m, the phase lag is φ = atan2(12.32, 22.62) = 0.499 rad = 28.56°, and the magnification factor is M = 1/√((1−r²)² + (2ζr)²) = 3.882.

    Result

    Steady-state amplitude X ≈ 0.776 m, lagging the force by φ ≈ 28.6°; the response is magnified about 3.88× over the static deflection F₀/k = 0.20 m. The quality factor is Q = 1/(2ζ) ≈ 7.14, and the peak magnification at resonance would reach about 7.16.

    Interpreting the result

    The amplitude peaks when the drive frequency approaches the natural frequency; with light damping (ζ = 0.07 here) that peak is tall and narrow, so a small change in drive frequency sharply changes the response. The phase lag passes through 90° exactly at resonance. The quality factor Q ≈ 1/(2ζ) summarises the sharpness of the peak: Q ≈ 7.14 means the system amplifies forces near ωₙ by roughly seven times. To cut vibration, move the drive frequency away from ωₙ or add damping to flatten the peak.

    Assumptions & limitations

    • The system is linear and has a single degree of freedom: one mass, one linear spring, and one viscous (velocity-proportional) damper.
    • The forcing is a pure sinusoid of constant amplitude and frequency; the reported amplitude and phase are the steady-state response after the transient has decayed.
    • Damping is subcritical (ζ < 1), so the free response oscillates while decaying; the steady-state formula itself holds for any positive damping.
    • Stiffness and damping are constant (no amplitude-dependent or frequency-dependent behaviour), and deflections are small enough for Hooke’s law to apply.
    • Gravity and any static preload only shift the equilibrium position; they do not affect the vibration amplitude about that equilibrium.

    Frequently asked questions

    What is resonance in this model?

    Resonance is when the drive frequency approaches the natural frequency ωₙ = √(k/m), making the frequency ratio r approach 1. The dynamic magnification factor M then reaches its maximum and the amplitude is largest. In the worked example r ≈ 0.88, just below resonance, which already magnifies the static deflection by about 3.88 times.

    What does the quality factor Q mean?

    Q = 1/(2ζ) measures how sharply the system amplifies at resonance and how slowly free vibrations decay. High Q (light damping) means a tall, narrow resonance peak and long ring-down; low Q (heavy damping) means a broad, flat response. Here ζ = 0.07 gives Q ≈ 7.14.

    What is the difference between ωₙ and the damped frequency?

    The undamped natural frequency is ωₙ = √(k/m); the damped free-vibration frequency is ω_d = ωₙ√(1−ζ²), slightly lower. For light damping the difference is tiny — at ζ = 0.07, ω_d is about 99.75% of ωₙ — which is why resonance is still essentially at ωₙ.

    Why does the response lag the force?

    A damped system cannot respond instantly, so the displacement reaches its peak slightly after the force does. The lag φ = atan2(cω, k − mω²) grows from near 0° well below resonance to 90° exactly at resonance and toward 180° well above it. The example lags by about 28.6°.

    How do I reduce the vibration amplitude?

    Three levers: shift the natural frequency away from the drive frequency by changing mass or stiffness, add damping to lower the magnification factor near resonance, or reduce the forcing amplitude F₀. Isolation is most effective when the drive frequency is well above √2·ωₙ, where the system transmits less than the applied force.

    Methodology last reviewed 2026-10-06. Results are informational and not financial or engineering advice — see our disclaimer.