Simple Harmonic Motion Calculator

By Bogna Szyk
Last updated: Apr 13, 2021

This simple harmonic motion calculator will help you find the displacement, velocity, and acceleration of an oscillating particle. All you need to do is determine the fundamental properties of the periodic motion - for example, its frequency and amplitude - and input them into the simple harmonic motion equations.

If you're interested in how a harmonic wave propagates in space, check out the harmonic wave equation calculator instead.

What is the simple harmonic motion?

Simple harmonic motion is a type of oscillating motion. A particle in this kind of motion always moves along the same path, with an acceleration towards a fixed point.

A great example for such a case can be the simple pendulum. A mass suspended on a string that is moved from its equilibrium position will move back and forth, always accelerating towards the equilibrium point. If we assume no energy loss, the pendulum will keep swinging forever. In the equilibrium point the kinetic energy is maximal.

Simple harmonic motion equations

If you know the period of oscillations, it is possible to calculate the position, velocity, and acceleration of the particle at every single point in time. All you have to do is to apply the following simple harmonic motion equations:

y = A * sin(ωt)

v = A * ω * cos(ωt)

a = - A * ω² * sin(ωt)


  • A is the amplitude of oscillations,
  • ω is the angular frequency of oscillations in rad/s. It can be calculated as ω = 2πf, where f is the frequency,
  • t is the time point when you measure the particle's displacement,
  • y is the displacement,
  • v is the velocity, and
  • a is the acceleration.

How to calculate the acceleration of an oscillating particle?

Let's analyze the example of a particle in simple harmonic motion. We want to find out what is the displacement, velocity, and acceleration at t = 1.4 s.

  1. Determine the frequency of oscillations. Let's assume it's equal to f = 1 Hz.
  2. Calculate the angular frequency, using the the formula ω = 2πf = 2π * 5 = 6.288 rad/s.
  3. Decide on what is the amplitude of the oscillations. Let's take A = 15 mm.
  4. Plug all of the values into the simple harmonic motion equations:

y = 15 * sin(6.28 * 1.4) = 8.82 mm

v = 15 * 6.28 * cos(6.28 * 1.4) - -76.25 mm/s

a = - 15 * 6.28² * sin(6.28 * 1.4) = -348 mm/s²

Of course, instead of calculating it manually, you can plug all of the values into this simple harmonic motion calculator.

Bogna Szyk
Angular frequency
per s
People also viewed…


Addiction calculator tells you how much shorter your life would be if you were addicted to alcohol, cigarettes, cocaine, methamphetamine, methadone, or heroin.

Chilled drink

With the chilled drink calculator you can quickly check how long you need to keep your drink in the fridge or another cold place to have it at its optimal temperature. You can follow how the temperature changes with time with our interactive graph.

Heat index

Wondering what the weather feels like today? Check the heat index calculator for the apparent temperature.
main background