Physics
Basic

Hooke Law

Restoring force of a spring proportional to displacement.

Formula

F=−kxF = -kx

Live Calculator

Members

Variables

kSpring constant
xDisplacement

Example

Stiffer springs pull harder

How it works

Hooke’s law says that when a spring is stretched or compressed a small amount, the force it exerts grows in direct proportion to that displacement. The minus sign means the force points back toward the spring’s natural length, so it is a restoring force. This works well for ordinary springs and other elastic objects as long as they are not stretched too far, because in that range the material resists deformation in a nearly linear way.

When to use it

Use this formula when you need the force from a spring, or the displacement caused by a known spring force, in simple elasticity problems. It appears in physics questions about springs, oscillations, force sensors, and any situation where an object obeys approximately linear elastic behavior.

Worked example, step by step

A spring has spring constant k = 250 N/m and is stretched by x = 0.08 m. Use Hooke’s law: F = -kx Substitute the values: F = -(250)(0.08) Calculate: F = -20 N Final answer: the spring exerts a 20 N force opposite to the stretch direction.

Common mistakes to avoid

  • Forgetting the minus sign, which shows the force is opposite the displacement
  • Using centimetres instead of metres without converting first
  • Applying Hooke’s law to a spring stretched beyond its elastic limit

Did You Know?

Hooke published his spring law in 1676 as the scrambled anagram "ceiiinosssttuv" to secure priority while staying secret.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026