Science & engineering

Hooke’s law calculator

Find the restoring force for an ideal linear spring.

Hooke’s law calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Restoring force F = −kx, with the minus sign opposing displacement from equilibrium. Applies only in the spring’s linear elastic range and ignores damping, preloads and geometric effects.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Spring constant (N/m)
200
Signed extension from equilibrium (m)
0.05

Example result

Restoring force (N)
-10