numvana

Hooke's Law Spring Calculator

Calculate the restoring force and stored elastic potential energy of a stretched or compressed spring from its spring constant, in metric (N/m) or imperial (lbf/ft) units.

Restoring force
10 N
Elastic potential energy stored
0.25 J

How it works

Hooke's law says an ideal spring's restoring force is directly proportional to how far it's stretched or compressed from its natural length: F = k × x, where k is the spring constant (a measure of stiffness — higher k means a stiffer spring) and x is the displacement from equilibrium. The elastic potential energy stored in that deformation is U = ½ × k × x².

Both formulas are dimensionally self-consistent within either unit system on its own, so no internal metric-to-imperial conversion is needed: with k in newtons per meter and x in meters, force comes out in newtons and energy in joules; with k in pounds-force per foot and x in feet, force comes out in pounds-force and energy in foot-pounds-force (lbf·ft) — a genuine standard unit for mechanical energy, the same one used elsewhere in engineering, not something invented for this calculator.

FAQ

What does the spring constant actually represent?

It's the amount of force needed to stretch or compress the spring by one unit of length — a stiff garage-door spring might have a spring constant of thousands of newtons per meter, while a soft pen-click spring might be under 100. It's a property of the specific spring (its material, coil geometry, and wire thickness), not something this calculator derives — you supply it directly, or look it up from a spring's datasheet.

Does Hooke's law work for any amount of stretch or compression?

No — it's only accurate within a spring's elastic limit, the range over which it returns to its original shape once released. Stretch a real spring far enough and it permanently deforms or breaks, at which point force is no longer proportional to displacement and this linear formula stops applying. Hooke's law is the standard small-displacement approximation, valid for the same reason a pendulum's period formula only holds at small swing angles.

Related calculators