Bug-Rivet Paradox Calculator

Explore the bug-rivet (barn-pole) paradox of special relativity. Calculate Lorentz contraction, time dilation, and frame-dependent simultaneity for any speed.

Presets

0 < β < 1
Lorentz Factor γ
2.2942
1/√(1−β²)
Rivet in Barn Frame
4.3589 m
Contracted from 10 m — ✅ fits in barn
Barn in Rivet Frame
17.4356 m
Contracted from 40 m — ✅ rivet fits
Speed
269.81 Mm/s
90.00% of c
Traverse (barn frame)
148.25 ns
Time for rivet to cross barn
Traverse (rivet frame)
64.62 ns
Time for barn to pass rivet

Length Comparison

Barn frame: Barn (40 m) vs Rivet (4.36 m contracted)
Barn 40m
Rivet 4.4m
Rivet frame: Barn (17.44 m contracted) vs Rivet (10 m)
Barn 17.4m
Rivet 10m

Lorentz Contraction vs Speed

β (v/c)γRivet in Barn (m)Barn in Rivet (m)Fits?
0.11.0059.9539.80
0.31.0489.5438.16
0.51.1558.6634.64
0.71.4007.1428.57
0.81.6676.0024.00
0.92.2944.3617.44
0.953.2033.1212.49
0.997.0891.415.64

The Paradox Explained

FrameObservationResolution
BarnContracted rivet fits insideBoth doors can be closed simultaneously (in this frame)
RivetContracted barn is too shortDoors close at different times — relativity of simultaneity
BothSeem contradictoryNo paradox: "simultaneously" depends on the frame
Planning notes, formulas, and examples

About the Bug-Rivet Paradox Calculator

The **Bug-Rivet Paradox Calculator** (also known as the barn-pole paradox) illustrates one of the most counter-intuitive results of Einstein's special relativity: length contraction and the relativity of simultaneity. A long pole (or rivet) flies through a short barn (or hole). In the barn's frame, the pole is Lorentz-contracted and fits inside. In the pole's frame, the barn is contracted and appears too short.

Both observations are correct — the paradox is resolved by recognising that "simultaneously closing both barn doors" means different things in different frames. Events that are simultaneous in one frame are **not** simultaneous in another. This calculator lets you set any proper lengths and relative speed, computing the contracted lengths in both frames, the Lorentz factor, traversal times, and a detailed speed-comparison table.

This is a superb teaching tool for introductory special relativity courses, illustrating length contraction, time dilation, and the breakdown of absolute simultaneity.

When This Page Helps

The barn-pole paradox is a cornerstone thought experiment in special relativity education. This calculator makes the abstract concrete — showing exact contraction values, frame-by-frame analysis, and resolution in a clear, interactive format.

How to Use the Inputs

  1. Enter the proper length of the barn (in metres).
  2. Enter the proper length of the rivet or pole.
  3. Set the relative speed as a fraction of c (β = v/c).
  4. Read the contracted lengths in each frame and whether the rivet "fits".
  5. Compare the visual bars showing lengths in each frame.
  6. Explore the speed table to see how contraction varies with β.
Formula used
Lorentz Factor: γ = 1/√(1 − β²) Contracted Rivet (barn frame): L_rivet/γ Contracted Barn (rivet frame): L_barn/γ Traverse Time (barn frame): L_barn/v Resolution: Relativity of simultaneity — events ordered differently in each frame

Example Calculation

Result: γ = 2.294, rivet contracts to 4.36 m (fits in 40 m barn), barn contracts to 17.4 m (rivet still fits)

At 0.9c, the Lorentz factor is 2.294. In the barn frame, the 10 m rivet appears just 4.36 m long and easily fits. In the rivet frame, the barn contracts to 17.4 m — still longer than the rivet. The paradox arises for configurations where the pole IS longer than the barn at rest.

Tips & Best Practices

  • Set the rivet longer than the barn and β high to see the paradox in full effect.
  • At β = 0.866, γ = 2 — a 20 m pole contracts to 10 m in the barn frame.
  • Lorentz contraction is along the direction of motion only — transverse dimensions are unchanged.
  • The paradox only seems contradictory because our intuition assumes absolute simultaneity.
  • Try the "symmetric" preset (equal lengths) to see the simplest case.

When To Use This Calculator

Explore the bug-rivet (barn-pole) paradox of special relativity. Calculate Lorentz contraction, time dilation, and frame-dependent simultaneity for any speed. Use it when you need a repeatable calculation in the physics / general category and want the setup, result, and supporting values kept together. This is especially helpful when small input changes, unit choices, or rounding decisions can change the final number.

How To Check The Result

Start by confirming that the inputs match the formula shown on the page. Then compare the main output with the worked example and any secondary values shown by the calculator. If the result will be used in another calculation, keep extra precision until the final step and record the assumptions beside the number.

Practical Notes

Treat the result as a calculation aid rather than a substitute for context. For schoolwork, include the formula and substitution steps. For planning, technical, financial, or health-related decisions, verify important numbers against primary records, current rules, or a qualified professional before acting on them.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • A thought experiment where a fast-moving rivet (or pole) appears contracted in the barn frame but the barn appears contracted in the rivet frame. The apparent contradiction is resolved by the relativity of simultaneity.