Simple Pendulum Calculator

Find the period, frequency, length or local gravity of a simple pendulum, with exact large-amplitude corrections.

⏲️ Simple Pendulum Calculator
Pendulum length (L)
0.15
World (approximate g)
Gravity (g)
m/s²
Target period (T)
s
0.510
Amplitude (θ0)
degrees
1°170°

Period mode: enter the length, the world and the amplitude to get the swing time.

Length mode: enter the period you want, the world and the amplitude to get the string length.

Gravity mode: enter the measured length and period, and the amplitude, to get the local g.

Exact period (T)
—
Small-angle period (T0)
—
Small-angle error
—
Series estimate
—
Frequency (1/T)
—
Small-angle ω0
—
Speed at the bottom
—
Length used
—

The same pendulum and amplitude on other worlds (approximate surface gravity, illustrative):

Length needed (L)
—
In centimetres
—
In inches
—
In feet
—
Small-angle length
—
Amplitude factor T/T0
—

Local gravity (g)
—
In multiples of standard g
—
Difference from 9.80665
—
Small-angle estimate
—
Closest world
—
Length used
—

⏲️ What is a Simple Pendulum?

A simple pendulum is an idealised system of a point mass (the bob) hanging from a massless, inextensible string or rod that swings back and forth under gravity. For small swings the motion is simple harmonic and the period depends only on the length L and the local gravitational acceleration g: T = 2π√(L/g). The mass of the bob cancels out, so a heavy and a light bob on the same length swing in step, which Galileo famously noticed. The amplitude has almost no effect when the swing is small, which is why pendulums were the heart of accurate clocks for three centuries.

Pendulums are used in clocks, metronomes, seismometers, playground swings and school laboratories. A very common experiment times a pendulum to measure the local value of g, and a pendulum of known length lets explorers and geophysicists compare gravity between places. Because the period scales with 1/√g, the same string swings far more slowly on the Moon than on Earth, and the table in the Period mode shows the same pendulum on six worlds. Engineers use the same formula for hanging loads, crane payloads and swaying chains.

The key subtlety is amplitude. The familiar formula assumes the angle is small enough that sin θ ≈ θ. At larger angles the restoring force is weaker than that approximation, so the true period is longer. The exact answer involves an elliptic integral, which this calculator evaluates with the arithmetic-geometric mean. It also shows the power series 1 + θ²/16 + 11θ4/3072 + … so you can see where the series is a good shortcut and where it breaks down. The small-angle error is only 0.19 percent at 10 degrees but 18 percent at 90 degrees. For real extended bodies such as rods or rings use the physical pendulum calculator, and for energy at the bottom of the swing see the kinetic energy of a pendulum calculator.

This calculator has three modes. Period gives the exact and small-angle period, frequency and bottom speed. Length finds the string length needed for a target period, such as a seconds pendulum. Gravity turns a measured length and period into a local g with the amplitude correction. Each mode has its own chart and the length can be entered in metres, centimetres, inches or feet.

📐 Formula

T0  =  2π √( L / g )   |   T  =  T0 / AGM( 1, cos( θ0 / 2 ) )
T0 = small-angle period (s), valid when the amplitude is small
T = exact period (s) for amplitude θ0, equal to 4 √(L/g) K( sin(θ0/2) ) with K the complete elliptic integral of the first kind
L = length from the pivot to the centre of the bob (m); g = local gravity, 9.80665 m/s² on Earth (standard)
AGM = arithmetic-geometric mean, found by repeating a ← (a+b)/2, b ← √(ab)
Series: T = T0 ( 1 + θ0²/16 + 11 θ04/3072 + 173 θ06/737280 + 22931 θ08/1321205760 ), with θ0 in radians
Length from period: L = g T² / ( 4π² F² ), with F = T/T0 the amplitude factor
Gravity from a measurement: g = 4π² L F² / T²
Speed at the bottom: v = √( 2 g L ( 1 − cos θ0 ) )
Example: L = 1 m, g = 9.80665 gives T0 = 2π √(1 / 9.80665) = 2.0064 s

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Period to find the swing time of a given pendulum, Length to find the string length for a target period, or Gravity to find g from a measured length and period.
2
Enter the pendulum data. Type the length (the unit menu only tells the calculator how to read your number), choose a world or type g, and set the amplitude in degrees. In Length and Gravity modes also enter the period in seconds.
3
Read the result and chart. See the exact period with the small-angle value and series check, or the length or g. The chart shows how the period ratio grows with amplitude, and the table lists other worlds.

