ToolHuts

Practical tools for measured work

Spring energy calculator

Calculate spring energy, signed restoring force and inverse stiffness or displacement.

Calculate the layout, check the diagram, then print the result for the shop or jobsite.

N/m
m
Elastic potential energy2J
Signed restoring force-20N

How it works

For an ideal linear spring, elastic potential energy is kx²/2 and restoring force is −kx. Compression and extension of equal magnitude store the same energy. With k = 100 N/m and x = 0.2 m, energy is 2 J and restoring force is −20 N.

Current-input example

The result above uses these exact values. This snapshot is included when the page is printed so the output can be checked against the original measurements.

Solve for
Energy and restoring force
Spring stiffness
100 N/m
Signed spring displacement
0.2 m

Primary result: Elastic potential energy: 2 J.

Before using the result

  • Check the selected mode, units and input values before using the result.
  • Read the assumptions and rounding rules; compare the worked example with your intended calculation.
  • A numerical result does not supply missing context or change the stated limitations.

Limitations

Stiffness must be positive. Displacement is measured from the unstressed position within the spring’s linear elastic range. The inverse displacement result is a magnitude; either sign stores the same energy. Preload, hysteresis and permanent deformation are excluded.

Frequently asked questions

Which physical model does this result assume?

Use only the configuration named in the selected mode. Enter consistent SI units and check the stated direction, axis and equilibrium assumptions. These educational ideal models do not certify equipment, structures or lifting arrangements.