🌀 Hooke's Law Calculator (F = kx)

No ratings yet — be the first

Enter details

Pick what you want to find. The box for that quantity is ignored, so you can leave any number in it.

Fill in the details and click Calculate to see your results.

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Hooke's Law

Hooke's law says the force needed to stretch or compress a spring is proportional to the extension: F = kx. The constant k, the spring constant, measures how stiff the spring is.

Use this calculator to find the force, the spring constant or the extension. It also gives the elastic potential energy stored in the spring, ½kx².

🧮 Formula

Hooke's law
F = k x
Elastic potential energy
E = ½ k x²

Where

  • F = force (N)
  • k = spring constant (N/m)
  • x = extension or compression from the natural length (m)
  • E = energy stored (J)
Hooke's law only holds up to the limit of proportionality; beyond the elastic limit the spring is permanently stretched.

✏️ Worked examples

Force to stretch a spring 5 cm

You enter
FindForce (F)
Spring constant (k)200 N/m
Extension or compression (x)0.05 m
You get
Force (N)10
Spring constant (N/m)200
Extension (m)0.05
Elastic potential energy (J)0.25

A 200 N/m spring stretched by 5 cm needs 10 N and stores 0.25 J.

Try this example →

Finding k from an experiment

You enter
FindSpring constant (k)
Extension or compression (x)0.07 m
Force (F)4.9 N
You get
Force (N)4.9
Spring constant (N/m)70
Extension (m)0.07
Elastic potential energy (J)0.1715

A 500 g mass (4.9 N) stretching a spring by 7 cm gives k = 70 N/m.

Try this example →

🧭 How to use this calculator

What you enter

  • FindPick what you want to find. The box for that quantity is ignored, so you can leave any number in it.
  • Spring constant (k) (N/m)
  • Extension or compression (x) (m)
  • Force (F) (N)

What you get

  • Force (N)
  • Spring constant (N/m)
  • Extension (m)
  • Elastic potential energy (J)

💡 Springs in series and parallel

  • Parallel: k = k₁ + k₂ (stiffer).
  • Series: 1/k = 1/k₁ + 1/k₂ (softer).

❓ Frequently asked questions

What is Hooke's law?

Within the elastic limit, the extension of a spring is proportional to the force applied: F = kx.

What is the unit of spring constant?

Newtons per metre (N/m).

How do you find the spring constant?

Hang known weights on the spring, measure each extension, and divide force by extension (or take the slope of the force–extension graph).

What is the energy stored in a spring?

E = ½kx², the area under the force–extension graph.