💡 Example Calculations

Example 1 — A 1 m Pendulum on Earth

L = 1 m, g = 9.80665 m/s², amplitude 10 degrees

1
T0 = 2π √( 1 / 9.80665 ) = 2.0064 s, and ω0 = √( g / L ) = 3.1316 rad/s
2
At 10 degrees (0.1745 rad) the exact factor is 1.001907, so T = 2.0064 × 1.001907 = 2.0102 s, 0.191 percent longer
3
The frequency is 1 / 2.0102 = 0.4975 Hz and the bob passes the bottom at 0.546 m/s.
Period = 2.0102 s (small-angle 2.0064 s)
Try this example →

Example 2 — A Big Swing of 90 Degrees

The same 1 m pendulum released from horizontal (rigid rod assumed)

1
The exact factor at 90 degrees is T/T0 = 1 / AGM(1, cos 45°) = 1.18034
2
T = 2.0064 × 1.18034 = 2.3682 s, so the small-angle formula is 18.034 percent too short
3
The four-term series gives 2.3679 s, close but starting to drift. The bottom speed is √( 2 × 9.80665 × 1 ) = 4.429 m/s.
Period = 2.3682 s
Try this example →

Example 3 — The Same Pendulum on the Moon

L = 1 m, g = 1.62 m/s² (approximate), amplitude 5 degrees

1
T0 = 2π √( 1 / 1.62 ) = 4.9365 s
2
The 5 degree factor is 1.000476, so T = 4.9365 × 1.000476 = 4.9389 s
3
The swing is 2.46 times slower than on Earth, as expected from √( 9.80665 / 1.62 ).
Period = 4.9389 s
Try this example →

Example 4 — A Pendulum Measured in Feet on Mars

L = 3 ft, g = 3.721 m/s², amplitude 20 degrees

1
L = 3 × 0.3048 = 0.9144 m and T0 = 2π √( 0.9144 / 3.721 ) = 3.1147 s
2
The 20 degree factor is 1.007669, so T = 3.1147 × 1.007669 = 3.1386 s
Period = 3.1386 s (0.767 percent above small-angle)
Try this example →

Example 5 — Length of a Seconds Pendulum

Target period 2 s on Earth with a 5 degree amplitude

1
Small-angle length: L = g T² / 4π² = 9.80665 × 4 / 39.478 = 0.9936 m
2
Correct for the amplitude, F = 1.000476, so L = 0.9936 / F² = 0.9927 m = 99.27 cm = 39.08 in
Length = 0.9927 m
Try this example →

Example 6 — Measuring g in the Laboratory

A pendulum of length 0.75 m takes 1.74 s per swing at 5 degrees (assumed measurements)

1
Small-angle g = 4π² L / T² = 39.478 × 0.75 / 3.0276 = 9.7796 m/s²
2
Multiply by F² = 1.000952 for the amplitude: g = 9.7889 m/s², which is 0.9982 times standard gravity, 0.18 percent low
g = 9.7889 m/s²
Try this example →

❓ Frequently Asked Questions

