Pipe Length Calculator – Length of Open & Closed Pipes for a Resonant Frequency
Use this free Pipe Length Calculator to find how long an organ pipe, flute or tube must be to resonate at a chosen frequency — for both open pipes (open at both ends) and closed pipes (closed at one end).
Formula
Open pipe L = v / (2f) • Closed pipe L = v / (4f) • the wavelength is λ = v / f in both cases
How to use
- Choose whether the pipe is open at both ends or closed at one end.
- Enter the frequency you want the pipe to produce.
- Click "Calculate Length" — the result is the fundamental (shortest) length.
Worked example
How long must a pipe be to play 440 Hz with v = 343 m/s?
Open pipe: L = 343 / (2 × 440) = 0.39 m.
Closed pipe: L = 343 / (4 × 440) = 0.19 m.
A closed pipe needs only half the length of an open one for the same note.
FAQ
Why is a closed pipe half as long?
A closed end must be a node and the open end an antinode, so only a quarter of a wavelength fits in the pipe (L = λ/4). An open pipe fits half a wavelength (L = λ/2).
Can a closed pipe play even harmonics?
No. A closed pipe only resonates at odd multiples of its fundamental (f, 3f, 5f…), which is why a clarinet sounds "hollower" than a flute.
Is the real pipe exactly this length?
Slightly shorter in practice — the air just outside the open end also vibrates (the "end correction", about 0.6 × the pipe radius per open end). Makers trim the pipe a little to compensate.