⚡
usefultools.dev
🕰️

Pendulum, Spring and Wave Calculator

NEW

Find 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.

Period T
2.00641 s
Length L
1 m
Gravity g
9.80665 m/s²
Frequency f
0.498403 Hz
Angular frequency ω
3.13156 rad/s

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.

Pendulum
Pendulum L = 1 m, g = 9.80665 m/s²
T = 2.00641 s, f = 0.498403 Hz
Spring-mass
Spring m = 0.5 kg, k = 200 N/m
T = 0.314159 s, f = 3.1831 Hz
Wave
Sound v = 343 m/s, f = 440 Hz
λ = 0.779545 m, T = 0.00227273 s
SHM
A = 0.1 m, f = 1 Hz, φ = 0, t = 0.125 s
x = 0.0707107 m, v = −0.444288 m/s
📖

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

1

Choose a mode

Pick simple pendulum, spring-mass, wave speed or simple harmonic motion.

2

Pick the unknown

Select which value to solve for, then fill in the others and their units.

3

Read the results

The solved value is highlighted next to frequency, period and the other related quantities.

4

Copy or adjust

Copy the result, or change a value or unit to see how the motion changes.

🤔

Frequently Asked Questions