Part of the Engineering & Mechanics suite · 123 calculators

Simple Harmonic Motion Calculator

Period, frequency, maximum speed and acceleration for a mass on a spring — the oscillation behind every vibration problem.

How fast something bounces on a spring.

kg
N/m
m
Results update as you type
Results
Period
0.99346 s
Frequency
Angular frequency
Maximum speed
Maximum acceleration
Total energy
Maximum restoring force
Reviewed September 2026. Physics is the same everywhere: SI units in, with imperial equivalents in the results.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About simple harmonic motion

How the simple harmonic motion calculator works

When the restoring force is proportional to displacement — F = −kx — the motion is sinusoidal, and its period depends only on the mass and the spring constant: T = 2π√(m/k).

The amplitude does not appear. A larger swing moves faster and covers more distance in exactly compensating measure, which is why a pendulum clock keeps time as its swing decays.

Formula: T = 2π√(m/k); vmax = Aω; amax = Aω²

Worked examples

InputsPeriodNote
0.5 kg on a 20 N/m spring0.99346 speriod 0.993 s
Four times the mass1.98692 sdouble the period
Twice the amplitude0.99346 ssame period, four times the energy

Frequently asked questions

Why does amplitude not affect the period?

Because the restoring force grows in proportion to displacement. A bigger swing means a stronger push, and the two effects cancel exactly.

What is angular frequency?

ω = 2πf, in radians per second. It is the natural variable for the sine describing the motion.

Is a pendulum simple harmonic?

Only approximately, for small swings. Past about 15° the period starts to lengthen with amplitude.

Where does the energy go during a cycle?

It shuttles between kinetic and elastic potential, staying constant in total — until damping removes it.

Why does this matter in engineering?

Because every structure has natural frequencies. Driving one at its own frequency is resonance, and it is how bridges and machines fail.

Where these figures come from

Last checked: September 2026. Constants are the CODATA 2018 values; formulas are the standard textbook forms.