Barn-Pole Paradox

Does a fast pole fit in a shorter barn? Compare the barn frame and pole frame, the two door closings and the simultaneity offset between them.

🏚️ Barn-Pole Paradox
Rest lengthseach measured in its own rest frame, in metres
Pole rest length (m)
Barn rest length (m)
Speed of the pole through the barnpercent of c, above 0 and below 100
% of c
Verdict
—
Lorentz factor γ
—
Pole length, barn frame
—
Barn length, pole frame
—
Barn frame margin
—
Pole frame margin
—
Both doors closed with pole inside?
—
Time window, barn frame
—
Door offset in the pole frame
—
Min speed to fit, barn frame
—

Diagram key: the blue bar is the pole, the grey lines are the barn walls, a solid red line is a closed door and a dashed grey line is an open door. Each diagram is drawn to scale in its own frame.

Events in both frames (Lorentz transformation)

🏚️ What is the Barn-Pole Paradox?

The barn-pole paradox, also called the ladder paradox or the car-and-garage paradox, is a thought experiment in special relativity. A pole whose rest length is longer than a barn is carried at high speed through the barn, which has a door at each end. In the barn frame the pole is length-contracted by the Lorentz factor, L = Lp / γ, and if that is shorter than the barn there is a brief interval when the whole pole is inside and both doors can be shut at the same instant. In the pole frame it is the barn that is contracted, to Lb / γ, so the barn is even shorter than the pole and the pole can never be inside. The two verdicts look contradictory, and the question is which is correct. This calculator shows both verdicts for your numbers and then shows exactly how the contradiction disappears.

The answer is the relativity of simultaneity. Fitting inside the barn means that the pole front is inside the back door and the pole tail is inside the entrance door at the same moment. Observers in relative motion disagree about which separated events are simultaneous. The two door closings are simultaneous in the barn frame, but in the pole frame the back door closes first, earlier by Δt' = γ v Lb / c², and by then the pole tail has already passed the entrance, which is not yet closed. There is no instant in the pole frame when both doors are shut around a pole that is wholly inside. Every observer agrees about each individual event, such as the pole front reaching the back door, and the event table on this page lists them in both frames using the Lorentz transformation.

Use it to check homework, to find the minimum speed at which a pole of a given length fits in a barn in the barn frame, and to see how large the offsets are: for metre-sized barns they are tens to hundreds of nanoseconds, which is why nobody notices the effect in everyday life. A common misconception is that the pole is physically squeezed. It is not; the length is a measurement that depends on the frame. Another is that one of the observers must be wrong. Neither is, since fitting is not an invariant statement. What actually happens if the pole is stopped, or hits a closed door, depends on how forces travel through a real material, and rigid bodies do not exist in relativity, so that part is not modelled.

For the contraction on its own use the length contraction calculator, and for the clock side the time dilation calculator. A neighbouring thought experiment with a different focus, a rivet longer than its hole, is on the Bug-Rivet Paradox page.

📐 Formula

Barn frame: L = Lp / γ    Pole frame: Lb′ = Lb / γ    Δt′ = γ v Lb / c²
Lp = pole rest length; Lb = barn rest length; γ = 1 / √(1 − v²/c²).
Fits in the barn frame when Lp / γ ≤ Lb, which needs β ≥ √(1 − (Lb/Lp)²). The window lasts (Lb − L) / v.
Fits in the pole frame only when Lp ≤ Lb / γ, which is stricter.
Lorentz transformation: x′ = γ(x − v t), t′ = γ(t − v x / c²), with the origin at the event where the pole front reaches the entrance door.
Events: A front at entrance (0, 0); B tail passes entrance (0, L/v); C front at back door (Lb, Lb/v); D1 and D2 doors close at t = (L + Lb) / 2v, the middle of the window.
Example: 20 m pole, 10 m barn, 0.9c: γ = 2.294, L = 8.718 m, Lb′ = 4.359 m, Δt′ = 68.87 ns.

📖 How to Use This Calculator

Steps

1
Enter the rest lengths. Type the pole rest length and the barn rest length in metres, each as measured in its own rest frame.
2
Enter the speed. Type the speed of the pole through the barn as a percentage of the speed of light, below 100.
3
Read the two verdicts. The cards give the contracted pole in the barn frame, the contracted barn in the pole frame, whether both doors can be shut with the pole inside, the time window and the door offset in the pole frame.
4
Check the events. The table lists each event in both frames, and the two scaled diagrams and the chart show the lengths and the speed at which the verdicts change.

💡 Example Calculations

Example 1 — The Classic Case

A 20 m pole runs through a 10 m barn at 0.9c

1
γ = 1 / √(1 − 0.81) = 2.29416, so in the barn frame the pole is 20 / 2.29416 = 8.7178 m, which is 1.2822 m shorter than the barn.
2
The whole pole is inside for (10 − 8.7178) / (0.9c) = 4.7522 ns, and both doors can be shut in that window.
3
In the pole frame the barn is only 4.3589 m, so the pole cannot fit, and the back door closes 68.872 ns before the entrance door.
Fits in the barn frame only, offset 68.872 ns
Try this example →

Example 2 — Too Slow

The same 20 m pole and 10 m barn at only 0.8c

1
γ = 1 / √(1 − 0.64) = 1.66667, so the pole contracts to 20 / 1.66667 = 12 m.
2
That is 2 m longer than the barn, so the pole never fits in the barn frame and the doors cannot both be shut on it.
3
In the pole frame the barn is 6 m, so it does not fit there either. There is no paradox.
Does not fit in either frame, pole is 12 m
Try this example →

Example 3 — A Short Pole

A 5 m pole through a 10 m barn at 0.6c

