Works on this device
Standing Wave Calculator
A standing wave stays in one place: some points never move (nodes) and some move the most (antinodes). Find the harmonics of a string or an air column, the length for a note, or the displacement from the standing wave equation.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose the system: a string fixed at both ends, a pipe open at both ends, or a pipe closed at one end.
- Enter the length. For a string, enter the tension and the mass per length, or the wave speed. For a pipe, enter the air temperature or the speed of sound.
- Choose how many harmonics to list, then Calculate. The table shows each frequency, wavelength, node and antinode.
- To size a string or a pipe for a note, choose Length for a wanted frequency.
The formulas
- String fixed at both ends: f_n = n × v ÷ (2L), λ_n = 2L ÷ n, for n = 1, 2, 3 … The wave speed is v = √(T ÷ μ).
- Pipe open at both ends: f_n = n × v ÷ (2L), λ_n = 2L ÷ n, for n = 1, 2, 3 …
- Pipe closed at one end: f_n = n × v ÷ (4L), λ_n = 4L ÷ n, for odd n = 1, 3, 5 … only.
- Standing wave equation: y(x, t) = 2A sin(kx) cos(ωt), with k = 2π ÷ λ and ω = 2π × f. Nodes are λ/2 apart.
- Speed of sound in dry air: v = 331.3 m/s × √(T ÷ 273.15 K).
Worked examples
A string. A string 0.65 m long under a tension of 72 N with a mass of 0.4 g per metre: v = √(72 ÷ 0.0004) = 424.26 m/s, so f₁ = 424.26 ÷ (2 × 0.65) = 326.36 Hz. The second harmonic is 652.71 Hz, with a node in the middle.
An open pipe. A pipe 0.65 m long open at both ends, in air at 20 °C (343.21 m/s): f₁ = 343.21 ÷ 1.3 = 264.01 Hz.
A closed pipe. The same pipe closed at one end: f₁ = 343.21 ÷ 2.6 = 132.01 Hz, and the next harmonic is the third, 396.02 Hz.
Length for a note. A pipe closed at one end that sounds 440 Hz as its fundamental at 20 °C is 343.21 ÷ (4 × 440) = 0.195 m long.
Equation. With A = 0.5 cm, λ = 1.3 m and x = 0.2 m at t = 0: k = 4.8332 rad/m and y = 2 × 0.5 × sin(0.96664) = 0.823 cm.
Limits you should know
- Strings are ideal and flexible. Real strings are a little stiff, so their higher harmonics are a little sharp.
- Pipes do not include the end correction: a real pipe sounds a little lower, as if it were a little longer.
- The speed of sound in air comes from a formula for dry air. Humid air is a little faster.
- For tension, length and mass per length of strings in depth, see the String Frequency Calculator. For the modes of a room, see the Room Resonance Calculator.