Resonance Curve Plot Generator

Plot the amplitude-vs-frequency resonance curve of an idealised linear second-order resonator from its centre frequency f₀ and quality factor Q (with the damping ratio ζ = 1/2Q kept in step). Read off the peak amplitude and peak frequency, the −3 dB half-power bandwidth BW = f₀/Q and the two half-power frequencies, then overlay several curves to compare different Q values on one log or linear plot.

ℹ This is the universal second-order resonator — the same model that describes a series RLC circuit, a driven spring-mass-damper, or a tuned acoustic cavity. The plotted magnitude and every number (peak, bandwidth, half-power points) are exact for the model and the values you enter; BW = f₀/Q is exact for this resonator. A real device adds component tolerances, parasitics and nonlinearity, so treat the curve as a design reference and verify on the bench. Everything runs in your browser — nothing is uploaded or recorded.

Resonance parameters

The resonant / natural frequency of the system.
Higher Q = sharper, taller resonance and a narrower bandwidth. The slider covers 0.5–100; type a value for anything outside that.
ζ = 1/(2Q). Editing ζ updates Q and vice-versa. ζ < 0.707 is needed for a resonant peak.
Displacement: A(f) = 1 / √((1−(f/f₀)²)² + ((f/f₀)/Q)²). Normalized peaks exactly at f₀.
Vertical axis

Amplitude vs frequency

The current curve is drawn in green; the yellow line marks f₀ and the orange dashed guides mark the two half-power frequencies, whose spacing is the bandwidth BW = f₀/Q.

How to Use

  1. Enter the centre frequency f₀ — the resonant (natural) frequency of your system in hertz.
  2. Set the quality factor Q with the slider or by typing an exact value. The damping ratio ζ = 1/(2Q) field stays linked, so editing either one updates the other.
  3. Read the results panel: peak amplitude, the exact peak frequency, the −3 dB bandwidth BW = f₀/Q, and the two half-power frequencies f₁ and f₂.
  4. Choose the axes — log or linear frequency, and a decibel or linear-gain vertical axis — to view the curve the way your field prefers.
  5. Click “Add this curve to overlay” to freeze the current f₀/Q pair and compare several resonances on one plot. The legend lists each frozen curve; “Clear overlay” removes them.

Understanding Your Results

Peak amplitude and peak frequency. For the displacement response the magnitude does not peak exactly at f₀. It peaks at the damped resonance fpeak = f₀·√(1 − 1/(2Q²)), and only when Q > 1/√2 ≈ 0.707; the peak value there is Apeak = Q / √(1 − 1/(4Q²)), which for high Q is very close to Q itself. Below Q = 0.707 the displacement response has no peak above its low-frequency (DC) value — it simply rolls off. (Critical damping is Q = 0.5 / ζ = 1; below that it is overdamped, but the peak already disappears at Q = 0.707.)

Bandwidth and the half-power points. The −3 dB (half-power) bandwidth is BW = f₀ / Q. The two half-power frequencies straddle f₀ and, for the band-pass / normalized response, are f1,2 = f₀·(√(1 + 1/(4Q²)) ∓ 1/(2Q)); their difference is exactly BW and their geometric mean is exactly f₀. In the normalized-response mode a dashed cyan line marks the −3 dB half-power level. In the default displacement mode the orange dots and dashed guides still mark f₁ and f₂, but the displacement curve crosses them at slightly different levels, so no single −3 dB line is drawn.

Q and ζ are two views of the same thing. A high Q means low damping: a tall, narrow peak that rings for a long time. A low Q means heavy damping: a short, broad hump. The link is ζ = 1/(2Q), so Q = 10 is ζ = 0.05, and the “maximally flat” Butterworth case Q = 0.707 is ζ = 0.707 — the boundary between a peaked and a peak-free response.

How It Works

A linear second-order resonator is the universal model shared by a series RLC circuit, a mass on a spring with a viscous damper, and a resonant acoustic cavity. Driven by a sinusoid of frequency f, its steady-state amplitude follows the resonance / amplitude response

A(f) = 1 / √( (1 − (f/f₀)²)² + ( (f/f₀) / Q )² )

