Barn Pole Paradox Calculator - Lorentz Factor and Length Contraction

Use this barn pole paradox calculator to see how a fast pole contracts inside the barn and how the relativity of simultaneity lets both observers be right.

Updated: July 8, 2026 • Free Tool

Barn Pole Paradox Calculator

Rest length of the pole in its own frame (proper length).

Rest length of the barn (distance between its front and back doors).

Speed of the pole relative to the barn. Use a fraction of c, or a normal speed for the chosen unit.

Results

Lorentz factor (gamma)
0
Beta (v / c) 0
Pole length in barn frame 0
Barn length in pole frame 0
Fits in barn frame 0
Fits in pole frame 0

What Is the Barn Pole Paradox Calculator?

A barn pole paradox calculator lets you put numbers on one of special relativity's most stubborn thought experiments. You enter a pole's rest length, a barn's rest length, and the pole's speed, and the tool reports how long the pole and barn appear in each other's frame plus whether the pole fits through the barn.

  • Physics students: Check the numbers behind a textbook ladder-or-barn problem instead of trusting a verbal explanation.
  • Lecturers: Show live how changing the speed flips the answer from 'fits' to 'never fits'.
  • Curious readers: Explore why two observers can disagree about a single event yet both be correct.

The setup is simple. A runner carries a pole that, at rest, is longer than a barn. In the barn's frame the pole moves, so it should contract and slip inside with both doors briefly closed. In the pole's frame the barn moves instead, so the barn contracts and the pole can never fit. Both descriptions are correct, and the calculator makes the disagreement concrete by printing both contracted lengths.

What keeps the two stories from contradicting each other is not a mistake in the math but the relativity of simultaneity, covered later. The barn pole paradox calculator is really a calculator for the Lorentz factor and its consequences, which is why the length contraction relationship sits underneath every result it returns.

Before working through the pole and barn, the length contraction calculator shows the standalone formula L = L0 / gamma that the entire paradox depends on.

How the Barn Pole Paradox Calculator Works

The calculator applies the Lorentz transformation to the two rest lengths you provide. Everything follows from one dimensionless number, the Lorentz factor gamma, which grows as the speed approaches light speed.

L = L0 / gamma, gamma = 1 / sqrt(1 - v^2 / c^2)
  • L0: Proper length of the object, measured in its own rest frame.
  • L: Length measured by an observer for whom the object is moving.
  • v: Relative speed between the object and the observer.
  • c: Speed of light in vacuum, exactly 299,792,458 meters per second.
  • gamma: Lorentz factor, always 1 or larger, equal to 1 only at rest.

In the barn frame the pole is the moving object, so its contracted length is L0_pole divided by gamma. In the pole frame the barn is the moving object, so its contracted length is L0_barn divided by gamma. Because the same gamma appears in both, the tool needs only one speed value to report both frames.

The calculator then compares each contracted length with the other object's proper length. If the contracted pole is shorter than or equal to the barn's proper length, the pole fits in the barn frame. If the contracted barn is shorter than the pole's proper length, the pole does not fit in the pole frame. Those two yes-or-no answers are what make the paradox visible.

Classic 10 m pole, 5 m barn at 0.866c

Pole rest length 10 m, barn rest length 5 m, speed 0.866c (about the square root of three halves).

gamma = 1 / sqrt(1 - 0.866^2) = 2. Contracted pole = 10 / 2 = 5 m. Contracted barn = 5 / 2 = 2.5 m.

In the barn frame the pole is exactly 5 m and fits; in the pole frame the barn is 2.5 m and the pole does not fit.

The numbers confirm the standard textbook case: the fit depends entirely on which frame you measure in.

According to Wikipedia (Length contraction), Length contraction is given by L = L0 times the square root of one minus v squared over c squared, shortening a moving object along its direction of motion.

According to Britannica (Special relativity), Special relativity shows that measurements of space and time depend on the relative motion of the observer, which is the basis for the two conflicting frames.

When you compare two moving frames, the velocity addition calculator helps you combine the runner's speed with any third observer instead of guessing the relative velocity.

Key Concepts Explained

Three ideas carry the whole paradox. Master them and the calculator's output is easy to read.

Proper length

The length of an object measured in the frame where it is at rest. The pole's 10 m and the barn's 5 m in the example are proper lengths.

Lorentz factor (gamma)

The multiplier that sets how strong relativistic effects are. At everyday speeds gamma is 1 to many decimal places; near light speed it grows without bound.

Relativity of simultaneity

Whether two events happen at the same time depends on the observer's motion. The barn doors do not close at the same instant in the pole's frame, which removes the contradiction.

Frame dependence

There is no single 'real' contracted length. Each inertial observer measures a self-consistent value, and no frame is privileged.

Gamma is the single number that ties the whole theory together, so understanding it once explains length contraction, time dilation, and the momentum of fast objects.

Frame dependence is the part most often misunderstood. The pole is not physically compressed like a spring; space itself is measured differently by the two observers, and each measurement is as real as the other.

The same Lorentz factor that shrinks the pole also slows moving clocks, so the time dilation calculator is the natural companion for understanding gamma.

How to Use This Calculator

