Guide

THE TOOLBOX / SCHOOL & PHYSICS

Pendulum Period & SHM Calculator —
Simple Pendulum, Hooke's Law (F = −kx) & Spring Oscillations.

Calculate pendulum period, frequency, and angular velocity across Earth, Moon, Mars, and Jupiter gravity—or switch to Mass-Spring mode for Hooke’s Law force, elastic energy, and max velocity.

1.00 m (39.4")
Period (T)
2.006s
Full back-&-forth
Frequency (f)
0.498
Hz (cycles/sec)
Angular (ω)
3.13
rad / s

At g = 9.80665 m/s², a seconds pendulum (1 second per swing, T = 2.00 s) requires length L = 0.994 m. Note that for small angles (<15°), pendulum period is completely independent of bob mass.

SHM FORMULA COMPARISON

Simple Pendulum vs. Mass-Spring Harmonic Equations.

QuantitySimple PendulumMass-Spring Oscillator
Period (T)2π √(L / g)2π √(m / k)
Angular Frequency (ω)√(g / L)√(k / m)
Depends on Mass?No (cancels out)Yes (heavier mass = slower T)

2. Small-Angle Approximation

The simple pendulum formula is accurate within 0.5% for swing amplitudes under 15°; larger arcs swing slightly slower due to nonlinear restoring torque.

Frequently Asked Questions

What is the formula for the period of a simple pendulum?

For small swing angles (under ~15°), the period of a simple pendulum is T = 2π√(L / g), where L is the string length in meters and g is gravitational acceleration (9.807 m/s² on Earth).

Does the weight of the pendulum bob affect its swing period?

No! Because gravitational force and inertia both scale linearly with mass, mass cancels out completely. A 100g brass bob and a 2kg steel bob on identical 1-meter strings swing at the exact same period (~2.006 seconds).

How long is a grandfather clock "seconds pendulum"?

A seconds pendulum completes one half-swing ("tick") every 1.00 second, meaning its full back-and-forth period is T = 2.00 seconds. Solving L = g / π² on Earth gives L = 0.9936 meters (39.12 inches).

What is Hooke’s Law for a mass-spring oscillator?

Hooke’s Law states F = −kx, where k is the spring constant (N/m) and x is displacement from equilibrium. The oscillation period of a mass m on that spring is T = 2π√(m / k), and stored elastic energy is PE = ½kA².

How much slower does a pendulum swing on the Moon or Mars?

Because period is inversely proportional to √g, a 1-meter pendulum that takes 2.01 seconds on Earth takes 3.26 seconds on Mars (g = 3.72 m/s²) and 4.94 seconds on the Moon (g = 1.62 m/s²).

Is this pendulum & SHM calculator free and offline-ready?

Yes—all physics calculations run locally in your browser.