Pendulum Calculator
Find the period, frequency, or length of a simple pendulum using T = 2π√(L/g).
Runs entirely in your browser. No data is sent to a server.
Free Pendulum Calculator
Curious how long it takes a pendulum to swing back and forth? Our free pendulum calculator finds the period, frequency, or length of a simple pendulum instantly using T = 2π√(L/g). Enter the length and gravity, or work backwards from a known period, and see the result immediately.
Presets for Earth, Moon, and Mars gravity let you quickly compare how a pendulum would behave on different worlds, and a live animated pendulum shows the swing visually as you adjust the values. The calculator also flags when your swing angle is too large for the standard small-angle formula to stay accurate.
Whether you're studying simple harmonic motion or just experimenting with the physics of a swing, this tool gives clear, accurate answers with the working shown. No sign-up, no downloads, no limits. See the About and FAQ sections below for more.
About the Pendulum Calculator
How It Works & Methodology
Enter any two of period, length, and gravity, and the calculator solves for the third, along with frequency and an animated pendulum swinging at the computed period.
Features
Solve for T, L, or g
Any two values give the third.
Gravity presets
Earth, Moon, Mars, or a custom value.
Animated pendulum
Swings at a rate scaled from the computed period.
Small-angle check
Warns when the swing amplitude exceeds ~15°.
Mathematical Basis & Practical Verification
The Pendulum Calculator is built on SI-unit classical mechanics, electromagnetism, thermodynamics, optics, and special relativity equations using CODATA physical constants. Free pendulum calculator that solves for period, length, or gravitational acceleration using T=2pi sqrt(L/g), with gravity presets, unit conversion, and an animated pendulum. Key capabilities built into this tool include solve for t, l, or g, gravity presets, animated pendulum, and small-angle validity check.
All computations for the Pendulum Calculator follow the definitions established in CODATA Internationally Recommended Values of the Fundamental Physical Constants (National Institute of Standards and Technology (NIST)) and ISO 80000-4: Quantities and Units — Mechanics, Thermodynamics, and Electromagnetism (International Organization for Standardization (ISO)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/pendulum-calculator.spec.ts, you can inspect boundary conditions, verify dimensional consistency across physics units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Calculate range, maximum height, flight time, and impact velocity, and watch the trajectory animate on a live canvas.
Solve for any two unknowns using the five kinematic equations, with step-by-step working.
Solve for voltage, current, resistance or power from any two known values, with unit conversion and a formula triangle.
Apply Newton's second law to solve for force, mass, or acceleration, with unit conversion and an optional net-force mode.
Authoritative Sources & Standards
- CODATA Internationally Recommended Values of the Fundamental Physical Constants — National Institute of Standards and Technology (NIST)
- ISO 80000-4: Quantities and Units — Mechanics, Thermodynamics, and Electromagnetism — International Organization for Standardization (ISO)
Frequently Asked Questions
How does the pendulum calculator work?
Enter any two of period, length, or gravitational acceleration, and it solves for the third using T = 2π√(L/g).
What is the pendulum period formula?
T = 2π√(L/g), where L is the pendulum length and g is gravitational acceleration.
Does it work for other planets?
Yes, presets for Earth, Moon, and Mars gravity are included, plus a custom gravity field.
Does mass affect the period?
No — for a simple pendulum, the period depends only on length and gravity, not the mass of the bob.
What is the small-angle approximation?
The formula assumes swings under about 15°; the calculator flags when your input suggests this assumption may not hold.
Does it show the steps?
Yes, the formula and substitution with your actual values are shown for every calculation.
What if I enter a negative length?
Length and gravity must be positive; invalid values are flagged.