Easy CalculatorsOnline
A little less guesswork.

Physics · EVERYDAY CLARITY

Elastic spring energy calculator

Estimate energy stored in a linear spring.

Units & number format

Change input units here. Results, charts and worked examples retain the calculation units stated on the page. Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Stored elastic energy
2 J
See visual ↓

U=½kx²; linear spring, deformation within elastic range.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

Energy versus deformation

Energy versus deformation · final2 J
Energy versus deformationJ
Energy versus deformationHorizontal labels are displacement in meters. Energy grows quadratically in the linear model.00.511.5200.10.2Energy versus deformationHorizontal labels are displacement in meters. Energy grows quadratically in the linear model.00.511.5200.10.2
Energy versus deformation
View exact chart values ↗
Energy versus deformation — sampled points
MilestoneEnergy versus deformation
00 J
0.020.02 J
0.040.08 J
0.060.18 J
0.080.32 J
0.10.5 J
0.120.72 J
0.140.98 J
0.161.28 J
0.181.62 J
0.22 J

Horizontal labels are displacement in meters. Energy grows quadratically in the linear model.

03 · UNDERSTAND THE METHOD

How the elastic spring energy calculator works

Elastic potential energy describes the energy stored by deforming a linear spring from its zero-force equilibrium. This calculator uses stiffness and deformation magnitude, producing joules. Unlike restoring force, stored energy does not change sign when a spring is compressed rather than stretched by the same magnitude. The square of deformation makes energy rise faster than the deformation itself.

The formula and its variables

U = ½kx²
constant
Spring constant (N/m). Use the stated unit; this input is a scenario value.
displacement
Displacement magnitude (m). Use the stated unit; this input is a scenario value.

The calculation, step by step

  1. Enter the spring’s constant stiffness in newtons per meter. Confirm the modeled deformation is within its linear elastic range.
  2. Measure deformation from the zero-force equilibrium and enter its magnitude in meters. Total spring length is not the required displacement.
  3. Square deformation, multiply by stiffness, and divide by two. Inspect the energy-versus-deformation curve, whose horizontal labels are meters.

A worked example

A 100 N/m spring deformed by 0.2 m stores½×100×0.2²=2 J. At 0.1 m it stores 0.5 J, one-quarter as much. The restoring force at 0.2 m has magnitude 20 N, but multiplying 20 N by the whole 0.2 m would give 4 J and overstate energy because force grew from zero during deformation.

Example inputs and calculated output
Spring constant (N/m)100
Displacement magnitude (m)0.2
Stored elastic energy2 J

How to read the result and visual

The one-half factor accounts for linearly increasing force over the displacement. The plotted curve makes the squared relationship clear. Stored energy can be released through motion or dissipated by losses, but this tool does not calculate final speed or how much energy another component receives.

Assumptions, rounding, and limitations

The model assumes no preload, no hysteresis, and constant stiffness. Plastic deformation, coil contact, friction, damping, and nonlinear elastic materials require different force-displacement relations. It does not assess a spring’s safe load, fatigue life, or release hazard. Entered measurement precision sets the usefulness of the resulting energy.

Frequently asked questions

Why is the energy always nonnegative?

The squared deformation and nonnegative stiffness represent energy stored relative to the chosen equilibrium state, regardless of direction.

What if the spring already has preload?

Use an appropriate energy difference between the two states. This simple zero-equilibrium expression does not infer preload automatically.

Reference sources

How we check calculations and what verification covers