Galileo, the story goes, watched a lamp swinging in Pisa cathedral and timed it against his own pulse. What struck him was that the lamp seemed to take the same time for each swing, whether the swing was wide or had decayed to a gentle sway. That observation — that a pendulum keeps a near-constant beat — turned a hanging weight into the heart of the mechanical clock and held that role for nearly three centuries.
This article explains why a simple pendulum behaves so regularly, where the famous period formula comes from, and the one assumption that makes it work — an assumption that quietly breaks down once the swings get wide.
Why this calculation matters
For a long time the pendulum was precision timekeeping. A clock's accuracy came down to the length of its pendulum and how stably that length could be held, which is why pendulum clocks had to be temperature-compensated: a brass rod that lengthens on a warm day runs the clock slow. The same physics still shows underfoot in metronomes, in playground swings, and in the slow sway of tall structures and suspended loads.
The pendulum also earns its place as a teaching tool because it is the cleanest example of simple harmonic motion. It shows, in one tidy system, how a restoring force produces oscillation, how energy trades between kinetic and potential forms, and — importantly — how a convenient linear approximation can be both extremely useful and quietly wrong at the edges. Understanding when the standard formula applies, and when it does not, is a skill that carries into every vibration problem an engineer meets later.
The core formula
A simple pendulum is an idealisation: a point mass on a massless, inextensible string, swinging without air resistance. When it hangs at an angle theta from the vertical, gravity provides a restoring force that pulls it back toward the bottom. That restoring force is proportional to sin(theta).
For small angles, sin(theta) is very nearly equal to theta itself (with theta in radians). Making that substitution turns the equation of motion into the equation of simple harmonic motion, and the period — the time for one complete back-and-forth swing — comes out as:
T = 2 * pi * sqrt(L / g)
Here T is the period in seconds, L is the length of the pendulum in metres, and g is the acceleration of gravity in m/s^2. Three features of this result are worth absorbing.
First, the mass of the bob does not appear. A heavy bob and a light one on strings of equal length swing in step. Gravity pulls harder on the heavier bob, but the heavier bob also resists acceleration more, and the two effects cancel exactly.
Second, the amplitude does not appear either — for small swings. A wide gentle arc and a narrow one take the same time. This property, called isochronism, is what made the pendulum useful for clocks.
Third, the period depends only on length and gravity, and on length through a square root. To double the period you must quadruple the length. That square-root relationship is why long-case clocks are tall.
The isochronism is approximate, not exact. It rests entirely on the small-angle substitution. As the swing widens, sin(theta) falls increasingly short of theta, the true restoring force is a little weaker than the linear model assumes, and the real period grows slightly longer than the formula predicts.
A worked example
Find the period of a simple pendulum of length L = 1.0 m, with g = 9.81 m/s^2.
Step 1 — form the ratio inside the square root.
L / g = 1.0 / 9.81 = 0.1019 s^2
Step 2 — take the square root.
sqrt(0.1019) = 0.3193 s
Step 3 — multiply by 2 pi.
T = 2 * pi * 0.3193
T = 2.01 s
So a one-metre pendulum swings with a period of about 2.01 seconds — close enough to two seconds that a pendulum just under a metre long became the classic "seconds pendulum," ticking once per half-swing. Notice that nothing about the bob's mass entered the calculation, and for a modest swing nothing about the amplitude did either.
That last point comes with a caveat. The 2.01 second result assumes small swings. Pull the same pendulum out to a large angle and the small-angle formula starts to under-predict: the true period grows slightly longer, by a fraction of a percent at moderate angles and by several percent once the swing approaches the horizontal. For a clock, even a fraction of a percent matters, which is why pendulum clocks are designed to swing through only a narrow arc.
Common mistakes
Expecting heavier bobs to swing slower. They do not. Mass cancels out of the period entirely. If an experiment seems to show otherwise, the cause is usually air drag or a string whose own mass is no longer negligible.
Trusting the small-angle formula at large angles. T = 2 pi sqrt(L/g) is a small-angle result. Past roughly 15 to 20 degrees the error becomes noticeable, and it always runs one way — the real period is longer than the formula says, never shorter.
Confusing period with half-period. The period is one full cycle: out and all the way back. A "seconds pendulum" ticks every half-period, so its full period is two seconds, not one. Mixing the two introduces a clean factor-of-two error.
Using the wrong length. L is measured from the pivot to the centre of mass of the bob, not to the top of the bob or the point where the string is tied. For a real bob of finite size this distinction shifts the answer.
Forgetting that g varies with location. The acceleration of gravity is not a universal constant to three decimals. It changes with latitude and altitude, so a pendulum clock calibrated at sea level will keep slightly different time on a mountain.
Try the interactive NovaSolver calculator
The small-angle formula is easy to state but easy to over-trust, and the interesting physics lives in the gap between the approximation and the truth. The Large-Amplitude Pendulum Simulator — Period vs Amplitude on NovaSolver lets you set the pendulum length, amplitude, gravity, and bob mass, and then shows both the small-angle period and the exact period side by side, along with the percentage error between them and the potential energy of the swing. It is the quickest way to see exactly where T = 2 pi sqrt(L/g) stops being trustworthy.
Related calculators
- Double pendulum simulator — add a second arm and the tidy, predictable motion gives way to chaos; a striking next step after the simple case.
- Torsion pendulum calculator — the same oscillation idea, but with a twisting wire providing the restoring torque instead of gravity.
- Circular motion calculator — useful for seeing how a pendulum's swing relates to the broader family of rotational and periodic motion.
You can browse the rest in the physics tools hub.
Closing note
The simple pendulum rewards a second look. Its period formula is short enough to memorise, yet it carries a real lesson: the elegant result that the period depends only on length and gravity is true only because of a quiet approximation hidden inside it. For small swings that approximation is excellent and the pendulum is a near-perfect clock. For large swings it slips, and the real period stretches. Know the formula, know the length you should be measuring, and above all know the angle at which the neat answer stops being the right one — and the pendulum becomes a dependable model rather than a trap.
Top comments (0)