What is the formula for the period of a simple pendulum?+
T = 2 pi sqrt(L / g), valid for small swings. A 1 m pendulum on Earth (g = 9.80665 m/s2) has T = 2.0064 s. The period depends on length and gravity, not on the mass of the bob.
How does amplitude affect the period of a pendulum?+
The true period grows with amplitude. At 10 degrees it is 0.19 percent longer than 2 pi sqrt(L/g), at 90 degrees 18 percent longer, and it grows without limit as the amplitude approaches 180 degrees.
What is the exact period of a pendulum for large angles?+
T = 4 sqrt(L/g) K(sin(theta0/2)), where K is the complete elliptic integral of the first kind. It can be computed with the arithmetic-geometric mean as T = 2 pi sqrt(L/g) / AGM(1, cos(theta0/2)), which this calculator uses.
What is the series for the large-angle correction?+
T = T0 (1 + theta0^2/16 + 11 theta0^4/3072 + 173 theta0^6/737280 + ...), with theta0 in radians. It is accurate for moderate amplitudes and drifts at large ones, as the 90 degree example shows (2.3679 s from the series versus 2.3682 s exact).
How long is a pendulum with a period of 2 seconds?+
About 0.9936 m with the small-angle formula, L = g T squared / (4 pi squared). With a 5 degree amplitude the exact result is 0.9927 m. A pendulum with a 2 s period (1 s per swing) is called a seconds pendulum.
How do I find g with a pendulum?+
Use g = 4 pi squared L / T squared. For L = 0.75 m and T = 1.74 s, g = 9.78 m/s2 with the small-angle formula, or 9.789 m/s2 after the 5 degree amplitude correction.
What is the period of a pendulum on the Moon?+
A 1 m pendulum has T = 2 pi sqrt(1 / 1.62) = 4.94 s on the Moon, compared with 2.01 s on Earth, because the Moon's surface gravity is about one sixth of Earth's.
How does the period change if I double the length?+
It increases by a factor of the square root of 2, about 1.414. To double the period you need four times the length.
What is the frequency of a pendulum?+
f = 1 / T, so a 1 m pendulum swinging 10 degrees on Earth has f = 0.4975 Hz. The small-angle angular frequency is sqrt(g / L) = 3.1316 rad/s.
Can the amplitude be larger than 90 degrees?+
Yes, but then the bob rises above the pivot, so it must hang from a rigid rod, because a string would go slack. The calculator accepts amplitudes up to just under 180 degrees.
How is this different from the physical pendulum calculator?+
A simple pendulum is a point mass on a massless string. The physical pendulum calculator handles real extended bodies, where the period depends on the moment of inertia about the pivot.

What is the formula for the period of a simple pendulum?

T = 2 pi sqrt(L / g), valid for small swings. A 1 m pendulum on Earth (g = 9.80665 m/s2) has T = 2.0064 s. The period depends on length and gravity, not on the mass of the bob.

How does amplitude affect the period of a pendulum?

The true period grows with amplitude. At 10 degrees it is 0.19 percent longer than 2 pi sqrt(L/g), at 90 degrees 18 percent longer, and it grows without limit as the amplitude approaches 180 degrees.

What is the exact period of a pendulum for large angles?

T = 4 sqrt(L/g) K(sin(theta0/2)), where K is the complete elliptic integral of the first kind. It can be computed with the arithmetic-geometric mean as T = 2 pi sqrt(L/g) / AGM(1, cos(theta0/2)), which this calculator uses.

What is the series for the large-angle correction?

T = T0 (1 + theta0^2/16 + 11 theta0^4/3072 + 173 theta0^6/737280 + ...), with theta0 in radians. It is accurate for moderate amplitudes but deviates at large ones, as the 90 degree example shows (2.3679 s versus 2.3682 s exact).

How long is a pendulum with a period of 2 seconds?

About 0.9936 m with the small-angle formula, L = g T squared / (4 pi squared). With a 5 degree amplitude the exact result is 0.9927 m. A pendulum with a 2 s period (1 s per swing) is called a seconds pendulum.

How do I find g with a pendulum?

Use g = 4 pi squared L / T squared. For L = 0.75 m and T = 1.74 s, g = 9.78 m/s2 with the small-angle formula, or 9.789 m/s2 after the 5 degree amplitude correction.

What is the period of a pendulum on the Moon?

A 1 m pendulum has T = 2 pi sqrt(1 / 1.62) = 4.94 s on the Moon, compared with 2.01 s on Earth, because the Moon's surface gravity is about one sixth of Earth's.

How does the period change if I double the length?

It increases by a factor of the square root of 2, about 1.414. To double the period you need four times the length.

What is the frequency of a pendulum?

f = 1 / T, so a 1 m pendulum swinging 10 degrees on Earth has f = 0.4975 Hz. The small-angle angular frequency is sqrt(g / L) = 3.1316 rad/s.

Can the amplitude be larger than 90 degrees?

Yes, but then the bob rises above the pivot, so the bob must hang from a rigid rod, not a string, which would go slack. The calculator accepts up to 179 degrees.

How is this different from the physical pendulum calculator?

A simple pendulum is a point mass on a massless string. The physical pendulum calculator handles real extended bodies, where the period depends on the moment of inertia about the pivot.