Pipe Resonance Calculator
- Sound speed first: at 20 degrees C, v = 331.3 + 0.606 x 20 = 343.42 m/s - every resonant frequency in the pipe scales with this speed of sound.
- A pipe open at both ends fits a fundamental wavelength of 1.70 m into its 0.85 m length, so the resonant frequency of the fundamental is v / wavelength = 202.01 Hz.
- The harmonic series of a pipe open at both ends contains every whole-number multiple of the fundamental: the second harmonic here is 404.02 Hz and the third is 606.04 Hz.
- Warm the air and every resonant frequency rises with the speed of sound; cool it and the pipe plays flat - the length never changes, only the wave speed does.
The Pipe Resonance Calculator finds the resonant frequencies of a pipe from its length, whether its ends are open or closed, and the speed of sound at the current temperature. It answers the practical question players and builders ask: which pitches will this pipe reinforce? The results follow the physics directly. An open pipe 0.85 m long at 20 C resonates at a fundamental of 202.01 Hz, with harmonics at 404.02 Hz and 606.04 Hz. A stopped pipe just 0.17 m long has a fundamental of 505.03 Hz, because a closed end makes a pipe sound an octave lower than an open pipe of the same length. Temperature matters too: on a cold 5 C day the speed of sound falls to 334.33 m/s, and a 2.4 m open pipe's fundamental drops to 69.65 Hz. The open or closed choice changes the harmonic pattern as well. A closed pipe supports only odd harmonics: the 0.17 m stopped pipe resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz, with no even multiples at all.
The method behind the calculator is the standard treatment of standing waves in pipes, in which the resonant frequencies are set by the pipe length, the end conditions and the speed of sound in the air inside it. That is why the open and closed cases differ by an octave and why only odd harmonics appear in a stopped pipe. For readers who want to check the numbers, this page shows the formula, step-by-step workings, worked examples and sources, so every result can be traced back to the inputs you entered.
Worked examples
Open organ pipe, 0.85 m at 20 C
(Open at both ends · 0.85 m · 20 °C)
| Fundamental resonant frequency | 202.01 Hz |
| Second harmonic | 404.02 Hz |
| Third harmonic | 606.04 Hz |
| Fundamental wavelength | 1.70 m |
| Speed of sound used | 343.42 m/s |
Stopped pipe, 0.17 m at 20 C
(Closed at one end (stopped) · 0.17 m · 20 °C)
| Fundamental resonant frequency | 505.03 Hz |
| Second harmonic | 1,515.09 Hz |
| Third harmonic | 2,525.15 Hz |
| Fundamental wavelength | 0.68 m |
| Speed of sound used | 343.42 m/s |
Open pipe, 2.4 m on a cold 5 C day
(Open at both ends · 2.4 m · 5 °C)
| Fundamental resonant frequency | 69.65 Hz |
| Second harmonic | 139.30 Hz |
| Third harmonic | 208.96 Hz |
| Fundamental wavelength | 4.80 m |
| Speed of sound used | 334.33 m/s |
How pipe resonance is calculated
Every pipe resonance calculation starts with the speed of sound, because that number sets the pitch of everything that follows. Sound travels at 343.42 m/s in 20 C air, and that is the figure the calculator uses when you enter a room-temperature pipe. Change the temperature and the speed changes with it, which is why a pipe that sounds right in a warm room can drift flat in the cold. The pipe resonance calculator takes your temperature, converts it to the correct speed of sound, and then applies the standing-wave fit for the pipe you described.
The fit itself depends on the ends. An open pipe fits half a wavelength into its length, so the fundamental wavelength is twice the pipe length. A closed pipe fits a quarter wavelength, so the fundamental wavelength is four times the pipe length. Run the numbers on an open pipe 0.85 m long at 20 C and you get a fundamental of 202.01 Hz. The harmonics follow in whole multiples: 404.02 Hz and 606.04 Hz. Each one is a simple multiple of the first, which is what an open pipe gives you — a full ladder of overtones.
A stopped pipe behaves differently, and the difference is easy to hear. A closed end makes a pipe sound an octave lower than an open pipe of the same length, so a stopped pipe only 0.17 m long has a fundamental of 505.03 Hz. That short pipe still reaches 505.03 Hz because the closed end forces a quarter-wave fit, and the standing wave is squeezed into a much smaller space. The same geometry also removes every other overtone. A closed pipe supports only odd harmonics, so the 0.17 m stopped pipe resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz, with no even multiples at all. If you listen for the missing octave, you will not find it.
Temperature shifts the whole pattern without changing its shape. On a cold 5 C day the speed of sound falls to 334.33 m/s, and a 2.4 m open pipe's fundamental drops to 69.65 Hz. The pipe has not moved, but the air inside it has changed, and the standing-wave fit scales with the speed of sound. That is why the calculator asks for temperature first: it is the input that turns a length into a frequency.
In practice, the calculation is a short chain: speed of sound from temperature, then half a wavelength for an open pipe or a quarter wavelength for a closed one, then the harmonic series on top. The examples above show how far the results can spread — from 69.65 Hz for a long open pipe on a cold day to 505.03 Hz for a tiny stopped pipe at room temperature — and each one comes straight out of the same two steps.
Open vs closed pipes: why the harmonics differ
Every pipe resonance calculator works from the same idea: sound waves travel down the pipe, reflect off the ends, and reinforce themselves at certain frequencies. What changes between an open pipe and a closed one is where the air is free to move and where it is not. At an open end, the air is free to swing back and forth, so the open end sits at an antinode — a point of maximum motion. At a closed end, the air is pressed against a solid surface and cannot move, so the closed end sits at a node — a point of zero motion. The pattern of nodes and antinodes that fits inside the pipe decides which frequencies resonate.
An open pipe has antinodes at both ends, so its simplest standing wave is a single half-wavelength spanning the tube. An open pipe 0.85 m long at 20 C resonates at a fundamental of 202.01 Hz, with harmonics at 404.02 Hz and 606.04 Hz — every whole-number multiple of the fundamental, because each additional half-wavelength fits the same two-antinode pattern. A stopped pipe is different: one end is a node and the other an antinode, so the shortest wave that fits is a quarter-wavelength. That closed end makes a pipe sound an octave lower than an open pipe of the same length, which is why a stopped pipe only 0.17 m long has a fundamental of 505.03 Hz — a short tube reaching a fairly high pitch because its effective length is a quarter-wave, not a half-wave.
The node-antinode mismatch also explains the missing harmonics. Because the stopped pipe's pattern must always run from a node to an antinode, only odd-numbered quarter-wavelengths fit: one quarter-wave, three quarter-waves, five quarter-waves, and so on. The 0.17 m stopped pipe resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz, with no even multiples at all. The even harmonics would require a pattern that ends at a node where the open end needs an antinode, so they simply cannot form. Run the numbers through a pipe resonance calculator and you will see this odd series appear automatically for any stopped pipe.
Temperature shifts the whole series without changing its shape. On a cold 5 C day the speed of sound falls to 334.33 m/s, and a 2.4 m open pipe's fundamental drops to 69.65 Hz. The harmonics stay whole-number multiples of that lower fundamental, and a stopped pipe's series stays odd — the spacing between peaks just tightens or widens with the speed of sound.
- Open end: antinode (air moves freely). Closed end: node (air cannot move).
- Open pipe: antinodes at both ends, so all whole-number harmonics appear.
- Stopped pipe: node at one end, antinode at the other, so only odd harmonics appear.
- Example: the 0.17 m stopped pipe gives 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz — no even multiples.
Temperature, tuning and the speed of sound
The speed of sound is not a fixed number — it changes with temperature, and every pipe resonance shifts with it. A pipe resonance calculator gets its frequency from the speed of sound divided by the pipe's effective length, so when the air cools, the whole harmonic series slides downward. The effect is small but musically real, and it explains a familiar annoyance: instruments that are perfectly in tune backstage can sound flat by the time the orchestra reaches the stage.
Take the 5 C example. On a cold day the speed of sound falls to 334.33 m/s, and a 2.4 m open pipe's fundamental drops to 69.65 Hz. Compare that with the same pipe on a mild 20 C day, when the air moves faster and the fundamental sits higher. Nothing about the pipe changed — same length, same open ends — only the temperature of the air inside it. Run a pipe resonance calculator at each temperature and you see the same pattern across every harmonic, not just the first.
This is why wind instruments drift flat in the cold and sharp in warm halls. The tube's physical length is set by the instrument maker, but the air column's behavior is set by the air itself. In a chilly room the air is denser and sound travels more slowly, so the resonances land below the designed pitch. In a warm, crowded hall the air thins, sound speeds up, and the same fingerings produce slightly higher notes. Players compensate by tuning slides and embouchure, but the drift is baked into the physics, and it affects every register at once.
The temperature effect also interacts with pipe geometry, so it pays to check both together. An open pipe 0.85 m long at 20 C resonates at a fundamental of 202.01 Hz, with harmonics at 404.02 Hz and 606.04 Hz. A stopped pipe only 0.17 m long has a fundamental of 505.03 Hz — a closed end makes a pipe sound an octave lower than an open pipe of the same length, so this short pipe still reaches 505.03 Hz. That stopped pipe supports only odd harmonics: it resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz, with no even multiples at all. Temperature shifts those frequencies too, but it never adds or removes harmonics — the odd-only pattern of a closed pipe and the full series of an open one stay intact.
When you use a pipe resonance calculator, enter the temperature you actually expect, not a default. A few degrees can move a fundamental by several hertz, enough to matter for tuning a choir, matching a tuning fork, or designing an organ pipe that must hold pitch in a cold building.
Where pipe resonance shows up
The same two formulas behind the pipe resonance calculator describe instruments and machines alike. An open pipe's fundamental is set by its length and the speed of sound, and its harmonics fall at whole-number multiples of that fundamental. A pipe stopped at one end follows a different rule: it sounds an octave lower than an open pipe of the same length, and it supports only odd harmonics. Once you see those two patterns, you can recognize pipe resonance in an organ loft, a concert hall, a duct run, or an exhaust system.
Organ pipes make the clearest case. An open pipe 0.85 m long at 20 C resonates at a fundamental of 202.01 Hz, with harmonics at 404.02 Hz and 606.04 Hz. That evenly spaced ladder of overtones is what gives open flue pipes their bright, reedy color. Stopped pipes behave differently. A stopped pipe only 0.17 m long has a fundamental of 505.03 Hz, because a closed end makes a pipe sound an octave lower than an open pipe of the same length — so this short pipe still reaches 505.03 Hz. Its overtone series confirms the odd-harmonic rule: the 0.17 m stopped pipe resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz, with no even multiples at all. That hollow, clarinet-like quality is exactly what organ builders use stopped ranks to produce.
The flute and clarinet families follow the same physics. A flute acts as an open pipe, so its overtones line up at whole multiples of the fundamental, matching the 202.01, 404.02 and 606.04 Hz pattern of the 0.85 m open pipe. A clarinet acts as a stopped pipe, so it favors the odd harmonics — the 505.03, 1,515.09 and 2,525.15 Hz series of the 0.17 m stopped pipe — which is why it overblows to a twelfth rather than an octave. Players change the effective length with tone holes, but the underlying relationship between length, speed of sound, and resonant frequency does not change.
HVAC duct hum and exhaust resonance are the industrial version of the same story. A duct run open at both ends behaves like an open pipe, and a branch or capped section behaves like a stopped one. Temperature matters here as much as length. On a cold 5 C day the speed of sound falls to 334.33 m/s, and a 2.4 m open pipe's fundamental drops to 69.65 Hz. That shift is why a duct that hums quietly on a warm afternoon can develop a low drone on a winter morning, and why exhaust systems can hit a resonant boom at a slightly different engine speed as conditions change. Run the numbers with a pipe resonance calculator before you cut pipe, tune a rank, or chase a hum.
FAQs
What is the resonant frequency of an open pipe?
For a pipe open at both ends, the fundamental frequency is the speed of sound divided by twice the pipe length. At 20 C, a 0.85 m open pipe has a fundamental of 202.01 Hz. That is the lowest note the pipe supports; higher harmonics follow at whole-number multiples of this value.
Why does a closed pipe sound lower than an open pipe?
A closed pipe fits a quarter wavelength instead of a half wavelength into its length. Because the same length holds half as much of the wave, its fundamental is half that of an open pipe of the same length. The lower pitch comes directly from that quarter-wave pattern.
Which harmonics does a stopped pipe have?
A stopped pipe produces only odd multiples of the fundamental, so the even harmonics are missing. In the 0.17 m example, the pipe resonates at 505.03 Hz, 1,515.09 Hz and 2,525.15 Hz. Those are the first, third and fifth harmonics, giving the stopped pipe its characteristic hollow tone.
Does temperature change a pipe's pitch?
Yes. Pitch follows the speed of sound, which changes with temperature. The speed falls to 334.33 m/s at 5 C, and that drags a 2.4 m open pipe's fundamental down to 69.65 Hz. Colder air means slower sound and a lower resonant frequency for the same pipe.
How long is the fundamental wavelength in an open pipe?
In an open pipe, the fundamental wavelength is twice the pipe length. For the 0.85 m open pipe, that works out to 1.70 m. The wave fits one full cycle across the pipe's two open ends, which is why the length equals half a wavelength.
What speed of sound should I use at 20 C?
Use 343.42 m/s at 20 C. This value comes from the relation v = 331.3 + 0.606 x temperature in degrees C, with the temperature entered in Celsius. Using the correct speed of sound keeps your pipe resonance results accurate at that room temperature.