Damped Harmonic Oscillator Calculator

Add a damper to a mass-spring system and the oscillations die away. This calculator finds the damping ratio and tells you whether the system is underdamped, critically damped or overdamped, then gives the damped frequency, logarithmic decrement, Q factor, decay time and a table of displacement against time.

Inputs

Advanced options (1)

Results

Damping ratio ζ
0.1
Type of motion
Underdamped: oscillates with decaying amplitude
Undamped natural frequency
1.592
Damped natural frequency
1.584
Damped period
0.6315
Critical damping coefficient
20
Logarithmic decrement δ
0.6315
Quality factor Q
5
Amplitude decay time constant 1/(ζωn)
1
Amplitude remaining after n cycles
4.254
%

    RefPHY-MEC-011
    Methodm·x″ + c·x′ + k·x = 0, ζ = c/(2√(km))
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Natural frequency and critical dampingωn = √(k/m), c_c = 2√(km)ωn = 10 rad/s (1.592 Hz), c_c = 20 N·s/m
    2. Damping ratioζ = c/c_cζ = 2 / 20 = 0.1
    3. Damped frequencyωd = ωn√(1 − ζ²)ωd = 10 × √(1 − 0.1²) = 9.95 rad/s
    4. Logarithmic decrement and Qδ = 2πζ/√(1 − ζ²), Q = 1/(2ζ)δ = 0.6315, Q = 5
    5. Displacementx = e^(−ζωn t)[x₀cos ωd t + ((v₀ + ζωn x₀)/ωd) sin ωd t]see the table below

    Displacement over time

    t (s)x (mm)
    0100
    0.118442.24
    0.2368-50.19
    0.3552-67.46
    0.4736-6.259
    0.59248.98
    0.710438.24
    0.8288-12.65
    0.9472-38.78
    1.066-16.38
    1.18419.47
    1.30226.16
    1.4212.427
    1.539-19
    1.658-14.83
    1.7764.907
    1.89415.04

    Reading the damping ratio

    The damping ratio ζ compares the damping to the critical value 2√(km). Below 1 the system rings at ωd = ωn√(1 − ζ²) while the amplitude shrinks by a factor e^(−δ) each cycle. At ζ = 1 it returns to rest fastest without overshoot, which is the target for many instruments. Above 1 it creeps back more slowly. Measuring two successive peaks gives δ = ln(x₁/x₂), from which ζ = δ/√(4π² + δ²).

    Assumptions and limits

    • Linear spring and viscous (velocity-proportional) damping.
    • Free vibration: no external forcing after release.
    • Single degree of freedom.

    References

    • Rao, S. S., Mechanical Vibrations, 6th ed., Pearson, 2017, chapter on free vibration with viscous damping.
    • Thornton, S. T. and Marion, J. B., Classical Dynamics of Particles and Systems, 5th ed., Brooks/Cole, 2004, chapter on oscillations.

    Questions

    How quickly does a 1 kg, 100 N/m oscillator with c = 2 N·s/m die away?
    Its damping ratio is 0.1, so each cycle the amplitude falls by a factor of 1.88 (δ = 0.631). After 5 cycles 4.3 % of the original amplitude is left, and Q = 5.
    What damping makes it critically damped?
    c = 2√(km) = 20 N·s/m for this system. Choose ζ = 1 to see the critically damped response.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.