Overview

A spring pushes back in proportion to how far you stretch or squeeze it, up to its elastic limit. That is Hooke’s law.

Enter the spring constant and the extension to get the force and the stored energy.

Worked examples

InputsResult
Spring constant k (N/m)200Extension or compression (m)0.05Spring force: 10 NStored energy: 0.25 J
Show 2 more examples
Spring constant k (N/m)5,000Extension or compression (m)0.02Spring force: 100 NStored energy: 1 J
Spring constant k (N/m)50Extension or compression (m)0.3Spring force: 15 NStored energy: 2.25 J

Spring force by spring constant k

With the calculator's starting values, the spring force is 10 N. The table shows how it changes with the spring constant k.

Spring constant k (N/m)Spring force
1005 N
1256.25 N
1507.5 N
1758.75 N
200starting value10 N
22511.25 N
25012.5 N
27513.75 N
30015 N

Other inputs: Extension or compression: 0.05 m. Change them in the calculator above for your own numbers.

How it works

Spring force is k·x and the energy stored is ½·k·x². The spring constant k measures stiffness in newtons per meter.

The formula

F = k × x · E = ½ × k × x²
kSpring constant (N/m)
xExtension or compression (m)

Practical tips

  • Find k by hanging a known weight and measuring the stretch: k = weight ÷ extension.
  • Beyond the elastic limit the spring deforms permanently and the law no longer holds.

Frequently asked questions

Why is energy ½kx² and not kx²?

The force grows from zero as you stretch, so the average force is half the final force.

Does it apply to compression?

Yes, for springs designed for compression.