Back to Physics calculators

Waves · Harmonics · Resonance

Standing waves calculator (strings & tubes)

Compute resonant frequencies and wavelengths for vibrating strings and air columns.

Everything runs in your browser; no data leaves this calculator.

Other languages 日本語 | English | 简体中文 | 繁體中文 | Español | Português (Brasil) | Bahasa Indonesia | Français | हिन्दी | العربية

How to use (3 steps)

  1. Pick the system: vibrating string or air column (open–open / open–closed).
  2. Enter length and either tension & density or sound speed (or temperature for tubes). Leave the example values if you just want to see a demo.
  3. Tap Compute. The mode table, fundamental, and step-by-step formulas update instantly. Copy URL shares the exact setup.

Key formulas: string fₙ = n·v/(2L); open–open tube fₙ = n·v/(2L); open–closed tube fₙ = (2n−1)·v/(4L).

Inputs

String inputs

m
N
kg/m
m/s

Results

Fundamental and mode table update when you press Compute or change the mode settings. For open–closed tubes, only odd harmonics (1st, 3rd, 5th, …) appear.

String sample
68.8 Hz fundamental
Inputs
L = 0.65 m, T = 80 N, μ = 0.01 kg/m
Mode Frequency Wavelength
n = 1 68.8 Hz 1.30 m

How it's calculated

  1. For the default string sample, v = sqrt(T / μ) = sqrt(80 / 0.01) ≈ 89.4 m/s.
  2. The fixed-fixed fundamental is f1 = v / (2L) ≈ 89.4 / 1.30 = 68.8 Hz.
  3. Change the tension, density, length, or tube mode to update the table.

FAQ

What assumptions does this standing wave calculator use?

It assumes ideal strings and tubes with no losses or end correction. Use it for quick estimates and intuition.

Why might real instruments sound different from these results?

Real instruments have stiffness, damping, air viscosity, and end correction that shift resonance. Expect differences from ideal formulas.

How does temperature affect tube resonance?

Sound speed in air is approximated by v ≈ 331 + 0.6·T (°C). Warmer air increases sound speed and raises the resonant frequencies.

Related calculators

Comments

Feedback is welcome. Comments load only after you click.