Barn Pole Paradox Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
A pole longer than a barn races through it near the speed of light. Does it fit? Enter both lengths and the speed.
Result
Pole length in the barn's framem
Lorentz factor γ
- Barn length in the pole's frame (m)
- In the barn's frame
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Pole rest length, in m: enter 0 or more.
- Barn rest length, in m: enter 0 or more.
- Speed (share of the speed of light, 0 to 0.9999): enter a number from 0 to 0.9999.
- Read the result: Pole length in the barn's frame; the panel also shows Lorentz factor γ, Barn length in the pole's frame (m) and In the barn's frame.
How this calculator works
Special relativity (Einstein, 1905): an object moving at speed v is measured shorter along its motion by the Lorentz factor γ = 1 ÷ √(1 − v² ÷ c²), so L = L₀ ÷ γ. Each observer sees the other's object contracted.
The paradox dissolves through the relativity of simultaneity: the two doors closing "at the same time" in the barn's frame do not close at the same time in the pole's frame.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Pole rest length | m | |
| Speed (share of the speed of light, 0 to 0.9999) | ||
| Lorentz factor γ | ||
| Pole length in the barn's frame | m |
Worked example
| Pole rest length | 20 m |
|---|---|
| Barn rest length | 15 m |
| Speed (share of the speed of light, 0 to 0.9999) | 0.8 |
| Lorentz factor γ | 1.6667 |
|---|---|
| Barn length in the pole's frame (m) | 9 |
| In the barn's frame | The pole fits inside the barn for a moment |
Pole length in the barn's frame 12 m
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Does a 20 m pole fit in a 15 m barn at 0.8 c?
In the barn's frame, yes: γ = 1.6667, so the pole measures 12 m. In the pole's frame the barn measures only 9 m.
Which length is the real one?
Both. Length depends on the frame of the measurement; neither frame is preferred.