Pendulum Period Calculator and Spring-Mass Oscillator: Period, Frequency, Maximum Speed and Energy

Pendulums and springs: simple harmonic motion with the working.

Calculated from standard textbook formulas, with every step shown. The formulas are fixed, so the working does not need checking: what matters is the numbers you type in. Use these calculators only if you are competent to choose the inputs (loads, material strength, dimensions, supports) and check your units and assumptions. For learning and checking your own working: design and sign-off are for a qualified engineer. Drafting Central does not store the numbers you type.

How this calculator works

Choose a pendulum, a mass on a spring, or the length for a period.

Enter the length and gravity and the swing angle, or the mass and the spring constant and the amplitude.

The calculator gives the period, the frequency, the greatest speed and acceleration and the energy.

Formulas used

  • T = 2\pi\sqrt{\frac{L}{g}}
  • T = 2\pi\sqrt{\frac{m}{k}}
  • L = \frac{gT^2}{4\pi^2}
  • v_{max} = A\omega

Worked example

With the default numbers in the calculator above:

  1. Period for small swings: 2.00641 s
  2. Period at the amplitude you gave (the exact value from the complete elliptic integral): 2.01024 s (0.1907 % longer than the small swing value)
  3. Frequency (small swings): 0.498403 Hz
  4. Angular frequency (small swings): 3.13156 rad/s
  5. Greatest speed of the bob, at the bottom of the swing: 0.545866 m/s
  6. Greatest acceleration along the path, at the ends of the swing: 1.70291 m/s2
  7. Height the bob rises above its lowest point: 0.0151922 m

Change the numbers in the calculator to see the full working, every step, for your own case.

A second worked example

A different case, with these numbers: Amplitude of the pendulum: the greatest angle from the vertical 60 degrees.

  1. Period for small swings: 2.00641 s
  2. Period at the amplitude you gave (the exact value from the complete elliptic integral): 2.15324 s (7.318 % longer than the small swing value)
  3. Frequency (small swings): 0.498403 Hz
  4. Angular frequency (small swings): 3.13156 rad/s
  5. Greatest speed of the bob, at the bottom of the swing: 3.13156 m/s
  6. Greatest acceleration along the path, at the ends of the swing: 8.49281 m/s2
  7. Height the bob rises above its lowest point: 0.5 m

Common questions

What is the formula for the period of a pendulum?

Two pi times the square root of the length over gravity. A 1 m pendulum has a period of about 2.0 s.

Does the mass change the period?

No. The period of a pendulum does not depend on its mass, and for small swings not on the amplitude.

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

About 0.994 m. This is called a seconds pendulum.

How does the period of a spring depend on the mass?

The period rises with the square root of the mass and falls with the square root of the spring constant.

Related calculators

Got a question about this? Ask an engineering question and get a plain-language answer with references.

Further reading: Any physics text (simple harmonic motion).

Need a calculator we do not have?

Tell us what you would like to calculate. We read every request and build the most asked-for ones.

We store your request (and your email if you give it) to decide what to build. We do not store the numbers you type into calculators.

Embed this calculator on your own page

Copy this code into your page. The calculator runs inside the frame and links back to Drafting Central.

Need this drawn, designed or checked?

Drafting Central is a mechanical engineering and drafting business working with customers across Australia and around the world. A calculator gives you the numbers; we can turn them into drawings and designs.

Need help with a real project?

Talk to Drafting Central →

← All engineering calculators