🔬
🔬 Science & engineering

Open & Closed Pipe Resonance Calculator

Results update as you type.

Your numbers

Understanding the open and closed pipe resonance calculator — concept and principle

An air column inside a tube resonates at particular frequencies, which is how flutes, organ pipes, clarinets and even bottles produce a pitch. This calculator gives the fundamental frequency and the first five resonances of a pipe that is open at both ends or closed at one end, from its length and the speed of sound.

Standing waves in open and closed pipesA 0.5 m pipe open at both ends holds half a wavelength (1 m): 343, 686, 1,029, 1,372, 1,715 Hz. Closed at one end it holds a quarter wave: 171.5 Hz and odd multiples.Air in a pipe swings in a standing waveopenbothL = 0.5 m · λ = 2L = 1 m343n = 1686n = 21,029n = 31,372n = 41,715n = 5f₁ = 343 ÷ (2 × 0.5) = 343 Hz, then every multipleclosedone endclosed: f₁ = 171.5 Hz343 ÷ (4 × 0.5) · odd only: 514.5, 857.5 …
Open both ends: half a wave, 343 Hz and all multiples. Closed one end: a quarter wave, an octave lower.

How it is calculated

L is the pipe length in metres and c the speed of sound in m/s. In dry air c ≈ 331.3 + 0.606 · θ m/s, where θ is the temperature in °C, giving about 343 m/s at 20 °C. The calculator ignores the end correction.

The principle

Sound inside the pipe is a pressure wave that reflects at both ends and forms a standing wave. At an open end the pressure is held near atmospheric, so there is a pressure node and a displacement antinode. At a closed end the air cannot move, so there is a displacement node. An open-open pipe must fit a whole number of half-wavelengths, L = nλ/2, giving fₙ = nc/(2L). A closed-open pipe must fit an odd number of quarter-wavelengths, L = (2n − 1)λ/4, which is why only odd multiples of the fundamental appear and why it sounds an octave lower than an open pipe of the same length.

Worked example

  1. Inputs: L = 0.5 m, c = 343 m/s, open at both ends.
  2. Fundamental: f₁ = 343 / (2 × 0.5) = 343 / 1 = 343 Hz.
  3. Harmonics: n × 343 Hz gives 343, 686, 1,029, 1,372, 1,715 Hz.

For the same pipe closed at one end, f₁ = 343 / (4 × 0.5) = 171.5 Hz, with 514.5, 857.5 … Hz.

How Fundamental (Hz) changes with Pipe length (m)How Fundamental changes with Pipe length02505007501,0001,2501,5000.1250.250.3750.50.6250.751Example: 343Pipe length (m)
Each point is the calculator re-run with only “Pipe length (m)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Pipe length (m)Fundamental (Hz)
0.1251,372
0.25686
0.375457.3333333
0.5343
0.625274.4
0.75228.6666667
1171.5

How to read the result

Longer pipes give lower notes, and the frequency is inversely proportional to length: halving the length doubles the frequency. Warmer air raises c and therefore the pitch, by roughly 0.17% per °C near room temperature, which is why wind instruments go sharp as they warm up. A closed pipe's missing even harmonics give it a hollower timbre, characteristic of the clarinet's low register.

Common mistakes

Keep in mind: The formulas assume a narrow, rigid cylinder with ideal open or closed ends. Wide pipes, tone holes, flares and the player's mouth all shift the real resonances, so treat results as a first estimate.

Frequently asked questions

Why does a bottle make a lower note than its length suggests?

A bottle with a narrow neck acts as a Helmholtz resonator, which follows a different formula based on its volume and neck size.

How do I find the pipe length for a given note?

Rearrange: L = c / (2f) for an open pipe or L = c / (4f) for a closed pipe, then subtract the end correction.

Sources: N. H. Fletcher and T. D. Rossing, The Physics of Musical Instruments, Springer · H. Levine and J. Schwinger, "On the radiation of sound from an unflanged circular pipe", Physical Review 73 (1948)

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →