How to use the pendulum calculator
- Choose what to calculate: the period from the length, the length for a period, or gravity from a pendulum you timed.
- Pick a bob on a string, or a uniform rod swinging from one end, and where the pendulum is: Earth, the Moon, a planet or any gravity you type in.
- Enter the length with its unit. For the length or gravity, give the timing as a period, a frequency, or a number of full swings and the time they took.
- Enter the amplitude, the largest angle from straight down, or leave it at 0 for small swings.
- Read the period, the frequency and the length, with the steps and a table of the same pendulum at other amplitudes.
The pendulum formula
A simple pendulum is a weight, the bob, hanging from a pivot on a light string or rod. Pulled aside and let go, it swings back and forth, and the time for one full swing there and back is its period T. For small swings the period is T = 2π√(L ÷ g), where L is the length from the pivot to the center of the bob and g is the acceleration due to gravity, standard 9.80665 m/s² on Earth. The frequency f = 1 ÷ T is the number of full swings per second, in hertz.
A pendulum 1 m long has a period of 2.0064 s, a frequency of 0.4984 Hz. A 2 m pendulum takes 2.8375 s, and a 25 cm one 1.0032 s: four times the length gives twice the period, because the period grows with the square root of the length. A 3 ft pendulum swings with a period of 1.9186 s. Turned around, L = g × (T ÷ 2π)², so a pendulum that swings once a second, at 1 Hz, must be 0.24841 m long. The mass of the bob appears nowhere in the formula: a heavy and a light bob on the same length swing together.
There is a handy rule of thumb on Earth. Because g ÷ π² is close to 1 m/s², the length in meters is about a quarter of the square of the period in seconds, L ≈ T² ÷ 4, and the period is about twice the square root of the length, T ≈ 2√L.
The seconds pendulum
A seconds pendulum has a period of exactly 2 seconds, so each swing one way takes one second, and a clock built around it ticks once a second. With standard gravity it is 0.99362 m long, less than a centimeter short of a meter. Gravity is a little stronger at the poles than at the equator, so the length changes from place to place: 0.99092 m at the equator and 0.99619 m at the poles. In 1790 Talleyrand proposed that the meter be defined as the length of the seconds pendulum at a latitude of 45°, but the French Academy of Sciences chose a fraction of the distance from the North Pole to the equator instead. The long, narrow cases built around seconds pendulums, first made by William Clement around 1680, became known as grandfather clocks.
Large swings and the exact period
The formula T = 2π√(L ÷ g) is the small-angle approximation. For small swings the period hardly depends on how far the pendulum swings, a property called isochronism that makes pendulums good timekeepers, but larger swings take a little longer. For an amplitude θ₀ the exact period is T = 2π√(L ÷ g) ÷ M(1, cos(θ₀ ÷ 2)), where M is the arithmetic–geometric mean, the number that two values reach when you take their average and their geometric mean over and over. The calculator uses this formula, so its answer is exact for any amplitude below 180°.
The difference is small for small swings and grows quickly. A swing of 10° from straight down takes 0.191% longer than the formula says, 20° takes 0.767% longer, 45° 4% and 90°, a swing up to level with the pivot, 18%. At 170° the 1 m pendulum needs 4.8944 s for a swing. The extra time adds up in a clock: a grandfather clock whose pendulum swings 3° each side runs 14.8 s a day slower than one with tiny swings, about the 15 seconds a day Wikipedia gives for this circular error.
Measuring gravity with a pendulum
Because the period depends on g, timing a pendulum of known length measures gravity: g = 4π² × L ÷ T². Timing one swing with a stopwatch is not accurate enough, so count a number of full swings, say 10 or 20, and divide the total time by the count. A 0.5 m pendulum that makes 10 full swings in 14.2 s has a period of 1.42 s and gives g = 9.78933 m/s². Choose “Gravity”, then “Swings counted”, to do this with your own numbers. Keep the swings small, or enter the amplitude, and count each there-and-back as one; counting each one-way swing doubles the count and gives g four times too large, here 39.1573 m/s².
This is how gravity was first mapped. Robert Hooke suggested in 1666 that a pendulum could measure the force of gravity, and in 1671 the astronomer Jean Richer found that a pendulum clock ran 2½ minutes a day slower at Cayenne in French Guiana than at Paris. Newton showed in 1687 that this was because the Earth is slightly flattened at the poles, so gravity grows with latitude.
A pendulum on the Moon and the planets
Weaker gravity makes a pendulum slower. On the Moon, where g is about a sixth of Earth’s, the same 1 m pendulum takes 4.929 s for each full swing, and a seconds pendulum there would be only 0.16464 m long. The table gives the period of a 1 m pendulum with small swings on each world, using Wikipedia’s table of surface gravity.
| Where | g | Period |
|---|---|---|
| Earth (standard) | 9.807 m/s² | 2.0064 s |
| Earth, equator | 9.78 m/s² | 2.0091 s |
| Earth, poles | 9.832 m/s² | 2.0038 s |
| Moon | 1.625 m/s² | 4.929 s |
| Mercury | 3.697 m/s² | 3.2678 s |
| Venus | 8.875 m/s² | 2.1091 s |
| Mars | 3.717 m/s² | 3.2591 s |
| Jupiter | 24.79 m/s² | 1.2619 s |
| Saturn | 10.44 m/s² | 1.9442 s |
| Uranus | 8.689 m/s² | 2.1316 s |
| Neptune | 11.15 m/s² | 1.8817 s |
| Pluto | 0.6178 m/s² | 7.9937 s |
A swinging rod: the compound pendulum
A real pendulum is not a point on a weightless string. A rigid body swinging on a pivot, a compound or physical pendulum, has a period of T = 2π√(I ÷ (m × g × r)), where I is its moment of inertia about the pivot, m its mass and r the distance from the pivot to its center of mass. A thin uniform rod swinging from one end has I = mL² ÷ 3 and r = L ÷ 2, so it swings like a simple pendulum two thirds as long. A 1 m rod has a period of 1.6382 s, against 2.0064 s for a bob on a 1 m string. Choose “Uniform rod” for this case.
Pendulums in history
Galileo Galilei began studying pendulums around 1602 and found that the period hardly depends on the size of the swing. In 1656 Christiaan Huygens built the first pendulum clock, which improved the best clocks from about 15 minutes of error a day to about 15 seconds. George Graham invented the mercury pendulum in 1721: its bob is a container of mercury, and when warmth lengthens the rod the mercury expands upward, keeping the center of mass, and so the period, in place. In 1851 Léon Foucault hung a 28 kg bob on a 67 m wire from the dome of the Panthéon in Paris; its plane of swing turned a full circle in about 31.8 hours, showing that the Earth rotates. A pendulum that long has a period of 16.423 s. The best pendulum clocks kept time to about a second a year, until quartz clocks, invented in 1927, replaced them as the most accurate timekeepers.
Common mistakes
- Counting one-way swings. The period is the time there and back; the time for one swing one way is half of it.
- Measuring the length to the top of the bob or the end of the string. The length runs from the pivot to the center of the bob.
- Using the small-angle formula for big swings. At 45° the true period is already 4% longer; enter the amplitude.
- Mixing units. A length in feet with g in m/s² gives a period that is wrong by a factor of about 1.8; choose the unit in the list instead.
Your values stay on your device
Everything is worked out in your browser. Nothing you type is sent anywhere or stored.
Frequently asked questions
What is the period of a 1 meter pendulum?
For small swings on Earth, T = 2π√(L ÷ g) = 2π × √(1 m ÷ 9.80665 m/s²) = 2.0064 s. Swinging through 20° from straight down it takes 2.0218 s, and through 90°, 2.3682 s.
How long is a seconds pendulum?
A seconds pendulum has a period of 2 seconds, one second for each swing one way. With standard gravity it is 0.99362 m long, just under a meter; at the equator it is 0.99092 m and at the poles 0.99619 m.
Does the mass of the bob change the period?
No. For a simple pendulum the period depends on the length, the strength of gravity and, a little, on the amplitude, but not on the mass of the bob.
Does a bigger swing take longer?
Yes, a little. The small-angle formula is close for small swings, but the period grows with the amplitude: 0.191% longer at 10°, 4% at 45° and 18% at 90°. The calculator gives the exact period for any amplitude below 180°.
How do I measure gravity with a pendulum?
Measure the length from the pivot to the center of the bob, time a number of full swings, and divide to get the period T. Then g = 4π² × L ÷ T². A 0.5 m pendulum that makes 10 full swings in 14.2 s gives g = 9.78933 m/s².
Is anything I type sent anywhere?
No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored.