Pendulum, Spring and Wave Calculator
NEWFind the period of a simple pendulum or a mass on a spring, solve wave speed, frequency and wavelength, and get position, velocity and acceleration in simple harmonic motion.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Formulas used
- T₀ = 2π√(L / g)
- T = T₀ / AGM(1, cos(θ₀ / 2))
- f = 1 / T, ω = 2π / T
Ideal simple pendulum: point mass, massless string, no friction. Without the amplitude option the small-angle formula is used; the exact correction adds about 1.7% at 30° and 18% at 90°.
Quick Examples
Typical inputs and the results this tool produces.
Overview
Four oscillation calculators share one page. The simple pendulum mode solves T = 2π√(L/g) for the period, the length or the local gravity, with presets for Earth, the Moon and Mars that you can overwrite. For wide swings, an optional correction uses the exact period from the complete elliptic integral, computed with the arithmetic–geometric mean.
The spring-mass mode solves T = 2π√(m/k) for period, mass or spring constant. The wave mode links speed, frequency and wavelength through v = fλ and accepts either a frequency or a period. The simple harmonic motion mode takes amplitude, frequency and phase and returns displacement, velocity and acceleration at any moment, plus their maximum values.
Units can be metric or imperial, and every result can be copied as plain text. All maths runs in your browser.
Why use this tool?
- Solve for any variable, not only the period
- Optional exact period for large swing angles
- Earth, Moon and Mars gravity presets
- Velocity and acceleration at any time t in SHM
- Formulas listed under every result
Features
Simple pendulum
Period, length or gravity from T = 2π√(L/g), with frequency and angular frequency.
Large-angle correction
Enter the swing amplitude to get the exact period instead of the small-angle value.
Mass on a spring
Period, mass or spring constant from T = 2π√(m/k), in kg, g or lb and N/m or lbf/in.
Wave equation
Speed, frequency or wavelength from v = fλ; type a period instead of a frequency if you prefer.
Harmonic motion
x(t), v(t) and a(t) for any time and phase, with maximum speed and acceleration.
Copy results
Copy all values of the current mode with their units in one click.
How to Use
Choose a mode
Pick simple pendulum, spring-mass, wave speed or simple harmonic motion.
Pick the unknown
Select which value to solve for, then fill in the others and their units.
Read the results
The solved value is highlighted next to frequency, period and the other related quantities.
Copy or adjust
Copy the result, or change a value or unit to see how the motion changes.