Spring potential energy calculator

Find elastic potential energy and restoring force for a linear spring.

Enter values

Start with the example below, or enter your own values.

How it works

Use U = kx²/2 and F = −kx; valid in the linear elastic region.

Try an example

Spring stiffness (N/m): 200; Displacement (m): 0.1. The form starts with these values; change them to explore your own case.

Example result: 1 J

  1. U = ½kx².

Learn more in Classical mechanics calculators and examples.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.