Pendulum Calculator: Period, Length and Large-Angle Swings with Local Gravity
By FindMySum · Last reviewed
A pendulum is one of the simplest oscillators there is, a weight on a string, yet working out exactly how long it takes to swing takes some real mathematics. This pendulum calculator finds the period and frequency of a simple pendulum for any release angle, using the exact large-amplitude formula rather than the small-angle shortcut, or the length you need for a given period. It takes gravity from your latitude and elevation, the Moon, Mars or your own value, and it handles physical pendulums: rods, discs, rings, spheres and plates swinging from a pivot.
The small-angle formula
For small swings, a simple pendulum (a point mass on a light, rigid string) has a period
T₀ = 2π√(L ÷ g)
where L is the length from the pivot to the centre of the bob and g the gravitational acceleration. The period does not depend on the mass, and for small angles it hardly depends on how far the pendulum swings. The frequency is f = 1 ÷ T.
Worked example: a 1 m pendulum at 10°
The calculator opens with a 1 m pendulum released from 10° under standard gravity, 9.80665 m/s².
- T₀ = 2π√(1 ÷ 9.80665) = 2.0064 s
- The exact period at 10° is 2.0102 s, 0.19% longer
- Frequency = 1 ÷ 2.0102 = 0.497 Hz
- Speed at the bottom = √(2gL(1 − cos 10°)) = 0.546 m/s, and a 1 kg bob carries 0.149 J
A 1 m pendulum is very nearly a "seconds pendulum", ticking once a second at each end of its swing. The exact length for a 2 s period under standard gravity is 0.9936 m.
Large swings: the exact period
The restoring force on a pendulum is proportional to sin θ, not θ, so for larger swings the motion slows near the ends and the period grows. The exact result is
T = 4√(L ÷ g) × K(sin(θ₀ ÷ 2))
where K is the complete elliptic integral of the first kind. The calculator evaluates K with the arithmetic–geometric mean, which converges to full precision in a few steps. The series T₀(1 + θ₀²/16 + 11θ₀⁴/3072) is shown as a check; it is excellent below about 60° but falls behind at very large angles. The chart and table show how fast the period grows: about 0.2% at 10°, 1.7% at 30°, 7.3% at 60° and 18% at 90°. As the release angle approaches 180°, the pendulum balances upside down and the period grows without limit.
Local gravity
Gravity is not the same everywhere on Earth. The planet's rotation and its slightly flattened shape make g about 0.5% stronger at the poles than at the equator, and it falls by about 3 mm/s² for every kilometre of height. Choose "my latitude and elevation" and the calculator uses the WGS 84 normal gravity formula from the U.S. National Imagery and Mapping Agency's technical report TR8350.2: 9.7803 m/s² at the equator, 9.8062 m/s² at 45° and 9.8322 m/s² at the poles. In Calgary, at 51° N and 1,045 m, g is about 9.8084 m/s². Or try the Moon, where a 1 m pendulum takes almost 5 seconds per swing.
Length for a period
Switch to the length mode and enter the period you want. The calculator inverts the exact formula, L = g × (T ÷ 4K)², so the result is right even for a large release angle. For a pendulum clock, use the angle the pendulum actually swings, usually only a few degrees.
Physical pendulums
A real swinging object, such as a rod, a door sign or a gymnast on a bar, has its mass spread out. Its period is
T = 2π√(I ÷ (m g d))
where I is the moment of inertia about the pivot and d the distance from the pivot to the centre of mass. The calculator finds I with the parallel-axis theorem, I = I_cm + m d², from the body's own moment of inertia. A 1 m rod hung from one end has I = mL²/3 and d = L/2, giving T = 1.64 s, the same as a simple pendulum two-thirds as long. That equivalent length is shown for every body. A disc of radius 0.2 m hung from its rim swings with T = 1.10 s.
Limits
The formulas describe an ideal pendulum: no air resistance, no friction at the pivot, a string that neither stretches nor bends, and a pivot that does not move. Real pendulums lose amplitude over time, their rods change length with temperature, and the gravity formula leaves out local variations caused by mountains and dense rock, which are typically a few parts in 100,000.
More questions
Who discovered that a pendulum keeps steady time?
Galileo noticed around 1602 that a pendulum's swings take about the same time whatever their size, an observation later refined: it is only true for small swings. Christiaan Huygens built the first pendulum clock in 1656, improving timekeeping from about 15 minutes a day to about 15 seconds.
What is a Foucault pendulum?
A long, heavy pendulum free to swing in any direction. As the Earth turns beneath it, its plane of swing appears to rotate, completing a circle in 24 hours at the poles and more slowly at lower latitudes (24 hours divided by the sine of the latitude). Léon Foucault demonstrated it in Paris in 1851 as direct evidence of the Earth's rotation.
Why do pendulum clocks run slow in summer?
Heat makes the rod expand, which lengthens the pendulum and its period. A steel rod gets about 0.0012% longer per degree Celsius, which slows the clock by about half a second a day per degree. Precision clocks used compensated pendulums of mixed metals, mercury jars or low-expansion alloys such as Invar.
How is a pendulum used to measure gravity?
Since g = 4π²L/T², timing a pendulum of known length gives the local gravitational acceleration. Geodesists used reversible (Kater) pendulums for this until the mid-20th century; today absolute gravimeters time a falling mass with a laser instead, reaching parts per billion.
Is a child's swing a pendulum?
Roughly, yes: a swing about 2.5 m long has a natural period of about 3.2 seconds. Pumping your legs at the right moment in each swing adds energy in time with that natural frequency, which is resonance. The rider's body makes it a physical pendulum, so its effective length is a little shorter than the ropes.
What is the difference between period and frequency?
The period is the time for one complete oscillation, there and back, in seconds. The frequency is how many oscillations happen each second, in hertz, so f = 1 ÷ T. A 1 m pendulum has a period of about 2 s and a frequency of about 0.5 Hz.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.