Hookes Law Spring Calculator

Solves force, spring rate or displacement for a linear spring (F = F₀ + kx), with restoring-force direction, stored energy and an optional preload.

100% FreeRuns in your browserIntermediate

Inputs

Force, spring rate or displacement for a linear spring, with optional preload, restoring-force direction and stored energy.

Positive = extension, negative = compression. Measured from the spring's free length, not from an installed position.

Spring rate

Also the unit used to report a solved stiffness.

More options
Preload

Initial tension (e.g. close-wound extension springs). F = F₀ + k·x.

Linear range

Optional. The largest displacement your supplier states the rate holds for. The tool has no built-in limit.

Enter the values and press Calculate.

Or load an example to see a worked result.

Spring displacement from the free length
Not to scale
Spring displacement from the free lengthTop: spring at its free (unstretched) length. Bottom: the same spring displaced by x, with the applied load and the restoring force in opposite directions.Free (unstretched) lengthDisplacedLoad FRestoring −Fx
The displacement x is measured from the free length. The applied load and the spring's restoring force act in opposite directions.

Tip: Enter any known values to calculate the remaining results.

Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.