Active experiment

Simple Harmonic Motion Calculator

Calculate simple harmonic motion with validated inputs, formula substitution, and worked steps.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the simple harmonic motion calculation mean?

Simple harmonic motion is oscillation under a restoring force proportional to displacement, so the motion is sinusoidal about an equilibrium point. Its angular frequency depends on stiffness and mass, and its amplitude does not affect the period.

When to use it

Use it for springs, pendulums at small angles, vibrations, and any linear restoring system.

Formula

Use the relationship shown in the interactive formula panel.

In plain text: Use the relationship shown in the interactive formula panel.

Variables and units

SymbolMeaning
xdisplacement from equilibrium
Aamplitude
ωangular frequency, √(k/m)
Tperiod, 2π/ω

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

A 0.50 kg mass on a 200 N/m spring oscillates at ω = √400 = 20 rad/s, giving a period of about 0.314 s.

Common mistakes

  • Amplitude affects maximum speed but not the period in ideal SHM.
  • Use mass in kilograms and stiffness in newtons per metre.
  • Real oscillations damp out unless energy is supplied.

Interpret the result

Maximum speed occurs at equilibrium, where displacement is zero, and speed is zero at the turning points.