Oscillation Calculator

Solve simple harmonic motion: angular frequency, period, peak velocity, acceleration and energy.

100% FreeNo sign-upPrivate — runs in your browser

Solve simple harmonic motion: angular frequency, period, peak velocity, acceleration and energy.

—

Frequency (Hz)

Angular frequency ω (rad/s)
—
Frequency (Hz)
—
Period (s)
—
Maximum velocity (m/s)
—
Maximum acceleration (m/s²)
—
Total energy (J)
—
Copied to clipboard

How to use this tool

1
Enter the mass

Mass attached to the spring, in kilograms.

2
Enter the spring constant

Stiffness k in newtons per metre; stiffer springs oscillate faster.

3
Enter the amplitude

Maximum displacement from equilibrium, in metres.

4
Read frequency and energy

Frequency is independent of amplitude for ideal SHM; energy grows with amplitude squared.

Formula & worked example

Angular frequency ω = sqrt(k / m), frequency f = ω / (2π), period T = 2π / ω, maximum velocity v_max = A × ω, maximum acceleration a_max = A × ω², total energy E = ½ × k × A².

Mass 1 kg, k = 100 N/m, amplitude 0.1 m: ω = 10 rad/s, f = 1.5915 Hz, T = 0.6283 s, v_max = 1 m/s, a_max = 10 m/s², energy 0.5 J.

Limitations — read this before you rely on it

This is undamped, ideal simple harmonic motion with a massless, linear spring. Real systems lose energy to damping and friction, and springs become non-linear at large extensions.

Frequently asked questions

No — for ideal SHM the period depends only on mass and spring constant, not amplitude.

ω in radians per second; ordinary frequency in hertz is ω divided by 2π.

At equilibrium, where displacement is zero; velocity is zero at the turning points.

At the turning points, where the spring force is largest; acceleration is zero at equilibrium.

Total energy stays constant, swapping between kinetic energy (maximum at equilibrium) and spring potential energy (maximum at the extremes).