Motion

The Pendulum: Why Only Length Sets the Swing

By Lucian — builder & engineer, LK Forge

Hang a heavy weight and a light one on strings of the same length and swing them together: they keep time with each other exactly. Pull one out a little further and it still matches — up to a point. A simple pendulum ignores almost everything you might change about it, answering to just the length of the string, until you push the swing wide and the famous formula starts to lag. Here is the exact relationship, and a measurement of exactly where it breaks.

Animated simple pendulum swinging back and forth from a pivot, with the release angle marked and the bob tracing an arc.

A swing in the simple-pendulum simulator. Change the mass or the release angle and the period barely moves; change the length and it changes at once.

Length L Period T
0.25 m 1.00 s
0.5 m 1.42 s
1 m 2.01 s
2 m 2.84 s
4 m 4.01 s

g = 9.8 m/s². Note the pattern: 0.25 m → 1 s, and each ×4 in length is exactly ×2 in period. A 1-metre pendulum ticks almost exactly once per second each way — the reason grandfather clocks are about a metre tall.

Why mass and amplitude drop out

Mass disappears for the same reason all objects fall at the same rate: a heavier bob feels a proportionally stronger restoring pull, and the two effects cancel, so mass never enters the period. Amplitude drops out because for small angles the restoring force is very nearly proportional to the displacement — the condition for simple harmonic motion, where the period does not depend on how big the swing is. Push to large angles and that approximation frays: sin θ falls below θ, the restoring pull weakens, and each swing takes a little longer. Exactly how much longer is a thing you can measure — so we did.

How much a wide swing really slows it, measured 1° to 170°

To pin the number down, we ran the simulator’s own engine with no browser and no human: the exact same fourth-order Runge–Kutta integrator it ships, stepping the true equation of motion θ″ = −(g/L)·sinθ at its fixed 1/240-second step, released from rest at each amplitude from 1° to 170° (L = 1 m, g = 9.8 m/s²). The period is timed from the turning points, exactly as the live readout does. Each measured period is set against two references: the small-angle formula T₀ = 2π√(L/g), and the exact large-angle period from the elliptic integral.

22.9°
where the formula first errs by 1%
+4.0%
a 45° swing runs slow
+144%
at 170° the period more than doubles
0.008%
sim vs exact — the RK4 engine is faithful
2.0 2.5 3.0 3.5 4.0 4.5 5.0 small-angle T₀ = 2.01 s (flat) 2.01s 2.09s 2.37s 2.95s 4.90s 30°60°90°120°150° release amplitude → T (s)

The small-angle formula never moves; the true period (exact solution, with the measured RK4 points sitting on top of it) climbs away from it as the swing widens.

0% 25% 50% 75% 100% 125% 150% 1% @ 22.9° 5% @ 50.2° 10% @ 69.4° 30°60°90°120°150° release amplitude → error

How far the small-angle formula T = 2π√(L/g) sits below the true period. Modest for a schoolroom swing, unbounded near 180°, where the real period diverges to infinity.

AmplitudeMeasured TExact TIdeal T₀Formula errorSim vs exact
2.007 s 2.007 s 2.007 s 0.00% 0.008%
2.008 s 2.008 s 2.007 s +0.05% 0.004%
10° 2.011 s 2.011 s 2.007 s +0.19% -0.004%
15° 2.016 s 2.016 s 2.007 s +0.43% 0.006%
20° 2.022 s 2.022 s 2.007 s +0.77% 0.001%
23° 2.027 s 2.027 s 2.007 s +1.02% 0.000%
30° 2.042 s 2.042 s 2.007 s +1.74% -0.008%
45° 2.087 s 2.087 s 2.007 s +4.00% -0.001%
60° 2.154 s 2.154 s 2.007 s +7.32% -0.001%
70° 2.212 s 2.212 s 2.007 s +10.21% -0.001%
90° 2.369 s 2.369 s 2.007 s +18.03% -0.004%
110° 2.600 s 2.600 s 2.007 s +29.53% 0.005%
130° 2.950 s 2.950 s 2.007 s +46.98% -0.002%
150° 3.537 s 3.537 s 2.007 s +76.22% 0.002%
170° 4.896 s 4.896 s 2.007 s +143.94% 0.000%

Measured 9 September 2026, L = 1 m, g = 9.8 m/s². Formula error is the exact period above the small-angle T₀; sim vs exact is the shipped RK4 integrator against the elliptic solution — never more than 0.008% off, which is the whole case that the simulator is physically faithful.

Reproduce it yourself

The physics is four lines. The exact large-angle period is the small-angle T₀ divided by the arithmetic–geometric mean of 1 and cos(θ₀⁄2) — the same function the simulator uses. To get the measured column, step θ″ = −(g/L)·sinθ with RK4 (the sim’s solver) and time the turning points.

const g = 9.8, L = 1;                 // metres, m/s^2
const T0 = 2 * Math.PI * Math.sqrt(L / g);   // small-angle period

// exact period at release amplitude deg, via the AGM
function exactT(deg) {
  const th = deg * Math.PI / 180;
  let a = 1, b = Math.cos(th / 2);
  for (let i = 0; i < 16; i++) { [a, b] = [(a + b) / 2, Math.sqrt(a * b)]; }
  return T0 / a;
}

exactT(45);  // 2.087 s  -> +4.0% over T0
exactT(90);  // 2.369 s  -> +18%
exactT(170); // 4.896 s  -> +144%

The full measured sweep, including the RK4 turning-point timing, is the small script behind this post; the integrator it drives is the one the game ships.

Watch it happen

Open the simulator, wind the amplitude up, and watch the measured period pull ahead of the ideal on the live period-vs-amplitude curve.

Open the pendulum →
Share this X Facebook Reddit

Related reading

Common questions

Does a pendulum swing at the same rate no matter how far you pull it back?

Only for small swings. For angles under about 23° the period stays within 1% of the small-angle value T = 2π√(L/g), so it is very nearly independent of amplitude — the property called isochronism. Past that it slows measurably: our benchmark of the simulator found a 45° swing runs 4.0% slow, a 90° swing 18%, and a 170° swing takes 144% longer — more than double the small-angle period.

How wrong is the formula T = 2π√(L/g) at large angles?

The formula is the small-angle limit, exact only as the swing shrinks to nothing. Measured against the exact solution at L = 1 m, its error crosses 1% at about 23°, 5% at 50°, and 10% at 69°, then grows without bound as the amplitude approaches 180°, where the true period diverges to infinity. It understates the period because sin θ falls below θ at wide angles, weakening the restoring pull.

What is the exact period of a large-amplitude pendulum?

The exact period is T = T0 / M(1, cos(θ0⁄2)), where T0 = 2π√(L/g), θ0 is the release amplitude, and M is the arithmetic–geometric mean — equivalent to a complete elliptic integral of the first kind. The simulator computes this curve directly, and our headless benchmark confirms its step-by-step RK4 integration matches it to within 0.008% across the whole range.