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

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

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