Simple Harmonic Motion Calculator

Find displacement, velocity, acceleration, period, and energy of a simple harmonic oscillator.

Result
—

How to calculate

Calculate angular frequency from spring stiffness and mass, use the cosine motion equation, and differentiate it for velocity and acceleration.

Worked example

Use Mass (kg) 4 · Spring stiffness (N/m) 100 · Amplitude (m) 0.2 · Initial phase (degrees) 0 · Elapsed time (s) 0. The result is ≈ 0.2 m.

Input and result notes

The model assumes a linear restoring force without damping or driving.

OpenStax simple harmonic motion

Related calculators