Toolvito

Works on this device

Pendulum Period Calculator

A pendulum swings in a steady rhythm that depends on its length and on gravity. Enter the length to get the time of one full swing, or enter a period to get the length that you need. The formula and your numbers are shown.

Enter your values

The time of one full swing of a simple pendulum, there and back, for swings of a few degrees to each side.

Your values

From the fixed point to the middle of the weight.

Standard gravity on Earth is 9.80665 m/s². Change it for another place or another world.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose what you want to calculate: the period from the length, the length for a period or a frequency, or gravity from a measured swing.
  2. Enter the length from the fixed point to the middle of the weight, and pick its unit.
  3. Gravity starts at standard gravity on Earth. You can type another value, or choose the Moon or Mars from the menu above the fields.
  4. Choose Calculate. You get the period, the frequency and the number of full swings in one minute.
  5. For a wide swing, choose Pendulum with a large swing angle and enter the largest angle of the swing from the vertical.

The formulas

  • Period for small swings: T = 2π × √(L ÷ g). L is the length and g the acceleration of gravity.
  • Length for a period: L = g × (T ÷ 2π)².
  • Gravity from a pendulum: g = 4 × π² × L ÷ T².
  • Frequency: f = 1 ÷ T. One full swing is there and back again.
  • Any swing angle θ₀: T = 2π × √(L ÷ g) ÷ AGM(1, cos(θ₀ ÷ 2)), where AGM is the arithmetic-geometric mean. This is the exact period of the ideal pendulum.
  • Series for a moderate angle: T ≈ 2π × √(L ÷ g) × (1 + θ₀² ÷ 16 + 11 × θ₀⁴ ÷ 3072), with θ₀ in radians.

Worked examples

A pendulum is 1 m long. With standard gravity, T = 2π × √(1 ÷ 9.80665) = 2.006 s. The frequency is 0.4984 Hz, which is 29.9 full swings in one minute.

A clock needs a pendulum with a period of 2 s, so that it passes the middle once each second. L = 9.80665 × (2 ÷ 2π)² = 0.9936 m.

On the Moon, with about 1.62 m/s², the 1 m pendulum takes 2π × √(1 ÷ 1.62) = 4.937 s for one full swing.

You measure a pendulum of 1 m and find 2.006 s for one full swing. g = 4π² × 1 ÷ 2.006² = 9.811 m/s².

The 1 m pendulum is let go at 60° from the vertical. The small-angle period is 2.006 s. The exact period is 2.006 ÷ 0.93181 = 2.153 s, which is 7.32% longer. The series with three terms gives 2.153 s as well.

Why the swing angle matters

The simple formula comes from a small-angle approximation. It is very good for a swing of a few degrees: at 5° to each side the real period is only about 0.05% longer. At 20° it is about 0.8% longer, at 45° about 4%, and at 90° about 18%.

The large-angle option uses the arithmetic-geometric mean. You take the average of two numbers and the square root of their product, and repeat this with the two results until they agree. A few steps give the exact period to 15 digits. The table under the result shows the period of your pendulum at other swing angles.

Limits you should know

  • This is for a simple pendulum: a small heavy weight on a light string or rod. The string does not stretch, and air drag and friction at the pivot are left out.
  • A real swinging body, such as a bar or a ring (a physical pendulum), needs its moment of inertia. This page does not cover it.
  • A swing on a string cannot go above 90°, because the string goes slack. Wider swings need a light stiff rod.
  • The mass of the weight does not change the period, so the page does not ask for it.
  • For the speed of the weight at the bottom of the swing, use the Potential Energy Calculator and the Kinetic Energy Calculator.

Related tools