Physics Laws & Theorems
Basic

Hooke's Law

The restoring force of a spring is proportional to its extension.

Formula

F=−kxF = -kx

Live Calculator

Members

Variables

kSpring constant
xDisplacement

Example

A spring with k = 100 N/m stretched 0.2 m pulls back with 20 N.

How it works

Hooke’s law says that, for a spring or spring-like object, the force it exerts grows in direct proportion to how far it is stretched or compressed from its natural length. The minus sign shows that the force acts in the opposite direction to the displacement, so the spring always tries to return to equilibrium. This works well only while the material stays within its elastic limit, where the spring’s behavior remains approximately linear.

When to use it

Use this formula when dealing with springs, elastic bands modeled as springs, or any situation where you need the restoring force from a small extension or compression. It is common in mechanics problems involving equilibrium, oscillations, and stored elastic energy.

Worked example, step by step

A spring has spring constant k = 250 N/m and is compressed by x = 0.08 m. Step 1: Write Hooke’s law: F = -kx Step 2: Substitute the values: F = -(250)(0.08) Step 3: Calculate: F = -20 N Final answer: The spring exerts a restoring force of 20 N opposite to the direction of the compression.

Common mistakes to avoid

  • Forgetting the negative sign and treating the force as acting in the same direction as the displacement
  • Using the formula beyond the elastic limit, where force is no longer proportional to extension
  • Mixing up the spring constant units, which should be newtons per meter (N/m)

Did You Know?

Hooke's law holds only up to the elastic limit; stretch a spring too far and it never returns.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026