Pendulum Calculator
Calculate pendulum period, string length, or local gravity using T = 2π√(L/g).
What Is Pendulum Motion?
A simple pendulum consists of a mass (the bob) suspended by a string or rod of length L, swinging in a gravitational field g. For small oscillation angles (< 15°), the motion is simple harmonic motion (SHM) with period T = 2π√(L/g). The period is the time for one complete swing (out and back). Crucially, for small angles, T is independent of the mass and the amplitude — only L and g matter.
The formula reveals key relationships: doubling the length increases the period by √2 ≈ 1.41 (not 2). Quadrupling the length doubles the period. On the Moon (g = 1.62 m/s²), a 1 m pendulum has T = 2π√(1/1.62) = 4.95 s — nearly 2.5× longer than on Earth. On Jupiter (g = 24.8 m/s²), the same pendulum would swing in T = 1.26 s.
Pendulums were the basis of the world's most accurate clocks for nearly 300 years (1657–1930s). A grandfather clock uses a 1 m pendulum with T ≈ 2 seconds (1 second each way). Temperature compensation was a key engineering challenge because the rod length changes with temperature, shifting the period. Invar alloy (near-zero thermal expansion) solved this in precision clocks.
The simple pendulum formula assumes: small angle (sin θ ≈ θ in radians, valid for θ < 15°), massless string, bob treated as point mass, no air resistance or friction. For large angles, the exact period involves elliptic integrals. For a compound pendulum (distributed mass), replace L with L_effective = I/(mL_cm), where I is the moment of inertia about the pivot.
Formula Reference Table
| Quantity | Formula | Notes |
|---|---|---|
| Period (T) | T = 2π · √(L/g) | seconds; independent of mass and amplitude |
| Length (L) | L = g·T²/(4π²) | string length to pivot (meters) |
| Gravity (g) | g = 4π²L/T² | useful for measuring local g |
| Frequency (f) | f = 1/T | oscillations per second (Hz) |
| Angular frequency (ω) | ω = 2π/T = √(g/L) | rad/s |
| Energy | E = mgh_max = ½mL²ω²θ² | θ in radians, h_max = L(1−cos θ) |
3 Worked Examples
Design a clock pendulum that ticks once per second (T = 2 s). Find the required length on Earth.
- T = 2π√(L/g) → T² = 4π²L/g → L = gT²/(4π²)
- L = 9.8 × 4 / (4 × 9.87) = 39.2 / 39.48
- L = 0.993 m ≈ 1 meter — matches the classic grandfather clock
A 0.5 m pendulum swings on the Moon (g = 1.62 m/s²). Find period and compare to Earth.
- T_Moon = 2π√(0.5/1.62) = 2π × √0.3086 = 2π × 0.5555 = 3.49 s
- T_Earth = 2π√(0.5/9.8) = 2π × 0.2259 = 1.42 s
- Ratio: 3.49/1.42 = 2.46 — Moon pendulum is 2.46× slower
A 1.5 m pendulum is timed over 20 complete oscillations taking 49.2 s. Find g.
- Period: T = 49.2/20 = 2.46 s
- g = 4π²L/T² = 4 × 9.87 × 1.5 / (2.46²)
- g = 59.22 / 6.052 = 9.79 m/s² (close to standard 9.8 m/s²)
- The small difference reflects local geology and latitude
Real-World Applications
Common Mistakes to Avoid
T = 2π√(L/g), not just √(L/g). Forgetting 2π gives a period ~6.28× too small. The factor 2π appears because one full cycle = 2π radians of rotation in the associated circular motion model.
T = 2π√(L/g) assumes sin θ ≈ θ (small angle approximation). At 30°, the error is ~1.7%; at 45°, ~4%; at 90°, ~18%. For large swings, a correction term is needed: T ≈ 2π√(L/g) × (1 + θ²/16 + ...).
The period of a simple pendulum is independent of mass (for a given L and g). Students sometimes try to include bob mass — it cancels out in the derivation.
T = 2π√(L/g) requires L in meters when g is in m/s². L = 50 cm = 0.50 m, not 50. Using 50 gives T = 2π√(50/9.8) ≈ 14.2 s instead of the correct 1.42 s.
L is the effective pendulum length — from the pivot point to the center of mass of the bob, not just the string length. Add the bob radius or half its height to the string length.
Frequently Asked Questions
Related Physics Calculators
Formula Explorer connections
Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.