Skip to content
DeviceCheckHub

Pendulum Calculator

The period and frequency of a pendulum from its length, the length that gives a period, or the strength of gravity from a pendulum you timed, with the exact period for large swings, a swinging rod, and gravity on the Moon and the planets.

T = 2π√(L ÷ g)

The amplitude is the largest angle from straight down; leave it at 0 for small swings. A full swing is there and back, and the length runs from the pivot to the center of the bob.

Examples:
On Earth, a pendulum 1 m long has a period of 2.0064 s and a frequency of 0.4984 Hz.

T = 2.0064 s

Period T
2.0064 s
Frequency
0.4984 Hz = 29.904 per minute
Length
1 m = 3.2808 ft
Gravity g
9.80665 m/s² = 32.174 ft/s² = 1 g
One swing, one way
1.0032 s
Angular frequency ω
3.1316 rad/s
The same pendulum at other amplitudes
AmplitudePeriodLonger by
Small swings (yours)2.0064 s0%
5°2.0074 s0.0476%
10°2.0102 s0.191%
15°2.015 s0.43%
20°2.0218 s0.767%
30°2.0413 s1.74%
45°2.0866 s4%
60°2.1532 s7.32%
90°2.3682 s18%
120°2.7546 s37.3%
150°3.5357 s76.2%
170°4.8944 s144%

Steps

  1. Gravity: g = 9.80665 m/s², standard gravity on Earth.
  2. Small-swing period: T₀ = 2π√(L ÷ g) = 2π × √(1 m ÷ 9.80665 m/s²) = 2.0064 s.
  • Small swings means the small-angle formula, which is accurate to within 0.1% up to an amplitude of about 7°. Enter the amplitude, the largest angle from straight down, for the exact period of a larger swing.
  • This assumes a small, heavy bob on a light string that does not stretch, with no friction or air resistance; the length is measured from the pivot to the center of the bob.

How to use the pendulum calculator

  1. Choose what to calculate: the period from the length, the length for a period, or gravity from a pendulum you timed.
  2. 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.
  3. 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.
  4. Enter the amplitude, the largest angle from straight down, or leave it at 0 for small swings.
  5. 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.

A 1 m pendulum elsewhere
WheregPeriod
Earth (standard)9.807 m/s²2.0064 s
Earth, equator9.78 m/s²2.0091 s
Earth, poles9.832 m/s²2.0038 s
Moon1.625 m/s²4.929 s
Mercury3.697 m/s²3.2678 s
Venus8.875 m/s²2.1091 s
Mars3.717 m/s²3.2591 s
Jupiter24.79 m/s²1.2619 s
Saturn10.44 m/s²1.9442 s
Uranus8.689 m/s²2.1316 s
Neptune11.15 m/s²1.8817 s
Pluto0.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

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.

Last updated · About DeviceCheckHub