Spring Calculator
Calculate spring force, elastic potential energy, oscillation period, and frequency using Hooke's law.
About the spring calculator
Spring calculation examples
These ideal examples connect static deformation with oscillator behavior.
| Spring setup | Calculated properties | Interpretation |
|---|---|---|
| k = 200 N/m, x = 0.10 m, m = 2 kg | 20 N; 1 J; 0.63 s; 1.59 Hz | A moderately stiff spring with a two-kilogram mass. |
| k = 80 N/m, x = 0.15 m, m = 1.25 kg | 12 N; 0.90 J; 0.79 s; 1.27 Hz | A softer spring and lighter attached mass. |
| k = 500 N/m, x = 0.02 m, m = 0.5 kg | 10 N; 0.10 J; 0.20 s; 5.03 Hz | A stiff, fast oscillator with small travel. |
| k = 25 N/m, x = 0.40 m, m = 4 kg | 10 N; 2 J; 2.51 s; 0.40 Hz | A soft spring carrying a larger mass. |
How to calculate spring properties
- Enter the spring constant in newtons per meter.
- Enter displacement from equilibrium in meters, using either sign for direction.
- Enter the effective oscillating mass in kilograms.
- Select Calculate Spring to display force magnitude, stored energy, period, and natural frequency.
Spring calculator FAQ
What does the spring constant mean?
The spring constant is force required per unit displacement in the linear elastic range. A higher spring constant describes a stiffer spring.
Why does Hooke's law include a minus sign?
The minus sign shows that spring force opposes displacement and acts toward equilibrium. This calculator displays the magnitude so force and energy are easy to compare.
Does displacement affect oscillation frequency?
Not in the ideal linear simple-harmonic model. Real springs can become nonlinear at large displacement, causing frequency to vary with amplitude.
How does mass affect the period?
Period increases with the square root of mass, so adding mass slows the oscillator. Multiplying mass by four doubles the ideal period when stiffness is unchanged.
Can I use this result to select a real spring?
It is useful for initial calculations but does not establish a safe component rating. Check preload, travel, solid height, buckling, fatigue, damping, tolerances, and manufacturer load limits.