Simple Harmonic Motion Calculator

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

Use the Simple Harmonic Motion Calculator

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

Simple harmonic motion (SHM) describes oscillating systems — springs, pendulums, LC circuits — where the restoring force is proportional to displacement. This calculator uses the standard SHM equations x(t) = A cos(ωt + φ), v(t) = −Aω sin(ωt + φ), and a(t) = −Aω² cos(ωt + φ) to find instantaneous values at any point in the cycle. Results update in real time as you type, and a phase plot lets you visualize the full cycle at a glance.

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-09-30 · Reviewed by Nham Vu