Audited ·Last updated 27 Jul 2026·4 citations·Tier 2·0 uses

Pendulum Period Calculator

Free pendulum period calculator using T = 2π√(L/g). Get period, frequency, and the small-angle approximation error at your swing amplitude.

Pendulum Period Calculator

Distance from the pivot to the center of mass of the bob. A simple pendulum assumes this length is much larger than the bob itself.
Defaults to standard gravity, 9.80665 m/s², exact by the 3rd CGPM (1901) definition. Change it to localize: Moon = 1.625, Mars = 3.721, Jupiter = 24.79.
Maximum angle the pendulum swings from vertical. Used only to estimate how far the small-angle formula has drifted from the true period — it does not change T itself.
Period (T)
2.8375
Time for one full back-and-forth swing, T = 2π√(L/g), under the small-angle approximation.
Frequency (f)
0.3524 Hz
Angular frequency (ω)
2.2143 rad/s
Small-angle approximation error
0.19

Background.

This pendulum period calculator computes T = 2π√(L/g) for a simple pendulum — a point mass swinging on a massless string or rod — and reports frequency, angular frequency, and something most pendulum calculators leave out entirely: an honest estimate of how wrong that famous formula is at your chosen swing amplitude. Enter a length of 2 meters at standard gravity and the calculator returns a period of 2.8375 seconds, a frequency of 0.3524 Hz, and an angular frequency of 2.2143 rad/s. That much any pendulum calculator can do. What this one adds is the caveat every introductory physics course states and every online tool quietly omits: T = 2π√(L/g) is a small-angle approximation, exact only in the limit as the swing amplitude θ₀ approaches zero.

The approximation comes from replacing sin(θ) with θ in the pendulum's equation of motion, a substitution that is excellent for small angles and progressively worse as the swing widens. At a 10° amplitude — a fairly typical clock or classroom swing — the true period is about 0.19% longer than the small-angle formula predicts. That sounds negligible, and for most purposes it is. But the error does not grow linearly; it grows roughly with the square of the amplitude. Double the swing to 20° and the error nearly quadruples to about 0.77%. Push to 45°, a swing you'd see in a playground or a wrecking-ball demonstration, and the true period is running nearly 4% longer than the textbook formula claims. This calculator computes that error directly from the amplitude you enter, using the next terms in the exact series expansion of the pendulum period, so you can see exactly when the small-angle shortcut is safe to trust and when it starts to matter.

The formula's most celebrated property is that the period depends on length and gravity alone — not on mass, and, to the small-angle approximation, not on amplitude either. Galileo is credited with first noticing this near-independence from amplitude while watching a swinging lamp in the Pisa cathedral, timing it against his own pulse. That near-independence (not exact, as this calculator's error output demonstrates) is what made pendulum clocks the most accurate timekeepers in the world for nearly three centuries, from Christiaan Huygens' 1656 pendulum clock design until quartz and atomic clocks took over in the twentieth century. A clockmaker exploits the fact that a slightly shorter or longer swing barely changes the period — which is also exactly why escapement mechanisms are engineered to keep the amplitude small and consistent, since any residual amplitude-dependence directly becomes a timekeeping error.

Gravitational acceleration g defaults to 9.80665 m/s², the standard gravity value fixed by international agreement at the 3rd General Conference on Weights and Measures in 1901 — not a measurement, but an exact reference constant. Because real gravity varies slightly with latitude, altitude, and local geology (from about 9.78 m/s² near the equator to about 9.83 m/s² near the poles), the calculator lets you override g to match your actual location, or to explore other worlds entirely: a pendulum that takes 2.84 seconds to swing on Earth takes about 4.93 seconds on the Moon, where g is only 1.625 m/s². The length and gravity you enter, plus the amplitude you're actually swinging through, together tell you not just the textbook period but how much you should trust it.

What is pendulum period calculator?

A simple pendulum is an idealized mechanical system: a point mass (the bob) suspended from a fixed pivot by a massless, inextensible string or rod, free to swing under gravity in a single vertical plane. When displaced from its resting (vertical) position and released, the restoring component of gravity pulls it back, and it oscillates back and forth. For small swing angles, this motion is very close to simple harmonic motion, and the time for one complete back-and-forth swing — the period T — is given by T = 2π√(L/g), where L is the pendulum's length and g is the local gravitational acceleration.

The formula is a small-angle approximation. It comes from the pendulum's exact equation of motion, d²θ/dt² = −(g/L)sin(θ), which has no closed elementary-function solution in general. Substituting sin(θ) ≈ θ — valid to within about 1% for angles under roughly 15°, per OpenStax's University Physics treatment — linearizes the equation into the same differential equation that describes a mass on an ideal spring, and its solution is the familiar sinusoidal small-angle period. The exact period, expressible as a complete elliptic integral of the first kind, is always somewhat longer than this small-angle value, and by how much depends only on the swing amplitude θ₀, not on L or g individually.

This calculator returns the small-angle period, frequency (f = 1/T), and angular frequency (ω = 2π/T = √(g/L)), plus an estimate of the amplitude-dependent error so you know when the approximation is trustworthy and when it isn't.

How to use this calculator.

  1. Enter the pendulum length L — the distance from the pivot to the bob's center of mass — in meters.
  2. Enter the local gravitational acceleration g in m/s², or keep the default standard value of 9.80665 m/s².
  3. Enter the swing amplitude θ₀ in degrees — the maximum angle the pendulum reaches from vertical on each side.
  4. Read the period T, the primary result, alongside frequency and angular frequency.
  5. Check the small-angle approximation error. Below about 10° it is under 0.2% and safe to ignore for most purposes; above 20-30° it grows quickly and the small-angle period should be treated as an estimate, not an exact answer.

The formula.

T = 2π√(L ⁄ g)

The period of a simple pendulum in the small-angle limit is T = 2π√(L/g). L is the length from pivot to bob in meters, g is the local gravitational acceleration in m/s², and T comes out in seconds. Frequency is simply the reciprocal, f = 1/T, and angular frequency is ω = 2π/T, which simplifies algebraically to ω = √(g/L) — the same angular frequency formula as a mass on a spring with an 'effective spring constant' of g/L.

The formula assumes the small-angle approximation sin(θ) ≈ θ, which is only exact as the swing amplitude θ₀ approaches zero. The true period is always slightly longer, and the standard way to quantify how much longer is a series expansion in powers of θ₀ (in radians): T_exact ≈ T₀ × [1 + (1/16)θ₀² + (11/3072)θ₀⁴ + ...], where T₀ = 2π√(L/g) is the small-angle period this calculator returns as its headline result. Subtracting 1 and multiplying by 100 gives the percentage error this calculator reports as smallAngleErrorPercent. At θ₀ = 10°, that error works out to about 0.19%; at θ₀ = 20° it's about 0.77%; at θ₀ = 45° it has grown to nearly 4%. Because the leading correction term scales with θ₀², doubling the amplitude roughly quadruples the error — which is why the error stays negligible for small clock-like swings but becomes impossible to ignore for wide swings.

The formula also reveals what does not affect the period: mass. A heavier bob and a lighter bob of the same length, released from the same angle, swing with the identical period, because the mass cancels out of the pendulum's equation of motion just as it does in free fall — both are consequences of gravitational and inertial mass being equivalent. What does matter is length (period grows with the square root of L, so quadrupling the length only doubles the period) and gravitational acceleration (period shrinks with the square root of g, so a pendulum swings faster on a planet with stronger surface gravity).

A worked example.

Example

A 2-meter pendulum is released from a 10° angle at sea level on Earth (g = 9.80665 m/s²). The small-angle formula gives T = 2π√(2/9.80665) = 2π√(0.2039432) = 2π(0.4516007) ≈ 2.8375 seconds — so the pendulum completes one full swing (out, back, and return to start) roughly every 2.84 seconds. Its frequency is f = 1/T ≈ 0.3524 Hz, meaning it completes about 0.35 full swings per second, and its angular frequency is ω = 2π/T ≈ 2.2143 rad/s. Because the release angle is 10°, not the idealized 0°, the small-angle formula slightly underestimates the true period. Using the amplitude-correction series, the true period should be about 0.1907% longer than 2.8375 seconds — a difference of roughly 0.0054 seconds, small enough to ignore for a classroom demonstration but exactly the kind of drift that matters if you're building a precision timekeeping mechanism. If the same pendulum were released from a much wider 45° angle instead, the error would balloon to nearly 4%, a difference of over a tenth of a second per swing — no longer something a serious clockmaker could ignore.

amplitude Degrees10
g9.807
length2

Frequently asked questions.

Why doesn't a pendulum's period depend on its mass?
Because mass cancels out of the pendulum's equation of motion. The restoring torque on the bob is proportional to its weight (mass times g), but so is its rotational inertia about the pivot (also proportional to mass for a point-mass bob), so the mass terms divide out identically, just as they do for a freely falling object. A bowling ball and a marble on identical-length strings, released from the same angle, swing with exactly the same period. This is a direct consequence of the equivalence of gravitational and inertial mass — the same principle behind free-fall universality.
Is T = 2π√(L/g) exact, or an approximation?
It is a small-angle approximation, exact only in the mathematical limit θ₀ → 0. It comes from linearizing the pendulum's true equation of motion by replacing sin(θ) with θ, which is accurate to within about 1% for swings under roughly 15° (per OpenStax University Physics). The true period, which requires an elliptic integral to express exactly, is always somewhat longer than this formula predicts, and the gap grows with the swing amplitude — which is exactly what this calculator's smallAngleErrorPercent output quantifies.
How large does the swing angle need to be before the error actually matters?
It depends on your precision requirements. At 10° the error is about 0.19% — invisible in a classroom stopwatch measurement. At 20° it's about 0.77%, and at 45° it's nearly 4%. For a mechanical clock aiming for seconds-per-day accuracy, even a fraction of a percent matters, which is why pendulum clock escapements are engineered to keep the swing small and, ideally, constant. For a rough physics demonstration or a homework check, anything under about 15-20° is usually fine to treat as small-angle.
Why does the calculator default gravitational acceleration to 9.80665 m/s²?
That is standard gravity, a reference value fixed by international agreement (3rd CGPM, 1901) rather than measured at any specific place. Actual local gravity varies from about 9.7639 m/s² at high-altitude, low-latitude locations to about 9.8337 m/s² near the poles, due to Earth's rotation and its slightly non-spherical shape. The default gives a reasonable mid-latitude, sea-level estimate; override it with your own measured or looked-up local value for higher precision, or with another planet's or moon's surface gravity to explore extraterrestrial pendulums.
How does pendulum length affect the period?
The period scales with the square root of the length, T ∝ √L, not linearly. Doubling the length increases the period by a factor of √2 ≈ 1.41, not 2. To double the period, you need to quadruple the length. This square-root relationship is why grandfather clocks with roughly one-meter pendulums have a two-second period (one second per half-swing), while a pocket-sized pendulum only a few centimeters long swings many times per second.
What is the difference between a simple pendulum and a physical pendulum?
A simple pendulum idealizes all the mass as a single point at the end of a massless string — the model this calculator uses. A physical (or compound) pendulum is any rigid body swinging about a pivot that is not its center of mass, such as a swinging rod, a door, or a real clock pendulum with a weighted bob and a rod of nonzero mass. Its period depends on the body's moment of inertia about the pivot, not just a single length, and uses a different formula: T = 2π√(I/(mgd)), where I is the moment of inertia about the pivot and d is the distance from the pivot to the center of mass. Quanta's moment-of-inertia calculator supplies the I term for common shapes if you need to extend this simple-pendulum result to a physical pendulum.
Why did Galileo think the pendulum's period was completely independent of amplitude?
Because for the small, decaying swings he could easily observe with the instruments of his time — famously timing a swinging cathedral lamp against his own pulse — the amplitude-dependence is genuinely too small to notice without precise instrumentation. Galileo's observation of near-isochronism (equal-time swinging) was correct to the precision he could measure, and it is what made pendulums useful as timekeepers at all. It took the more complete mathematical treatment of the pendulum's equation of motion, developed over the following two centuries, to reveal that isochronism is only approximate and breaks down measurably at larger swing angles — exactly the correction this calculator applies.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon