Speed of Sound Lab
Determine the speed of sound using resonance in a closed pipe. Adjust tube length to find resonance points with tuning forks of known frequency, then calculate the speed of sound from your measurements.
Loading simulation...
Loading simulation, please waitSpeed of Sound Lab: Closed Pipe Resonance
Verified Content Badge
Physics equations verified against acoustics references. View verification log →
How fast does sound travel? This deceptively simple question has fascinated scientists for centuries. One elegant method for measuring the speed of sound uses resonance in air columns—when a tuning fork of known frequency causes standing waves in a tube of adjustable length, we can determine the speed of sound from the resonant conditions.
This lab simulation recreates the classic resonance tube experiment, allowing you to find resonance points and calculate the speed of sound in air.
The Physics of Closed Pipe Resonance
Standing Waves in Tubes
When sound waves travel down a tube, they reflect off the ends. In a closed pipe (one end closed, one open), the boundary conditions create standing wave patterns [1]:
- Closed end: Must be a displacement node (air cannot move into the wall)
- Open end: Must be a displacement antinode (air moves freely)
These constraints mean that only certain wavelengths "fit" in the tube—these are the resonant modes.
Resonance Conditions
For a closed pipe of length L, resonance occurs when [2]:
Since λ = v/f, we can write:
Note: Only odd harmonics are present in a closed pipe!
Determining Speed of Sound
Rearranging the resonance equation:
By measuring L at resonance (when sound is loudest) and knowing f from the tuning fork, we can calculate v.
Key Equations
| Equation | Variables | Use |
|---|---|---|
| f = nv/4L | f: frequency, v: speed, L: length, n: harmonic | Resonance condition |
| v = 4fL/n | — | Calculate speed from measurements |
| v ≈ 331 + 0.6T | T: temperature (°C) | Speed of sound in air |
| λ = v/f | λ: wavelength | Calculate wavelength |
Learning Objectives
After completing this lab, you should be able to:
- Explain why closed pipes only produce odd harmonics
- Locate resonance points by adjusting tube length
- Calculate the speed of sound from resonance data
- Identify nodes and antinodes in standing wave patterns
- Describe how temperature affects the speed of sound
- Compare closed and open pipe resonance conditions
Exploration Activities
Activity 1: Find the First Resonance
Objective: Locate the fundamental (n=1) resonance for a 256 Hz tuning fork.
Procedure:
- Select the C4 (256 Hz) tuning fork
- Click "Strike Fork" to start the sound
- Slowly increase the tube length from 5 cm
- Watch the amplitude indicator—it peaks at resonance
- Record the resonant length L₁
Expected result: At 20°C, v ≈ 343 m/s, so L₁ = v/(4f) ≈ 33.5 cm
Activity 2: Find Multiple Harmonics
Objective: Verify the relationship between resonant lengths.
Procedure:
- Keep f = 256 Hz
- Find resonances for n = 1, 3, 5
- Record L₁, L₃, L₅
- Calculate L₃/L₁ and L₅/L₁
Expected result: L₃/L₁ ≈ 3 and L₅/L₁ ≈ 5
Activity 3: Effect of Frequency
Objective: Explore how frequency affects resonant length.
Procedure:
- Find L₁ for frequencies 256, 384, and 512 Hz
- Plot L₁ vs 1/f
- Calculate the slope
Analysis: The slope equals v/4, allowing you to determine v without knowing any individual λ.
Activity 4: Temperature Dependence
Objective: Measure how temperature affects the speed of sound.
Procedure:
- Set T = 0°C and find L₁ for 256 Hz
- Repeat at T = 20°C and T = 40°C
- Calculate v for each temperature
- Compare with v = 331 + 0.6T
Real-World Applications
| Application | How It Relates |
|---|---|
| Musical instruments | Pipe organs, clarinets, flutes use resonance |
| Sonar | Knowing v allows distance calculation |
| Ultrasound imaging | v varies with tissue density |
| Architectural acoustics | Room resonances affect sound quality |
| Thunder distance | Count seconds, divide by 3 = km |
| Automotive exhaust | Mufflers use resonance to cancel sound |
Reference Data: Speed of Sound
| Medium | Temperature | Speed (m/s) |
|---|---|---|
| Air | 0°C | 331 |
| Air | 20°C | 343 |
| Air | 40°C | 355 |
| Water | 20°C | 1,481 |
| Steel | 20°C | 5,960 |
| Aluminum | 20°C | 6,420 |
Data from CRC Handbook of Chemistry and Physics [3].
Challenge Questions
Level 1 (Basic):
- A closed pipe resonates at its fundamental with L = 25 cm and f = 343 Hz. What is the speed of sound?
Level 2 (Intermediate): 2. At what length would the same pipe resonate at the third harmonic (n=3)?
Level 3 (Advanced): 3. An open pipe and closed pipe have the same fundamental frequency. How do their lengths compare?
Level 4 (Challenge): 4. A closed pipe at 20°C has L₁ = 33.0 cm for a 260 Hz fork. Calculate v and your percentage error from the expected value.
Level 5 (Extension): 5. Why is the speed of sound in helium (~1,007 m/s) much higher than in air? (Hint: consider molecular mass and v ∝ √(T/M))
Common Mistakes to Avoid
| Mistake | Correction |
|---|---|
| Forgetting only odd harmonics | Closed pipes: n = 1, 3, 5... (not 1, 2, 3...) |
| Using n = 2 or n = 4 | These don't exist in closed pipes |
| Confusing node/antinode locations | Closed end = node; open end = antinode |
| Ignoring temperature correction | v = 331 + 0.6T, not just 343 m/s |
| Measuring total tube length | Measure air column length (L), not tube length |
Frequently Asked Questions
Q: Why do closed pipes only have odd harmonics? A: The boundary conditions (node at closed end, antinode at open) require L = nλ/4 where n is odd. Even n would place either two nodes or two antinodes at the ends, violating the boundary conditions [1].
Q: What's the "end correction" mentioned in some textbooks? A: The antinode doesn't form exactly at the tube opening—it's slightly outside. The effective length is L + 0.6r (where r is the tube radius). For precise measurements, this correction should be applied [2].
Q: Why does temperature affect sound speed? A: Sound travels through molecular collisions. At higher temperatures, molecules move faster, transmitting vibrations more quickly. v ∝ √T (where T is in Kelvin) [4].
Q: How accurate is this method for measuring v? A: With careful measurements, you can achieve ±1-2% accuracy. Main error sources: imprecise resonance detection, temperature uncertainty, and end correction.
Q: Can I use any frequency tuning fork? A: Yes, but the resonant lengths must fit in your tube. Lower frequencies need longer tubes (L₁ ∝ 1/f).
References
[1] Halliday, D., Resnick, R., & Walker, J. (2013). Fundamentals of Physics, 10th Edition. Wiley. Chapter 17: Waves-II.
[2] Serway, R. A., & Jewett, J. W. (2018). Physics for Scientists and Engineers, 10th Edition. Cengage Learning. Chapter 18: Superposition and Standing Waves.
[3] Haynes, W. M. (Ed.). (2016). CRC Handbook of Chemistry and Physics, 97th Edition. CRC Press.
[4] Knight, R. D. (2016). Physics for Scientists and Engineers: A Strategic Approach, 4th Edition. Pearson.
About the Data
Speed of sound values at standard conditions are from the CRC Handbook. The temperature relationship v = 331 + 0.6T is an approximation valid for typical atmospheric conditions.
Citation Guide
To cite this simulation in academic work:
Simulations4All. (2025). Speed of Sound Lab [Interactive simulation]. Simulations4All Educational Platform. Retrieved from https://simulations4all.com/simulations/speed-of-sound-lab
Verification Log
| Item | Source | Verified | Notes |
|---|---|---|---|
| f = nv/4L formula | Halliday et al. (2013) | ✓ Jan 2025 | Closed pipe resonance condition |
| Odd harmonics only | Serway & Jewett (2018) | ✓ Jan 2025 | Boundary condition requirement |
| v = 331 + 0.6T | CRC Handbook (2016) | ✓ Jan 2025 | Linear approximation valid 0-40°C |
| v in air at 20°C | CRC Handbook (2016) | ✓ Jan 2025 | 343.2 m/s standard value |
| Node/antinode positions | Knight (2016) | ✓ Jan 2025 | Fundamental physics verified |
Written by Simulations4All Team
Related Simulations

Simple Pendulum
Explore the physics of simple harmonic motion with an interactive pendulum simulation. Adjust length, mass, gravity (including planet presets), damping, and initial angle. Watch real-time energy transformations and measure the period.
View Simulation
Projectile Motion
Launch projectiles at different angles and velocities. Explore how gravity and launch parameters affect trajectory, range, and height. Compare with and without air resistance, and test on different planets.
View Simulation
Electric Field Visualization
Visualize electric field lines, vectors, and equipotential surfaces around point charges. Add, drag, and remove charges to explore how fields interact. Launch test charges to see their motion through the field.
View Simulation