🎸

Standing Wave Calculator

This standing wave calculator computes resonance frequencies, wavelengths, nodes, and antinodes for open tubes, closed tubes, and vibrating strings. Visualize the standing wave pattern for any harmonic.

Parameters

m
0.01 m10 m
m/s
n
1st10th
Active Formula
fₙ = n × v / (2L)
Open tube: all harmonics present

Results

Selected Harmonic Frequency
171.5
Hz
Fundamental f₁
171.5 Hz
Wavelength λ
2.00 m
Nodes
2
Antinodes
1

Standing Wave Pattern

N = Node (zero displacement) A = Antinode (maximum displacement)

First 8 Harmonics

Harmonic (n) Frequency (Hz) Wavelength (m) Nodes Antinodes Name

Understanding Standing Waves

A standing wave forms when two waves of the same frequency travel in opposite directions and interfere — a phenomenon called resonance. Unlike a traveling wave, the pattern appears stationary: certain points (nodes) never move while others (antinodes) oscillate with maximum amplitude. The ratio of antinodes to nodes characterises each mode shape, also called a normal mode or eigenmode in physics.

In a tube or on a string, standing waves only form at discrete frequencies where the boundary conditions are satisfied. For an open tube, both ends must be antinodes (pressure nodes — regions of minimum pressure variation). For a closed-end tube, the open end is a pressure antinode and the closed end a pressure node — this eliminates even harmonics, producing a distinctive hollow timbre roughly an octave below an open pipe of the same length. Tube resonance calculations differ between these two cases because the mode series and fundamental differ by a factor of two. Strings fixed at both ends require displacement nodes at both endpoints. Use this resonant frequency calculator alongside the wavelength calculator to quickly convert between frequency, wave speed, and wavelength when you already know two of the three values.

Musical Instrument Applications

  • Organ Pipes — Open pipes support all harmonics (f, 2f, 3f…), giving a bright tone. Stopped (closed) pipes support only odd harmonics (f, 3f, 5f…), producing a rounder, hollow sound one octave lower for the same pipe length.
  • Guitar & String Instruments — A plucked string vibrates at its fundamental plus harmonics determined by the string length, tension, and linear density. The fret positions correspond to exact fractional string lengths (1/2 for the octave, 2/3 for the fifth, etc.).
  • Wind Instruments — Clarinets behave as closed-end tubes (odd harmonics only), while flutes and trumpets behave as open tubes. This accounts for their different timbres despite similar playing ranges.
  • Room Acoustics — Room modes (axial, tangential, and oblique) are standing waves between parallel surfaces. Frequencies where a room dimension equals an integer multiple of λ/2 are reinforced, causing peaks and nulls in bass response called room resonances. Below the Schroeder frequency (typically 200–300 Hz in a home studio), these isolated modal peaks must be managed with bass traps rather than EQ. To hear the resonant frequencies involved, you can use our online tone generator to sweep slowly through the bass range while walking the room.

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


Frequently Asked Questions

What is the difference between open and closed tube resonances?
An open tube (open at both ends) supports all integer harmonics: f₁, 2f₁, 3f₁, etc. The fundamental frequency is f₁ = v/(2L). A tube closed at one end only supports odd harmonics: f₁, 3f₁, 5f₁, etc. Its fundamental is f₁ = v/(4L) — half the frequency of an equal-length open tube, so it sounds an octave lower. Closed tubes are used in stopped organ pipes and clarinets.
How do I find the fundamental frequency of a vibrating string?
For a string fixed at both ends: f₁ = v/(2L), where v = √(T/μ) with T = string tension (N) and μ = linear mass density (kg/m). This calculator assumes you know the wave speed directly. For a guitar string, higher tension or lower mass density raises the pitch. Doubling the tension raises the pitch by a factor of √2 (about 6 semitones).
What are nodes and antinodes in a standing wave?
Nodes are points of zero displacement where the two interfering waves cancel completely — they never move. Antinodes are points of maximum displacement where the waves reinforce — they oscillate between +A and −A. In a pressure wave (tube), nodes are pressure antinodes and vice versa. The number of antinodes equals the harmonic number n for open tubes and strings, but equals (2n−1)/2 for closed tubes (fractional antinodes at walls).
Why does the calculator ask for wave speed — how do I know the speed of sound in my tube?
The speed of sound in dry air at 20 °C is approximately 343 m/s. It increases by about 0.6 m/s for every 1 °C rise in temperature, so a quick estimate is v ≈ 331 + 0.6 × T (°C) m/s. In a narrow tube, viscous losses at the walls also slow the wave slightly (the end-correction effect). For water the speed is about 1480 m/s; for steel, roughly 5100 m/s — so the calculator handles resonators in any medium as long as you supply the correct propagation speed for your material and conditions.
What is end correction and does this calculator account for it?
End correction accounts for the fact that sound at an open tube end doesn't reflect exactly at the physical rim — the effective acoustic length is slightly longer than the physical length, typically by about 0.6 × the tube radius (Rayleigh's approximation). This calculator uses the ideal formula with no end correction. For organ pipe tuning or careful acoustic measurements, add 0.6r to each open end of your tube's physical length before entering it here. The correction is small for long tubes but can exceed 10% for very short, wide tubes such as the Helmholtz resonators used in bass-reflex speaker ports.
How do room standing waves (modes) cause bass buildup in recording studios?
When a room's length, width, or height equals a half-wavelength (or any integer multiple thereof) at a given frequency, that frequency sets up a standing wave between the parallel walls — a room mode. At the antinodes, bass energy accumulates and the frequency is perceived as louder; at the nodes, the same frequency is nearly inaudible. This is why walking a few steps in a room can dramatically change how bass-heavy a track sounds. Bass traps placed at pressure antinodes (corners, where multiple modes coincide) absorb the energy and flatten the modal response.