Standing Waves Calculator (Strings and Pipes)

Standing waves set the notes of guitars, violins, organ pipes and flutes. This calculator gives the frequencies and wavelengths of the harmonics of a string fixed at both ends, a pipe open at both ends or a pipe closed at one end. For strings it works out the wave speed from the tension and mass per unit length.

Inputs

Advanced options (1)

Results

Frequency of mode n
329.6
Fundamental frequency
329.6
Harmonic number of mode n
1
Wavelength of mode n
1.296
Wave speed
427.2
Effective acoustic length
0.648

    RefPHY-WAV-002
    MethodString and open pipe f = nv/2L; closed pipe f = (2n − 1)v/4L
    UnitsSI
    Date2026-11-24

    Working

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

    1. Wave speed on the stringv = √(T/μ)v = √(73 / 0.0004) = 427.2 m/s
    2. Frequency of mode nf = nv/(2L)f = 329.6 Hz, harmonic 1
    3. Wavelengthλ = v/fλ = 1.296 m

    First six modes

    ModeHarmonicFrequency (Hz)Wavelength (m)
    11329.631.296
    22659.260.648
    33988.890.432
    441,318.50.324
    551,648.10.2592
    661,977.80.216

    Which harmonics exist

    A string fixed at both ends and a pipe open at both ends fit whole numbers of half wavelengths, so every harmonic f = nv/(2L) is present. A pipe closed at one end has a node at the closed end and an antinode at the open end, so it fits odd numbers of quarter wavelengths and only odd harmonics 1, 3, 5… appear, which gives a clarinet its hollow sound. Real pipes behave as if slightly longer, by about 0.61 of the radius at each open end.

    Assumptions and limits

    • Perfectly flexible, uniform string with rigid ends (no stiffness or inharmonicity).
    • Narrow pipe: diameter much smaller than the wavelength.
    • Speed of sound entered for the air temperature in the pipe.

    References

    • Halliday, D., Resnick, R. and Walker, J., Fundamentals of Physics, 12th ed., Wiley, 2021, chapters on waves and sound.
    • Levine, H. and Schwinger, J. (1948), On the radiation of sound from an unflanged circular pipe, Physical Review 73, 383–406.

    Questions

    What tension tunes a 0.648 m guitar string of 0.4 g/m to E4?
    At 73 N the wave speed is 427.2 m/s and the fundamental is 329.6 Hz, which is E4 (329.63 Hz).
    What note does a 0.5 m pipe closed at one end play?
    With sound at 343 m/s its fundamental is 171.5 Hz, and the next modes are 514.5 Hz and 857.5 Hz (third and fifth harmonics).

    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.