Simple Harmonic Motion Calculator

Enter amplitude, angular frequency, and time to instantly compute displacement, velocity, and acceleration for a simple harmonic oscillator.

Oscillator Parameters

Derived Properties

Period (T)
seconds
Frequency (f)
Hz
Max Velocity
m/s
Max Acceleration
m/s²

Instantaneous Values at t

Displacement x(t)
A cos(ωt + φ)
m
Velocity v(t)
−Aω sin(ωt + φ)
m/s
Acceleration a(t)
−Aω² cos(ωt + φ)
m/s²

Waveform — One Period

Summary

Enter amplitude, angular frequency, and time to instantly compute displacement, velocity, and acceleration for a simple harmonic oscillator.

How it works

  1. Enter the amplitude (A) — the peak displacement from equilibrium.
  2. Enter the angular frequency (ω) in radians per second.
  3. Enter the initial phase angle (φ) in degrees (default 0).
  4. Enter the time (t) at which to evaluate the motion.
  5. Read the instantaneous displacement, velocity, and acceleration below.
  6. Inspect the phase plot to visualize the complete oscillation cycle.

Use cases

  • Check textbook SHM problems for displacement, velocity, and acceleration.
  • Verify spring-mass system behavior at a specific instant.
  • Explore how phase angle shifts the entire oscillation waveform.
  • Understand the phase relationship between position, velocity, and acceleration.
  • Quickly convert between period, frequency, and angular frequency.
  • Visualize how amplitude and frequency affect peak velocity and acceleration.

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu