Skip to content

Simple Pendulum Calculator

Period and frequency of a pendulum from its length and gravity, with the exact large-amplitude correction; solve for length or g.

Your details

Unit system

Measured from the vertical. Below about 10° the small-angle formula is accurate to 0.2 %.

°

Results update as you type

Period T (exact)

1.9223 s

Small-angle period 2π√(L/g)
1.9186 s
Series approximation
1.9223 s
Extra period due to the amplitude
0.191%
Frequency f = 1/T
0.52022 Hz
Swings per minute (full cycles)
31.21
Angular frequency ω = 2π/T
3.26862 rad/s
Maximum speed at the bottom
1.7125 ft/s

Step-by-step solution
  1. T₀ = 2π × √(L ÷ g) = 2π × √(3 ft → 0.9144 m ÷ 9.80665 m/s²) = 1.91861 s
  2. T = T₀ ÷ AGM(1, cos(θ₀/2)) = 1.91861 × 1.001907 = 1.92227 s
  3. f = 1 ÷ T = 0.520217 Hz

A weight hanging from a string and swinging back and forth is one of the oldest instruments in physics. Galileo noticed that its rhythm hardly depends on how far it swings, Huygens turned it into the first accurate clock, and generations of students have used it to measure the acceleration of gravity. The idealised version, a point mass on a massless, rigid rod with no friction, is called a simple pendulum.

This simple pendulum calculator gives the period (the time for one full back-and-forth swing), the frequency and the number of swings per minute from the length and the gravity: Earth, Moon, Mars or any value you enter. It does not stop at the textbook formula: enter the release angle and it computes the exact period through the arithmetic–geometric mean, shows the classic series approximation and tells you how wrong the small-angle formula would be.

Use Solve for to work backwards: the length needed for a given period (to build a clock or a metronome), or the value of g from a measured period and length, which is exactly how a school pendulum experiment works.

How to use this calculator

  1. Enter the length from the pivot to the centre of the bob.
  2. Choose the gravity: Earth, Moon, Mars, or Other to type g.
  3. Enter the release angle measured from the vertical (leave about 5–10° for an ordinary small swing).
  4. Read the exact period, the small-angle period, the frequency and the maximum speed at the bottom.
  5. Use Solve for to find the length for a target period, or g from a period you have timed.

The formula

For small swings the motion is simple harmonic, with period

T0=2πLgT_0 = 2\pi \sqrt{\frac{L}{g}}

independent of the mass and the amplitude. Rearranged: L=g T2/(4π2)L = g\,T^2 / (4\pi^2) and g=4π2L/T2g = 4\pi^2 L / T^2.

For a release angle θ0\theta_0 the exact period involves the complete elliptic integral KK, which the arithmetic–geometric mean evaluates very quickly:

T=2T0πK ⁣(sin⁡θ02)=T0AGM⁡ ⁣(1,cos⁡θ02)T = \frac{2 T_0}{\pi} K\!\left(\sin\frac{\theta_0}{2}\right) = \frac{T_0}{\operatorname{AGM}\!\left(1, \cos\frac{\theta_0}{2}\right)}

The first terms of its series give the familiar approximation T≈T0(1+θ0216+11 θ043072)T \approx T_0 \left(1 + \frac{\theta_0^2}{16} + \frac{11\,\theta_0^4}{3072}\right) with θ0\theta_0 in radians. The speed at the bottom follows from energy conservation: vmax=2gL(1−cos⁡θ0)v_{max} = \sqrt{2gL(1 - \cos\theta_0)}.

Worked example

A one-metre pendulum. With L = 1 m and g = 9.80665 m/s², T0=2π1/9.80665T_0 = 2\pi\sqrt{1/9.80665} = 2.006 s, a frequency of 0.4984 Hz.

Larger swings. Released at 30°, the exact period becomes 2.041 s, 1.74 % longer. At 90° it reaches 2.368 s, a factor of 1.1803; the two-term series gives 1.176, already slightly short.

The seconds pendulum. For a period of exactly 2 s (one second per swing), L=9.80665×22/(4π2)L = 9.80665 \times 2^2 / (4\pi^2) = 0.9936 m.

On the Moon, the same 1 m pendulum takes 4.94 s per cycle.

Measuring g. A 75 cm pendulum timed at 1.738 s per cycle gives g=4π2×0.75/1.7382g = 4\pi^2 \times 0.75 / 1.738^2 = 9.8 m/s².

How accurate is the small-angle formula?

The formula 2πL/g2\pi\sqrt{L/g} comes from replacing sin⁡θ\sin\theta by θ\theta, which is excellent for small swings: the true period is longer by about 0.05 % at 5°, 0.2 % at 10° and 1.7 % at 30°, and the gap then grows quickly, to about 18 % at 90°. A clock pendulum swinging a few degrees therefore keeps time well, but a playground swing pushed high runs noticeably slower than the simple formula predicts. Real pendulums also deviate because the bob is not a point and the rod has mass; for those, the frequency calculator and a physical-pendulum model are better suited.

Measuring gravity with a pendulum

Timing many oscillations (say 20) and dividing reduces the reaction-time error. Measure the length to the centre of the bob, keep the angle small, and use g=4π2L/T2g = 4\pi^2 L / T^2. The result should land close to 9.81 m/s²; NASA lists 1.62 m/s² for the Moon, where the same pendulum would swing about 2.5 times more slowly. Gravity itself is explained by the gravitational force calculator, and the energy exchange during each swing by the potential energy calculator.

Frequently asked questions

Does the mass of the bob change the period?

No. For an ideal simple pendulum the period depends only on the length, the gravity and, slightly, the amplitude. A heavier bob is simply less affected by air resistance.

How long should a pendulum be to swing once per second?

A "seconds pendulum", which takes one second for each swing and 2 s for a full cycle, is 0.9936 m long at standard gravity.

Why does a pendulum slow down at large angles?

Because the restoring force is proportional to sin θ, which grows more slowly than θ itself. At large angles the bob is pulled back less strongly than the small-angle model assumes, so each swing takes longer.

What is the difference between period and frequency?

The period T is the time for one full back-and-forth cycle, in seconds; the frequency f = 1/T is the number of cycles per second, in hertz. Some textbooks count a single swing (half a cycle) as one "beat".

How do I find the length from the period?

Use L = g T² / (4π²), or choose Solve for → Length and type the period. For a 1.5 s period on Earth, L is about 0.56 m.

Sources

Last updated:

More Physics calculators

People also use