Follow these steps to get a clean, physically meaningful answer.

  1. 1 Enter the pole rest length: Type the pole's proper length and pick its unit from the menu.
  2. 2 Enter the barn rest length: Type the barn's proper length, using the same unit you chose for the pole.
  3. 3 Choose a speed unit: Pick fraction of c, m/s, km/h, or mph depending on the numbers you have.
  4. 4 Enter the relative speed: Type the speed; the tool converts it to a fraction of light speed internally.
  5. 5 Read the two fit answers: Compare the barn-frame and pole-frame results to see the paradox directly.

Try a 20 ft pole and a 10 ft barn at 0.9c. Gamma is about 2.29, so the pole contracts to roughly 8.7 ft in the barn frame and fits, while the barn contracts to about 4.4 ft in the pole frame and the pole does not fit.

If you want to see how motion changes measured signals, the Doppler effect calculator extends the frame-shift idea from length to light frequency.

Benefits of Using This Calculator

A numeric tool earns its place when the intuition fails, and few intuitions fail as hard as special relativity.

  • Removes hand-waving: The yes or no fit answers replace vague 'it depends on the frame' claims with explicit lengths.
  • Builds intuition for gamma: Sweeping the speed slider shows how quickly contraction grows as you approach light speed.
  • Connects to the wider theory: The same factor feeds time dilation and relativistic energy, so one worked example supports several topics.
  • Self-checking: Because both frames must agree on the actual events, mismatched answers signal a unit or speed-entry error.

Students often accept the paradox verbally but doubt it numerically. Printing both contracted lengths side by side makes the result impossible to dismiss.

Once gamma feels familiar, moving on to relativistic energy and momentum is a smaller step, because the same factor appears in those formulas too.

Once you trust gamma, the kinetic energy calculator shows how the same factor changes a moving object's energy at high speed.

Factors That Affect Your Results

Only two inputs drive the output, but small changes in either can flip the answer.

Relative speed

Speed is the dominant factor. Near zero the Lorentz factor is 1 and nothing contracts; near light speed the factor explodes and even a long pole fits a short barn.

Ratio of rest lengths

The fit depends on how the pole's proper length compares with the barn's. A pole only slightly longer than the barn needs a high speed to fit.

Which frame you read

The barn-frame fit and pole-frame fit answer different questions; reading the wrong one recreates the apparent contradiction.

Unit consistency

Both lengths must use the same unit, or the comparison mixes meters with feet and the fit answer is meaningless.

  • No massive object can reach the speed of light, so gamma has no finite maximum and the 'fully fits' limit is approached but never reached.
  • The model assumes inertial (constant-velocity) frames and ignores acceleration, gravity, and the finite stiffness of any real pole.
  • Contracted lengths are ideal measurements by synchronized rulers and clocks, not photographs, which would show extra optical distortion.

The paradox is a limit of ideal rigid motion. A real pole cannot be rigid at relativistic speed because signals cannot travel faster than light, so the thought experiment is about geometry, not a physical shove.

The cleanest way to keep both observers consistent is to compare their measurements at shared events rather than at a single shared instant, which is exactly the move the relativity of simultaneity supplies.

According to Wikipedia (Ladder paradox), The ladder paradox, another name for the barn pole paradox, is resolved by the relativity of simultaneity: the two doors are not closed at the same time in the ladder's rest frame.

Because the paradox uses special relativity, the gravitational time dilation calculator is a useful contrast for effects that come from gravity instead of motion.

Barn pole paradox calculator showing a contracted pole inside a barn with the Lorentz factor and relativity of simultaneity diagram
Barn pole paradox calculator showing a contracted pole inside a barn with the Lorentz factor and relativity of simultaneity diagram

Frequently Asked Questions

Q: What is the barn pole paradox?

A: The barn pole paradox is a special relativity thought experiment. A pole longer than a barn at rest can fit inside the barn when moving fast, because the pole contracts in the barn's frame. In the pole's own frame the barn contracts instead, so the pole does not fit. Both views are correct once you account for the relativity of simultaneity.

Q: Does the pole actually fit inside the barn?

A: It depends on the frame. In the barn's frame the moving pole contracts and can fit with both doors momentarily closed. In the pole's frame the barn contracts, so the pole never fits. Neither answer is wrong; they describe different, equally valid measurements of the same events.

Q: How does relativity of simultaneity resolve the paradox?

A: In the barn frame the front and back doors close at the same time while the contracted pole is inside. In the pole frame those two door-closing events are not simultaneous, so the doors never close on the pole at the same instant. The single set of events is consistent; only the timing of 'both doors closed' changes between frames.

Q: Why does the runner see the barn as shorter?

A: Length contraction applies to any moving object as measured by a given observer. From the runner's frame the barn is moving, so its measured length is its proper length divided by the Lorentz factor gamma. The runner and the farmer each see the other's object shortened because each is measuring a moving object.

Q: At what speed does the pole fit inside a shorter barn?

A: The pole fits the barn in the barn frame when its contracted length L0 / gamma is at most the barn's proper length. Solving for the Lorentz factor gives gamma at least L0_pole / L0_barn. For a 10 m pole and 5 m barn that means gamma at least 2, which occurs at about 0.866 times the speed of light.

Q: Is the barn pole paradox real or just a thought experiment?

A: The length contraction and the relativity of simultaneity behind it are real, measured effects confirmed by particle accelerators and GPS clock corrections. The barn and pole are a teaching story, but the physics they illustrate is observed whenever objects move at a significant fraction of light speed.