where f₀ is the undamped natural frequency and Q is the quality factor. This is exactly the magnitude of the normalized second-order transfer function H(s) = ω₀² / (s² + (ω₀/Q)s + ω₀²) evaluated on the imaginary axis s = jω, with ω₀ = 2πf₀. The same denominator written with the damping ratio uses ζ = 1/(2Q), so the “(f/f₀)/Q” term is “2ζ(f/f₀)” — identical algebra, two notations. (The driven-resonance amplitude A(f) here is the steady-state response to a sinusoidal drive; it is the same resonator the spring-mass resonance calculator uses for its transmissibility, just expressed as the amplitude magnitude rather than the force-transmissibility ratio.)

Three quantities are then exact for this model. The peak sits at fpeak = f₀·√(1 − 1/(2Q²)) with value Q / √(1 − 1/(4Q²)) whenever Q > 0.707; otherwise there is no peak. The half-power bandwidth is BW = f₀/Q — the width between the two points where the power has fallen to half (amplitude to 1/√2, i.e. −3.01 dB). The half-power frequencies are f1,2 = f₀·(√(1 + 1/(4Q²)) ∓ 1/(2Q)), which differ by exactly BW and whose geometric mean is exactly f₀. For high Q (Q > 10) these reduce to the familiar approximations f1,2 ≈ f₀ ∓ BW/2.

The plot samples A(f) at a fixed, bounded number of points across the chosen log or linear frequency span, so a large or small entry can never make the page do unbounded work. All readouts are computed in double precision and written into the page as plain text. Nothing about your inputs leaves the browser.

Frequently Asked Questions

What is the relationship between Q and the damping ratio ζ?
They are reciprocally linked: ζ = 1/(2Q), or equivalently Q = 1/(2ζ). A high Q means low damping — a tall, narrow, long-ringing resonance — while a low Q means heavy damping and a broad, short hump. Q = 0.5 is critical damping (ζ = 1) and Q = 0.707 (ζ = 0.707) is the maximally-flat boundary, the highest Q that still produces no resonant peak in the displacement response.
Why is the bandwidth BW = f₀/Q?
For the second-order resonator the two frequencies where the power drops to half (amplitude to 1/√2, i.e. −3.01 dB) are spaced by exactly f₀/Q. This is a defining property of the model, not an approximation: solving the magnitude equation at the half-power level gives f₂ − f₁ = f₀/Q exactly, with the two roots straddling f₀ so their geometric mean equals f₀. The high-Q rule that the points sit at f₀ ± BW/2 is the approximation; the exact, symmetric-in-log answer is what this tool plots.
Does the curve really peak at f₀?
The normalized band-pass response peaks exactly at f₀. The displacement (or voltage-across-capacitor) amplitude peaks slightly lower, at fpeak = f₀·√(1 − 1/(2Q²)), and only when Q > 1/√2 ≈ 0.707. For high Q the difference is tiny — at Q = 10 the peak is within about 0.25% of f₀ — which is why people often say “it peaks at f₀.” This tool shows both: choose the response type in the dropdown.
How tall is the peak?
For the displacement response the peak amplitude is Q / √(1 − 1/(4Q²)), which for Q above about 5 is within a couple of percent of Q itself. So a Q of 100 gives roughly a hundred-fold amplification at resonance. This is why high-Q systems are powerful filters but also why they are easy to over-drive: small forcing near f₀ produces a large response.
Is this the same resonator as the spring-mass calculator?
Yes — it is the same idealised linear second-order system, the universal mechanical/electrical/acoustic analog. The spring-mass calculator reports the force transmissibility (the fraction of force passing through a mount) using ζ = 1/(2Q); this tool plots the driven amplitude response A(f) and the Q/bandwidth picture. The two are different but consistent views of one model, and they use the same ζ-Q convention.
How accurate is this for a real circuit or structure?
The formulas are exact for an ideal linear second-order resonator, and the numbers are exact for the f₀ and Q you type. Real systems differ: component tolerances and parasitics shift f₀ and Q, nonlinearity skews the peak at large amplitude, and additional resonances appear outside the simple model. Use the plotted curve as a design reference, then measure the finished circuit or structure to confirm.
Does anything leave my device?
No. This is a pure client-side calculator and plotter: there is no microphone, no file upload, no network request and no analytics on your inputs. Everything — the math and the canvas drawing — happens locally in your browser.