Advertisement

Barn-pole paradox calculator

Explore how length contraction and relativity of simultaneity resolve the pole-and-barn thought experiment.

Calculator

Vacuum c = 299792458 m/s. Enter, for example, 179875474.8 m/s for 0.6c.

Pole length in selected frame
8
Barn length in selected frame
9
Pole length in barn frame
8
Barn length in pole frame
7.2
Proper pole length
10
Proper barn length
9
Relative speed
179,875,000
Speed / c
0.60000000
Lorentz factor
1.25000000
Exit-door minus entrance-door closing time
0
Barn-frame fit
Fits at one barn-frame instant
Crossing and ideal door events in selected frame
EventTime (ns)Position (m)
Pole front enters0.000000000.00000000
Pole rear enters44.475212690.00000000
Entrance door briefly closes44.475212690.00000000
Exit door briefly closes44.475212699.00000000
Pole front exits50.034614289.00000000
Pole rear exits94.509826979.00000000

Advertisement

How this calculator works

Both lengths entered are rest lengths. The barn observer measures a contracted moving pole, while the pole observer measures a contracted barn. The apparent contradiction disappears when the same door events are transformed: doors that close together in the barn frame close at different times in the pole frame. The timeline sets the front of the pole at the entrance at t = x = 0. When fitting is possible, both ideal doors close briefly at the barn-frame rear-entry time. The exit door reopens immediately; a permanently closed door would cause a collision, not trap an unchanged rigid pole. Speed and size inverse modes calculate the just-fitting boundary.

Formula

gamma = 1/sqrt(1-v²/c²); moving pole length = l0/gamma; moving barn length = L0/gamma. t_prime = gamma(t-vx/c²); x_prime = gamma(x-vt). Minimum fit speed = c sqrt(1-(L0/l0)²) when l0 > L0.

Worked example

At 0.6c, a 10 m pole has barn-frame length 8 m and can briefly fit a 9 m barn. In the pole frame the barn is 7.2 m long, but the two barn-simultaneous door events are no longer simultaneous.

Advertisement

Frequently asked questions

Which frame decides whether it fits?

Simultaneous spatial fit is frame-dependent. All frames agree on the individual crossings and door events.

Why can a pole longer than the barn fit?

Its barn-frame length is contracted and the endpoints are measured at one barn-frame time.

Can the doors remain shut?

Then collision and finite-speed material stresses matter. This timeline assumes doors close only momentarily and reopen without obstructing the pole.

Sources

Advertisement