Understanding science, for all. Home About
Novadette› ⚛ Physics› Mechanics› Pendulum
⚛ Mechanics

Pendulum Calculator

How long one swing of a pendulum takes — or how long the string must be for a given beat, or what gravity is where you are. Includes the exact correction for large swings and works on any planet.

MechanicsOscillationsGravity
Inputs
Input examples
Click Solve next to the quantity you want to find: it moves into the result below. Then fill in the other two. The amplitude is how far the pendulum is pulled aside before it is let go; pick a planet to fill in its gravity.
Gravity on

How Does a Pendulum Work?

A pendulum is a weight on a string or rod that swings back and forth under gravity. The time for one full swing — there and back — is the period. Remarkably, it does not depend on the mass of the bob, and for small swings hardly on how far you pull it aside.

That is why pendulums kept the time in clocks for almost 300 years. A longer string swings more slowly; four times the length doubles the period. Stronger gravity makes it swing faster, so a pendulum can also be used to measure g.

×4 length×2 period
masshas no effect
1 m on EarthT ≈ 2.0 s
90° swing18% slower

Live Pendulum

real time
Result
Enter the values above

Period and Amplitude

exact
exact period
small-angle formula
your swing

A 1 m Pendulum Elsewhere

small swings
Placeg (m/s²)Period
Earth9.812.01 s
Moon1.624.94 s
Mars3.713.26 s
Jupiter (cloud tops)24.791.26 s

Worked Techniques

Measuring g

Time 10 or 20 full swings with a stopwatch and divide: that spreads your reaction time over many swings. Keep the amplitude small.

Example: 
Seconds Pendulum

A grandfather clock ticks once per second, so each one-way swing takes 1 s and the period is 2 s. That needs a pendulum just under a metre long.

Example: 
Large Swings

The simple formula assumes small swings. For wide swings the period grows; this exact form uses the arithmetic–geometric mean and is what the calculator uses.

Example: 

Sources & Verification

References
  1. D. Halliday, R. Resnick & J. Walker, Fundamentals of Physics, 10th ed., Wiley, 2014 — Ch. 15 (Oscillations).