Simple Harmonic Motion Calculator (Mass–Spring)
Angular frequency, period, position, velocity and energy of a mass on a spring.
How to use the Simple Harmonic Motion Calculator
- Enter or select: Mass m, Spring constant k, Amplitude A, Time t, Phase φ.
- The results (Angular frequency ω, Frequency, Period, Position x(t), Velocity v(t), Acceleration a(t), Maximum speed, Total energy) are calculated instantly as you type.
- Use “Copy link” to share the calculation with the same input values.
Formula
- x(t) = A cos(ωt + φ)
- ω = √(k/m)
- E = ½kA²