Science & engineering

Spring energy calculator

Calculate elastic potential energy stored in an ideal spring.

Spring energy calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Stored elastic energy E = kx²/2 in joules. Uses displacement from the equilibrium position and an ideal constant spring stiffness. Compression and extension of equal magnitude store equal energy in this model.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Spring constant (N/m)
200
Signed extension from equilibrium (m)
0.05

Example result

Stored energy (J)
0.25