Simple Harmonic Motion Calculator
Calculate period, frequency, and max velocity for spring-mass systems
This free online simple harmonic motion calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.
Simple Harmonic Motion Calculator
Calculate SHM properties for a spring-mass system.
Angular Freq. ω
10.0000 rad/s
Period T
0.6283 s
Frequency f
1.5915 Hz
Max Velocity v_max
1.0000 m/s
Max Acceleration a_max
10.0000 m/s²
Total Energy E
0.5000 J
Formulas
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Simple Harmonic Motion Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Simple Harmonic Motion Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Simple Harmonic Motion Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Simple Harmonic Motion Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
- •Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
- •Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
- •Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
- •Use it in the field when a quick estimate is needed and a full engineering software package is not available.
About This Calculator
The Simple Harmonic Motion Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Calculate period, frequency, and max velocity for spring-mass systems All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.
The Theory Behind It
Simple harmonic motion (SHM) is the oscillation of a system where the restoring force is proportional to the displacement from equilibrium and directed toward that equilibrium: F = −kx. The classic example is a mass on a spring following Hooke's law, but SHM also describes small-angle pendulum swings, small oscillations of any conservative system near an equilibrium position, and many other physical phenomena. The equation of motion ma = −kx leads to the second-order linear differential equation d²x/dt² + (k/m)x = 0, whose solution is x(t) = A·cos(ωt + φ), where A is the amplitude, ω = √(k/m) is the angular frequency (rad/s), and φ is the phase angle determined by initial conditions. The period is T = 2π/ω = 2π·√(m/k), and the frequency is f = 1/T = (1/(2π))·√(k/m). Importantly, the period depends only on mass and spring stiffness, not on amplitude — this is the defining property of simple harmonic motion and is why pendulum clocks keep accurate time (for small swings) regardless of how wide they are swinging. The maximum velocity during oscillation is v_max = A·ω, reached at x = 0 (equilibrium position). The maximum acceleration is a_max = A·ω², reached at x = ±A (turning points). The total mechanical energy is E = ½kA², which is constant and oscillates between kinetic (at x = 0) and potential (at x = ±A). For a simple pendulum of length L, the SHM formula for small angles gives ω = √(g/L) and T = 2π·√(L/g), independent of mass. Real pendulums deviate from SHM for large angles because sin(θ) ≠ θ; the period-amplitude dependence becomes noticeable above about 10° swing amplitude.
Real-World Applications
- •Automotive suspension tuning: the sprung mass of a car and the spring rate define the natural frequency of the suspension. Tuning this to around 1–1.5 Hz gives a comfortable ride; higher frequencies feel harsh, lower frequencies feel boat-like.
- •Pendulum clocks: a pendulum's period depends only on length and gravity, making it an excellent timekeeping reference. 1-second pendulums are about 25 cm long; the 'seconds pendulum' was used to define the meter in early metric proposals.
- •Seismometers and accelerometers: these instruments use a mass on a spring as a reference inertial mass. Ground motion relative to the inertial mass is measured electronically, giving seismic signals or acceleration readings.
- •Musical instrument tuning: guitar strings, piano strings, and tuning forks all oscillate in SHM at their natural frequencies. The frequency depends on tension, mass per unit length, and length — doubling the tension increases frequency by √2.
- •Structural vibration analysis: buildings and bridges have natural frequencies determined by their mass and stiffness. Designing structures so their natural frequency is far from expected excitation frequencies (earthquakes, wind, foot traffic) prevents resonance failures.
Frequently Asked Questions
What is simple harmonic motion?
Simple harmonic motion is oscillation where the restoring force is proportional to displacement and directed toward equilibrium: F = −kx. This linear force law leads to sinusoidal motion x(t) = A·cos(ωt + φ), with period T = 2π·√(m/k) independent of amplitude. Examples include mass-spring systems, small-angle pendulums, LC electrical circuits, and molecular vibrations near equilibrium.
What's the formula for the period of a spring-mass system?
T = 2π·√(m/k), where m is the mass and k is the spring stiffness. The frequency is f = 1/T = (1/(2π))·√(k/m), measured in Hz. Increasing mass increases period (slower oscillation); stiffer springs (higher k) decrease period (faster oscillation). The period is independent of amplitude — a small oscillation and a large oscillation have the same period, which is why spring-mass systems work as accurate clocks.
What's the formula for the period of a pendulum?
For small-angle oscillations, T = 2π·√(L/g), where L is the pendulum length and g is the local gravitational acceleration. Note that the period does NOT depend on mass or amplitude — only on length and gravity. For a 1-meter pendulum on Earth (g = 9.81 m/s²), T ≈ 2.0 s. For large amplitudes (above ~10°), the small-angle approximation breaks down and the period depends slightly on amplitude.
What is resonance?
Resonance occurs when a system is driven at its natural frequency — the frequency at which it 'wants' to oscillate. A small periodic force can then cause very large amplitudes to build up. Mechanical resonance famously destroyed the Tacoma Narrows bridge in 1940 when wind vortices matched a natural torsional frequency. Vibration engineers carefully avoid designing structures and machinery with natural frequencies near expected excitation frequencies.
How does damping affect SHM?
Real systems have some damping (friction, air drag, energy losses), which reduces amplitude over time. The three regimes are: underdamped (oscillates with decreasing amplitude), critically damped (returns to equilibrium in minimum time without oscillation), and overdamped (slowly returns to equilibrium without oscillation). Door closers and vehicle shock absorbers are designed near critical damping for optimal behavior. The damping ratio ζ quantifies the amount of damping: ζ < 1 is underdamped, ζ = 1 is critical, ζ > 1 is overdamped.
Related Calculators
Projectile Motion Calculator
Calculate range, max height, and time of flight for projectile motion
Circular Motion Calculator
Calculate centripetal acceleration, force, angular velocity, and period
Work-Energy Calculator
Calculate kinetic energy, potential energy, and work done by a force
Impulse-Momentum Calculator
Calculate impulse, momentum change, and average force
Angular Momentum Calculator
Calculate angular momentum, torque, and conservation scenarios
Gear Ratio Calculator
Calculate gear ratios, output RPM, and torque for single or multi-stage gear trains