How to use it
- Pick what to find (force / spring constant / stretch).
- Enter the two known values in N, m and N/m.
- The energy (J) in the result is what is stored in the spring.
What this calculates
When you stretch or compress a spring, it pulls back with a force proportional to the change in length (Hooke's law). A larger constant k means a stiffer spring. The stored energy grows with the square of the stretch: double the stretch, four times the energy. The formula holds only while the spring is not over-stretched; beyond the elastic limit it will not spring back, and this calculator does not judge that limit.
The formulas
- F = k·x (F: force, k: spring constant, x: stretch)
- k = F ÷ x, x = F ÷ k
- E = ½·k·x² (E: stored elastic energy)
Reference table
| k (N/m) | Stretch (m) | Force (N) | Energy (J) |
|---|---|---|---|
| 50 | 0.01 | 0.5 | 0.0025 |
| 50 | 0.1 | 5 | 0.25 |
| 200 | 0.05 | 10 | 0.25 |
| 1000 | 0.02 | 20 | 0.2 |
| 1000 | 0.1 | 100 | 5 |
Worked examples
- k = 200 N/m stretched 5 cm → force 10 N, energy 0.25 J
- A spring stretching 2 cm under 10 N → k = 500 N/m, energy 0.1 J
- 0.5 N on a 3.3 N/m spring → stretches about 15.15 cm, storing 0.0379 J
Frequently asked questions
How do I find k?
Hang a known weight, measure the stretch and use k = force ÷ stretch. The "spring constant" mode here does it.
Is it the same when compressing?
Yes. Enter the compression as x; only the force direction is reversed.
Why is there a ½ in the energy?
The force grows from 0 to kx, so use the average force (½kx) times the distance.
What about weights in kg?
Force (N) = mass (kg) × 9.80665. A 0.5 kg weight is about 4.9 N.
Can I join two springs?
This handles one spring. In series k gets smaller; in parallel the k values add. Enter the combined k.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- Continue with the Pendulum Calculator for swinging weights and the Stress and Strain Calculator for materials.
- Check the work done in the Work and Power Calculator.
Sources
- NIST SP 330, The International System of Units (SI) — units of force (N) and energy (J)
- NIST SP 811, Guide for the Use of the SI — the newton and the kilogram-force
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.