Pendulum Calculator

Find the period and frequency of a simple pendulum from its length, or the length (or local gravity) from a measured period: T = 2π√(L/g).

From the pivot to the center of the bob.
m/s²
Standard gravity 9.80665 m/s² (NIST). Moon about 1.62, Mars about 3.73 m/s² (NASA).

Results

Period (T = 2π√(L/g))
2.0064
Frequency (f = 1/T)
0.498403 Hz
Half-period (one swing, one way)
1.0032

How it’s calculated

For a simple pendulum (a small heavy bob on a light string) swinging through a small angle, the period depends only on the length of the pendulum and the strength of gravity. It does not depend on the mass of the bob, and for small swings it does not depend on the amplitude either.

T = 2π · √(L / g) f = 1 / T L = g · T² / (4π²) g = 4π² · L / T² g = 9.80665 m/s² (standard gravity)

Example (OpenStax College Physics 2e, Example 16.5): a pendulum 0.75000 m long with a period of 1.7357 s gives g = 4π² × 0.75000 ÷ 1.7357² = 9.8281 m/s². With g = 9.80665 m/s², a 1.000 m pendulum has T = 2π √(1 ÷ 9.80665) = 2.006 s, which is why a pendulum about 0.994 m long gives a two-second period (one second per swing).

Small-angle approximation: the formula assumes the swing angle stays below about 15°, where sin θ and θ differ by less than 1%. Wider swings take slightly longer than the formula predicts, so for large amplitudes treat the result as a lower limit on the period.

Frequently asked questions

Does the mass of the bob affect the period?

No. Mass cancels out of the equation of motion, so heavy and light bobs on the same length swing with the same period (ignoring air resistance).

How long is a pendulum with a one-second swing?

A pendulum whose one-way swing takes 1 s has a period of 2 s and a length of about 0.994 m at standard gravity. Use the "Length" mode with a period of 2 s.

How can I measure gravity with a pendulum?

Measure the length from the pivot to the center of the bob and time many swings to get an accurate period, then use the "Gravity" mode. Timing 20 swings and dividing by 20 reduces timing error.

What happens at large swing angles?

The period gets longer as the amplitude grows because the restoring force is proportional to sin θ, not θ. This calculator uses the small-angle formula, accurate to about 1% below 15°.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator