On this page
Textbooks give T = 2π√(L/g) for small oscillations. Here is what replaces it for large swings, how to evaluate it on a calculator, and how big the small-angle error really is.
What is the exact period of a large-amplitude pendulum?
For a simple pendulum of length L released from rest at angle θ₀, the exact period is T = (2T₀/π)·K(k) with k = sin(θ₀/2) and T₀ = 2π√(L/g), as derived in the Wikipedia article on the pendulum). Multiply it out and you get T = 4√(L/g)·K(sin(θ₀/2)).
K is the complete elliptic integral of the first kind, K(k) = ∫₀^(π/2) dφ / √(1 − k² sin²φ), as defined in the NIST Digital Library of Mathematical Functions, §19.2.
Where does it come from? Energy conservation gives the angular speed, dθ/dt = √(2g/L)·√(cos θ − cos θ₀), so a quarter swing takes √(L/2g)·∫₀^θ₀ dθ/√(cos θ − cos θ₀). The substitution sin(θ/2) = k sin φ removes the awkward square root at the turning point and turns that integral into K(k). Check the limit: K(0) = π/2, which gives back 2π√(L/g).
How wrong is T = 2π√(L/g) at 20° and at 90°?
We computed T/T₀ from the exact formula above, using the arithmetic–geometric mean method from DLMF §19.8 explained further down:
10°: 1.0019 (true period 0.19% longer)
20°: 1.0077 (0.77% longer)
30°: 1.0174 (1.7% longer)
45°: 1.0400 (4.0% longer)
60°: 1.0732 (7.3% longer)
90°: 1.1803 (18.0% longer)
120°: 1.3729 (37% longer)
150°: 1.7622 (76% longer)
160°: 2.0075 (about twice as long)
So the error reaches 0.5% near 16°, is 0.77% at 20° and 18% at 90°. As θ₀ approaches 180°, k approaches 1 and K(k) grows without limit: a pendulum balanced upside down would never come back.
The Wikipedia pendulum article) gives a check at 10° for a 1 m pendulum: about 2.0102 s exactly against 2.0064 s from the linear formula, a difference of less than 0.2%, which matches the first row.
How do you expand K(k) as a series?
The DLMF equation 19.5.1 gives K(k) = (π/2)·Σ [(1/2)ₘ/m!]² k²ᵐ. Writing out the first terms:
K(k) = (π/2)(1 + k²/4 + 9k⁴/64 + 25k⁶/256 + …)
So T = T₀(1 + ¼ sin²(θ₀/2) + (9/64) sin⁴(θ₀/2) + …), the same series the Wikipedia article) writes with coefficients (1/2)² and (1·3/2·4)². For small θ₀, sin²(θ₀/2) ≈ θ₀²/4, which gives the familiar first correction T ≈ T₀(1 + θ₀²/16).
Three terms are excellent at 20°: k² = 0.03015, and 1 + k²/4 + 9k⁴/64 = 1.007666 against the exact 1.007669. At 90° they fall short: k² = 0.5 gives 1.1602 against 1.1803. Near k = 1 the terms shrink slowly.
What is the arithmetic–geometric mean method?
Start with two numbers a₀ and g₀. Replace them by their arithmetic mean and their geometric mean, aₙ₊₁ = (aₙ + gₙ)/2 and gₙ₊₁ = √(aₙgₙ), and repeat. DLMF §19.8 shows the two sequences meet at a common limit M(a₀, g₀), that the convergence is quadratic, and that K(k) = π / (2M(1, k′)) with k′ = √(1 − k²).
For a pendulum, k′ = cos(θ₀/2), so the whole problem shrinks to T = T₀ / M(1, cos(θ₀/2)).
Worked example: θ₀ = 90°, L = 1 m, g = 9.81 m/s².
a₀ = 1, g₀ = cos 45° = 0.707107
a₁ = 0.853553, g₁ = 0.840896
a₂ = 0.847225, g₂ = 0.847201
a₃ = g₃ = 0.847213 to six places
So T = T₀ / 0.847213 = 1.18034 T₀. With T₀ = 2π√(1/9.81) = 2.006 s, the true period is 2.368 s, not 2.006 s.
Which pendulum formula should you use?
A quick decision rule, based on the values computed above with the AGM from DLMF §19.8:
Under about 10°: T = 2π√(L/g); the error is below 0.2%.
10° to 45°: T ≈ T₀(1 + θ₀²/16); at 45° this gives 1.0386 against the exact 1.0400.
Above 45°, or when you need more digits: run the AGM on 1 and cos(θ₀/2) and divide T₀ by the result.
For related pendulum physics, read why a pendulum's swing grows when you shorten it slowly, why a metronome slows down when you slide its weight up, and the SHM and oscillations mistakes students make in JEE and NEET.
If simple harmonic motion, energy conservation or definite integrals still feel shaky, the Fermi Concept Library gives every concept in physics and mathematics its own lesson and its place in the map. To practise period problems, the Fermi Problem Library has a step-by-step solver that explains the reasoning.



