The Closed Pipe Resonance Calculator calculates fundamental and overtone frequencies for a one-end-closed air column from length, temperature, and end correction.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
What Is a Closed Pipe Resonance Calculator?
A closed pipe resonance calculator predicts the standing wave frequencies of a pipe that is closed at one end and open at the other. In this system, the closed end forces a displacement node, and the open end forms a displacement antinode. That boundary pair only supports odd harmonics. The tool converts your pipe length, bore size, and air conditions into those resonance points.
It uses well known acoustic relationships to compute an effective length and then the supported modes. The calculator respects the quarter-wave fundamental and the sequence of odd overtones. It also shows how temperature, and thus the speed of sound, nudges every result. With the right inputs, you can forecast potential noise, musical notes, and coupling issues.

Equations Used by the Closed Pipe Resonance Calculator
The calculator applies a small set of equations that model resonance in a pipe closed at one end. These tie together the speed of sound, effective length, harmonic number, and wavelength. They also include a practical end correction for the open mouth.
- Resonant frequencies: f_n = n · v / (4 · L_eff), where n = 1, 3, 5, … and v is the speed of sound.
- Wavelengths: λ_n = 4 · L_eff / n, using the same odd n sequence.
- Effective length: L_eff = L + k · r, with r = D/2. Use k ≈ 0.61 for an unflanged open end and k ≈ 0.82 for a flanged rim.
- Speed of sound in air (simple): v ≈ 331 + 0.6 · T (m/s) with T in °C.
- Speed of sound in air (gas model): v = sqrt(γ · R · T_abs), with γ ≈ 1.4 and R ≈ 287 J/(kg·K) for dry air.
These relationships assume plane waves and a rigid, uniform cylinder. They also assume that the pipe only opens to free air on one side. The calculator uses these equations to turn your variables into a clear result, while exposing key constants and choices like the end correction type.
The Mechanics Behind Closed Pipe Resonance
Resonance occurs when reflections inside the pipe reinforce a standing wave. The closed end forces the air to stop moving, while the open end lets it move freely. This creates a node at the closed end and an antinode at the open end. Only patterns that fit these boundaries can persist.
- Fundamental mode sets a quarter-wave: the pipe holds λ/4 between node and antinode.
- Only odd harmonics fit: n = 1, 3, 5, … Even harmonics do not satisfy the boundary conditions.
- End correction matters: the antinode sits slightly outside the pipe, so the effective length is longer than the physical length.
- Temperature shifts frequency: a higher temperature raises v, which increases every resonant frequency.
- Losses reduce sharpness: friction and thermal losses lower Q, widening peaks and reducing amplitude.
The core picture is simple but powerful. A closed end plus an open end sets a quarter-wave constraint. That sets the fundamental, and the odd multiples stack above it. The real air column is a bit longer than the tube itself, and temperature controls the speed of sound, so both influence the final values.
What You Need to Use the Closed Pipe Resonance Calculator
Before you begin, gather a few measurements and choices. These inputs feed the physics equations and define the scenario. Accurate values give more realistic predictions.
- Pipe length L: the internal physical length from the closed end to the open mouth.
- Inner diameter D: used to compute radius r and the end correction.
- Temperature or speed of sound: either enter air temperature or a custom v if you know it.
- End correction type: unflanged (typical open end) or flanged (for a baffle around the opening).
- Harmonic index n: select 1, 3, 5, … to get the desired mode.
Lengths should be positive, and diameters should reflect the actual bore. Short pipes with large diameters need careful end correction choice. If you are not sure, pick unflanged. For gas other than air, use a custom v. Very high harmonics may break the plane-wave assumption, especially when wavelength approaches the bore.
Step-by-Step: Use the Closed Pipe Resonance Calculator
Here’s a concise overview before we dive into the key points:
- Enter the pipe length L in meters.
- Enter the inner diameter D in meters.
- Choose the end correction type (unflanged or flanged).
- Provide air temperature in °C, or enter a custom speed of sound v.
- Select the harmonic index n from the odd numbers.
- Press Calculate to compute L_eff, f_n, and λ_n.
These points provide quick orientation—use them alongside the full explanations in this page.
Real-World Examples
A cylindrical woodwind body is about 0.65 m long with a 15 mm bore. Assume 20 °C air and an unflanged open end. Compute r = 7.5 mm and end correction k · r ≈ 0.0046 m. L_eff ≈ 0.6546 m. The speed of sound is about 343 m/s. The fundamental is f_1 ≈ 343 / (4 · 0.6546) ≈ 131 Hz. The next odd mode is f_3 ≈ 3 · 131 ≈ 393 Hz. The wavelengths are λ_1 ≈ 4 · 0.6546 ≈ 2.62 m and λ_3 ≈ 0.87 m. These values show that only odd modes appear, matching how clarinet-like instruments behave. What this means
A ventilation duct section is 1.20 m long and opens into a room without a flange. The diameter is 0.30 m, so r = 0.15 m. At 25 °C, v ≈ 346 m/s. End correction is about 0.61 · 0.15 ≈ 0.0915 m, so L_eff ≈ 1.2915 m. The fundamental is f_1 ≈ 346 / (4 · 1.2915) ≈ 67 Hz. The third harmonic is f_3 ≈ 201 Hz. If a fan produces energy near 67 Hz, the duct will amplify it, and you may hear a low hum. What this means
Assumptions, Caveats & Edge Cases
The calculator idealizes the air column and the pipe walls. It assumes a uniform bore, one closed end, and one open end to free space. For many practical tubes, this is accurate enough to guide decisions. Still, some conditions deserve caution.
- End correction depends on geometry. The constants (0.61 or 0.82) are approximations.
- Plane-wave assumption breaks for high modes when wavelength approaches the bore size.
- Temperature, humidity, and gas composition shift the speed of sound and your results.
- Losses, leaks, and non-rigid walls reduce resonance amplitude and shift peaks slightly.
- Open ends near surfaces behave like flanged ends and may increase effective length.
If your design uses tapered sections, tone holes, bends, or diffusers, the simple closed-pipe model will only be a first pass. Use it to bracket behavior, then refine with measurements or a more detailed acoustic model.
Units and Symbols
Resonance depends on consistent units. The calculator uses SI by default. Mixing inches with meters, or Fahrenheit with Celsius, will skew results. This table summarizes the core symbols and their units so you can match your inputs and interpret the outputs.
| Symbol | Meaning | SI Unit |
|---|---|---|
| f | Resonant frequency of a mode | hertz (Hz) |
| v | Speed of sound in the gas | meters per second (m/s) |
| L | Physical internal length of the pipe | meters (m) |
| L_eff | Length after adding end correction | meters (m) |
| n | Odd harmonic number (1, 3, 5, …) | dimensionless |
| λ | Wavelength of the standing wave | meters (m) |
Read the table as a quick legend for variables and outputs. If you switch units, convert before you enter values. Keep an eye on v, because any change in temperature or gas type changes the entire frequency scale.
Troubleshooting
If the calculator’s numbers look strange, check simple issues first. Many errors come from unit mix-ups or the wrong harmonic choice. The next most common issue is an incorrect end correction setting.
- If your frequency is nearly double, you may have used n = 2 by mistake. Closed pipes only use odd n.
- If results are too low, you may have chosen flanged end correction when you needed unflanged.
- If the temperature seems off, confirm whether you entered °C or used a custom v.
- For very short, wide tubes, the end correction can dominate. Recheck diameter and geometry.
When in doubt, start with a simple case. Use L only, unflanged end correction, and 20 °C air. Confirm the fundamental. Then add complexity step by step and compare how each variable shifts the result.
FAQ about Closed Pipe Resonance Calculator
Why do only odd harmonics appear in a closed pipe?
The closed end enforces a node and the open end enforces an antinode. That boundary pair only supports patterns with a quarter-wave plus odd multiples, so n = 1, 3, 5, and so on.
Do I need to include end correction for long pipes?
Yes, but it matters less as L grows. The constant offset is small compared to a long length, yet it still improves accuracy, especially for tuning and low modes.
Can I use gases other than air?
Yes. Enter a custom speed of sound v for your gas. This depends on temperature and the gas’s thermodynamic constants, which set v for your conditions.
Why are my measured frequencies lower than predicted?
Losses and nearby surfaces can lengthen the effective acoustic path. Leaks, flexible walls, or a mouth near a baffle also lower frequency by increasing L_eff beyond the simple model.
Key Terms in Closed Pipe Resonance
Closed Pipe
A tube with one sealed end and one open end. It supports a displacement node at the closed end and an antinode at the open end.
Fundamental Frequency
The lowest resonant frequency, set by a quarter wavelength inside the effective length of the pipe.
Odd Harmonics
The overtone series for a closed pipe: 1, 3, 5, … times the fundamental. Even harmonics are absent in the ideal model.
End Correction
An added length that accounts for the antinode forming slightly outside the pipe’s open mouth. It depends on mouth geometry.
Speed of Sound
The rate at which small pressure waves travel through a medium. In air, it rises with temperature and affects all resonances.
Effective Length
The sum of the physical pipe length and the end correction. It sets the standing wave pattern and the resonant frequencies.
Wavelength
The spatial period of the wave. For closed pipes, λ_n = 4 · L_eff / n for odd n.
Quality Factor (Q)
A measure of resonance sharpness. Higher Q means narrower, stronger peaks; lower Q means broader, weaker peaks.
References
Here’s a concise overview before we dive into the key points:
- HyperPhysics: Closed Pipe Resonance — Clear diagrams and formulas for odd harmonics and end effects.
- OpenStax University Physics: Sound, Interference, and Resonance — Background on standing waves and boundary conditions.
- NASA Glenn: Speed of Sound — Discussion and equations for speed of sound in gases.
- Wikipedia: End Correction — Overview of end correction values for different mouth geometries.
- National Physical Laboratory: Speed of Sound in Air — Practical guidance on temperature dependence in air.
These points provide quick orientation—use them alongside the full explanations in this page.