Why a Train Horn Changes Pitch as It Passes: Doppler Effect Explained
Why a train horn sounds higher coming and lower going: the Doppler effect formula, real shifts at 25 to 80 mph, K5LA chord math, and the 1845 trumpet-train test.
Stand near a grade crossing and listen: the train horn Doppler effect is why that horn sounds higher while the locomotive is bearing down on you, then sags to a lower note the instant it roars past. The horn never changed. The way its sound waves reached your ears did, and the physics behind it is simple enough to work out with one formula and one number.
What the Doppler effect actually does to a horn
A horn makes sound by pushing pressure waves into the air at a fixed rate. For a single trumpet, that rate is its pitch: a bell tuned to 311 Hz sends out 311 pressure peaks every second, and they travel outward at the speed of sound no matter what the train is doing.
Now put that horn on a locomotive moving toward you. Each new wave peak is launched from a spot a little closer to you than the last one, so the peaks bunch up. They arrive more often than 311 times per second, and your ear reports a higher pitch. Once the horn passes and moves away, each peak starts from a point a little farther off, the spacing stretches, the peaks arrive less often, and the pitch drops.
The key thing to internalize is that the emitted frequency never changes. The engineer in the cab, riding along with the horn, hears the same note the whole time. The physics textbook version from OpenStax puts it plainly: an observer moving with the source measures no shift because the relative velocity between them is zero. Only a trackside listener hears the slide.
The formula, and the one number you need
For a moving source and a stationary listener, the observed frequency works out to:
f_observed = f_source × v / (v ∓ v_source)
Use the minus sign when the train is approaching and the plus sign when it is receding. Here v is the speed of sound and v_source is the train’s speed. That is the entire calculation.
The speed of sound in dry air at 68 °F is about 343 m/s, which is roughly 1,125 ft/s or 767 mph. It creeps up about 0.6 m/s for every degree Celsius of warming, so a hot afternoon and a January night give slightly different answers, but not enough to hear.
OpenStax’s worked example uses a 150 Hz horn on a train doing 35 m/s (about 78 mph) with sound at 340 m/s. Approaching, the listener hears about 167 Hz. Receding, about 136 Hz. Notice the shifts are not mirror images: up 17 Hz coming, down 14 Hz going. That asymmetry is baked into the formula because the train’s speed is subtracted from the denominator on approach and added on departure.
How big is the shift at real train speeds?
Trains in the US are speed-limited by track class under FRA rule 49 CFR 213.9: freight tops out at 25 mph on Class 2 track, 40 mph on Class 3, 60 mph on Class 4, and 80 mph on Class 5. Plugging those speeds into the formula with sound at 343 m/s gives the following. The percentages and semitone figures below are our own arithmetic from the Doppler formula, not measurements.
| Train speed | Pitch on approach | Pitch after passing | Total drop as it passes |
|---|---|---|---|
| 25 mph | +3.4% (about 0.6 semitone) | −3.2% (about 0.6 semitone) | roughly 1.1 semitones |
| 40 mph | +5.5% (about 0.9 semitone) | −5.0% (about 0.9 semitone) | roughly 1.8 semitones |
| 60 mph | +8.5% (about 1.4 semitones) | −7.2% (about 1.3 semitones) | roughly 2.7 semitones |
| 80 mph | +11.6% (about 1.9 semitones) | −9.4% (about 1.7 semitones) | roughly 3.6 semitones |
For scale, one musical semitone is a frequency ratio of about 1.0595, or a 5.9 percent jump. So a 60 mph freight sounds almost a semitone and a half high as it approaches, then falls nearly three semitones as it passes. That is a big, obvious drop, and it is why the effect is so noticeable with trains compared with, say, a cyclist’s bell.
Put real notes on it. The most popular North American locomotive horn, the Nathan AirChime K5LA, plays a B major 6th chord. Its top bell is a D♯ that sits near 622 Hz in equal temperament. At 60 mph that bell reaches your ears at about 675 Hz coming toward you and about 577 Hz going away. The lowest bell, a D♯ near 311 Hz, moves from roughly 337 Hz to 288 Hz over the same pass-by.
Why it slides instead of jumping
If the horn came straight at you, physics says the pitch would hold steady at the higher value right up to impact, then jump instantly to the lower one. Wikipedia’s Doppler article spells this out: a siren approaching head-on would stay at a constant raised pitch until it hit the observer, then immediately drop.
Real life is kinder. You are standing off to the side of the tracks, so the part of the train’s velocity aimed at you shrinks as it gets close. Far down the line, essentially all of its motion is toward you and the shift is maximal. Directly abeam, none of its motion is toward you and you hear the true pitch for an instant. Then the geometry flips and the pitch falls toward its receding value. That is the smooth “neeeeeooooow” glide everyone recognizes. The closer you stand to the rails, the faster the glide happens; back off a few hundred feet and it stretches into a long, lazy bend.
- Far away and approaching: pitch is high and nearly constant
- Passing directly in front of you: pitch crosses through the true note
- Far away and receding: pitch is low and nearly constant
Pitch changes, loudness does something else
People often lump the two together, but the swell in volume as a train arrives has nothing to do with Doppler. Loudness follows distance. A locomotive horn must measure between 96 and 110 dB(A) at 100 feet forward under FRA rule 49 CFR 229.129, and from there the level falls off with distance and the direction the trumpets are pointed. Our guide on how far a train horn can be heard covers that falloff, and decibels explained unpacks what those dB(A) figures mean in practice.
Doppler only touches frequency. A train could pass you at the same distance twice, once at 25 mph and once at 80 mph, and the peak loudness would be nearly identical while the pitch bend would be three times bigger.
Another loudness wrinkle comes from the rulebook rather than physics. Under 49 CFR 222.21, engineers sound two long, one short, one long, starting 15 to 20 seconds before the locomotive enters a public crossing, and no more than a quarter mile out when running above 60 mph. That is why the horn usually starts while the train is still well down the line, exactly when the approach shift is at its strongest.
What Doppler does to a chord
A locomotive horn is not one note. As we explain in our guide to why train horns play a chord, three or five trumpets of different lengths sound together, and the K5LA’s five bells form a B major 6th.
Doppler treats every one of those bells the same way, because the multiplier v/(v − v_s) does not care what frequency it is applied to. Each bell rises by the same percentage, which means the musical intervals between them survive intact. A major 6th chord on approach is still a major 6th chord, just transposed up a semitone or more. As the train passes, the whole chord slides down together. That preserved harmony is one reason the pass-by sounds musical rather than smeared. It is also why a passing train never sounds “out of tune” with itself even though every note is technically wrong.
A horn on a train proved the theory in 1845
Christian Doppler, an Austrian mathematician working in Prague, proposed the effect in a paper read on 05/25/1842 to the Royal Bohemian Society of Sciences. His title translates to “On the colored light of the double stars and certain other stars of the heavens,” because his real interest was starlight, not sound.
The first experimental proof came from trains and horns. In 1845 the Dutch scientist Christoph Buys Ballot loaded an open railcar with musicians on the line between Utrecht and Maarssen and had them hold a steady note while the locomotive ran past listeners on the ground. The February attempt was ruined when hail and snow pelted the players, so he tried again in June. This time the trackside musicians reported the approaching note about a half-tone high and the receding note about a half-tone low, matching the prediction. Per Physics Today’s account, Buys Ballot accepted the result for sound while still doubting it applied to light.
Does your truck’s train horn do this too?
Yes, whenever the horn and the listener are moving relative to each other. A truck with a train horn kit blasting past a pedestrian at 60 mph produces the same roughly 8 percent rise and 7 percent fall a locomotive would, because the formula only cares about speed, not what the horn is bolted to.
- A bystander hears your truck’s horn shift up on approach and down as you pass
- The shift scales with your speed: barely audible at parking-lot pace, obvious at highway speed
- Every trumpet shifts by the same percentage, so a chord stays a chord
- You, the driver, hear no shift at all since you move with the horn
- A stationary horn on a stationary truck never Doppler shifts, no matter how loud
- Doppler does not make the horn louder; distance and trumpet direction do that
If you are the one holding the button, the only way to hear your own horn Doppler shift is to record it from the roadside while a friend drives by. Do that at a couple of speeds and you will hear the table above come to life.
Sources
- 17.8: The Doppler Effect — University Physics I (OpenStax via LibreTexts) — moving-source formula, the 150 Hz / 35 m/s / 340 m/s train example (167 Hz approaching, 136 Hz receding), asymmetric shifts, and no shift for an observer riding with the source.
- 17.4 Doppler Effect and Sonic Booms — Texas Gateway — same worked train example and wave-compression explanation.
- Doppler effect — Wikipedia — general formula, the 1842 proposal, Buys Ballot’s 1845 confirmation, and the head-on “constant pitch then sudden drop” versus the sideways glide.
- The fall and rise of the Doppler effect — Physics Today — Doppler’s 05/25/1842 paper in Prague, and Buys Ballot’s Utrecht–Maarssen trumpeter experiment (February hail, June retry, half-tone shift).
- Speed of sound — Wikipedia — 343 m/s (1,125 ft/s, 767 mph) at 20 °C / 68 °F and the roughly 0.6 m/s per °C temperature dependence.
- Semitone — Wikipedia — equal-tempered semitone ratio of the twelfth root of two (about 1.0595).
- Nathan Manufacturing — Wikipedia — K5LA as the most popular locomotive horn, its B major 6th chord (D♯, F♯, G♯, B, D♯), and the 1975 Amtrak origin.
- Piano key frequencies — Wikipedia — equal-temperament values used for the K5LA bells: D♯ ≈ 311 Hz and the upper D♯ ≈ 622 Hz.
- 49 CFR § 213.9 — Classes of track: operating speed limits (Cornell LII) — freight speed limits of 25, 40, 60, and 80 mph for Class 2 through Class 5 track.
- 49 CFR § 229.129 — Locomotive horn (Cornell LII) — 96 dB(A) minimum and 110 dB(A) maximum measured 100 feet forward of the locomotive.
- 49 CFR § 222.21 — When must a locomotive horn be used? (Cornell LII) — two long, one short, one long pattern, 15 to 20 seconds before the crossing, and the quarter-mile limit above 60 mph.
Keep reading
- Why Train Horns Make a Chord: Tuning & Harmonics Explained — the five-bell K5LA chord that Doppler transposes as a unit.
- How Far Away Can You Hear a Train Horn? The Real Numbers — the loudness side of the pass-by that Doppler does not touch.
- Train Horn Decibels Explained — what 96 to 110 dB(A) at 100 feet actually means.
- Why Some Train Horns Are Louder Than Others: Trumpet Size & Hz — how trumpet length sets the base frequency that Doppler then shifts.
- Nathan AirChime K5LA Review — the horn whose bells we used for the worked numbers above.
Frequently asked questions
Quick answers to the questions people ask most about this topic.
- Why does a train horn change pitch as it passes you?
- Because of the Doppler effect. While the train approaches, each sound wave is launched from a point closer to you, so the waves bunch up and arrive more often, which you hear as a higher pitch. After it passes, the waves are stretched out and the pitch drops. The horn itself never changes.
- How much does a train horn's pitch change with the Doppler effect?
- It depends on speed. Using the standard Doppler formula with sound at 343 m/s, a train at 60 mph sounds about 8.5 percent high on approach and about 7 percent low after passing, a total drop of nearly three semitones. At 25 mph the total drop is only about one semitone.
- Does the Doppler effect make a train horn louder?
- No. Doppler changes only the frequency, or pitch. The swell in loudness as a train arrives comes from the shrinking distance between you and the horn, which federal rules require to measure 96 to 110 dB(A) at 100 feet forward of the locomotive.
- Does the engineer hear the train horn change pitch?
- No. The engineer moves with the horn, so there is no relative motion between source and listener and no Doppler shift. Only people on the ground beside the tracks hear the pitch rise and fall.
- Who first proved the Doppler effect with a train?
- Dutch scientist Christoph Buys Ballot in 1845. He put trumpeters on an open railcar on the Utrecht to Maarssen line and had listeners on the ground judge the note; they heard it about a half-tone high approaching and a half-tone low receding, confirming Christian Doppler's 1842 prediction.





