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

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

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