1
γ = 1.25, so the pole is 5 / 1.25 = 4 m and the barn in the pole frame is 10 / 1.25 = 8 m.
2
Both frames say the pole is shorter than the barn, so it fits in both. The barn frame window is 33.356 ns.
3
The doors still close out of step in the pole frame, back door first by 25.017 ns, but nothing contradictory is said about fitting.
Fits in both frames, window 33.356 ns
Try this example →

Example 4 — A Barely Fitting Long Pole

A 30 m pole and a 10 m barn at 0.95c

1
The minimum speed to fit is √(1 − (10/30)²) = 94.2809% of c, so 95% is just above it.
2
γ = 3.20256, so the pole is 30 / 3.20256 = 9.3675 m, only 0.6325 m shorter than the barn, and the window is 2.2208 ns.
3
The barn is 3.1225 m in the pole frame, and the back door closes 101.48 ns before the entrance door there.
Fits in the barn frame only, window 2.2208 ns
Try this example →

Example 5 — A Car and a Garage

A 5 m car through a 4 m garage at 0.8c (illustrative sizes)

1
γ = 1.66667, so the car contracts to 5 / 1.66667 = 3 m, which is 1 m shorter than the garage.
2
The window in the garage frame is 4.1696 ns.
3
In the car frame the garage is 2.4 m and the back door closes 17.79 ns before the front door.
Fits in the garage frame only, offset 17.79 ns
Try this example →

❓ Frequently Asked Questions

What is the barn-pole paradox?+
A pole longer than a barn runs through it at high speed. In the barn frame the pole is length-contracted and fits inside, so both doors can be shut at once. In the pole frame the barn is contracted and is shorter than the pole, so it cannot fit. The paradox asks which is right.
How is the barn-pole paradox resolved?+
By the relativity of simultaneity. The two door closings are simultaneous in the barn frame but not in the pole frame, where the back door closes first. The frames agree on every event and only disagree on the time order of the two spatially separated door events.
Is it the same as the ladder paradox?+
Yes. The barn-pole paradox is the ladder paradox, also called the pole-and-barn or car-and-garage paradox. They differ only in the objects used.
What speed is needed for a 20 m pole to fit in a 10 m barn?+
The pole contracted by γ must be no longer than the barn, so γ must be at least 2. That needs a speed of at least 86.60254 percent of c, or about 259,628 km/s.
Does the pole really fit in the barn?+
In the barn frame, yes, for a short time window. In the pole frame the pole never fits. Both statements are correct for their own frame, because fitting means that both ends are inside at the same instant, and simultaneity is frame dependent.
Why does the back door close first in the pole frame?+
Events that are simultaneous in the barn frame and separated by a distance Lb along the motion have a time gap Δt' = γ v Lb / c² in the pole frame. The event farther along the direction of motion in the barn frame happens earlier there, which is the back door.
What happens if the doors stay closed?+
The pole front would crash into the closed back door. Rigid bodies do not exist in relativity, because a push cannot travel faster than light, so the front stops before the tail knows. The outcome depends on the material and is not modelled here.
Can the pole stop inside the barn?+
Only if it decelerates, and then the tail and front stop at different times, so the pole is compressed or deformed. After stopping it has its rest length again and no longer fits.
What if the pole is shorter than the barn?+
Then it fits in both frames at low speed, and the paradox disappears. Time dilation and length contraction still apply, but there is no disagreement about fitting.
How is this different from the bug-rivet paradox?+
Here the question is whether an object fits between two doors. The bug-rivet paradox asks whether a rivet that is longer than the hole crushes a bug at the bottom of the hole, and the focus is on what the rivet tip does.

What is the barn-pole paradox?

A pole longer than a barn runs through it at high speed. In the barn frame the pole is length-contracted and fits inside, so both doors can be shut at once. In the pole frame the barn is contracted and is shorter than the pole, so it cannot fit. The paradox asks which is right.

How is the barn-pole paradox resolved?

By the relativity of simultaneity. The two door closings are simultaneous in the barn frame but not in the pole frame, where the back door closes first. The frames agree on every event and only disagree on the time order of the two spatially separated door events.

Is it the same as the ladder paradox?

Yes. The barn-pole paradox is the ladder paradox, also called the pole-and-barn or car-and-garage paradox. They differ only in the objects used.

What speed is needed for a 20 m pole to fit in a 10 m barn?

The pole contracted by γ must be no longer than the barn, so γ must be at least 2. That needs a speed of at least 86.60254 percent of c, or about 259,628 km/s.

Does the pole really fit in the barn?

In the barn frame, yes, for a short time window. In the pole frame the pole never fits. Both statements are correct for their own frame, because fitting means that both ends are inside at the same instant, and simultaneity is frame dependent.

Why does the back door close first in the pole frame?

Events that are simultaneous in the barn frame and separated by a distance Lb along the motion have a time gap Δt' = γ v Lb / c² in the pole frame. The event farther along the direction of motion in the barn frame happens earlier there, which is the back door.

What happens if the doors stay closed?

The pole front would crash into the closed back door. Rigid bodies do not exist in relativity, because a push cannot travel faster than light, so the front stops before the tail knows. The outcome depends on the material and is not modelled here.

Can the pole stop inside the barn?

Only if it decelerates, and then the tail and front stop at different times, so the pole is compressed or deformed. After stopping it has its rest length again and no longer fits.

What if the pole is shorter than the barn?

Then it fits in both frames at low speed, and the paradox disappears. Time dilation and length contraction still apply, but there is no disagreement about fitting.

How is this different from the bug-rivet paradox?

Here the question is whether an object fits between two doors. The bug-rivet paradox asks whether a rivet that is longer than the hole crushes a bug at the bottom of the hole, and the focus is on what the rivet tip does.