Skip to main content
🔭 Mechanics

Hooke's Law Calculator

Find spring force, spring constant or extension using F = kx — and the elastic energy stored (½kx²). Enter any two values to solve the third.

F = k × x
Solve any value
Energy = ½kx²
Stiffness k
100% Free
🔭 Open Full Physics Calculator 📖 Read the Guide

Hooke's Law — Quick answer

A spring's force is proportional to how far it is stretched: force equals stiffness times displacement.

F = k × x
energy stored E = ½ k x²

Worked example: k = 200 N/m, x = 0.1 m. F = 200 × 0.1 = 20 N (stores 1 J).

Spring force at k = 200 N/m

Extension xForce FEnergy ½kx²
0.05 m10 N0.25 J
0.10 m20 N1.0 J
0.20 m40 N4.0 J

Used for: springs, suspensions, scales, oscillations, materials.

🔭 Hooke's Law Calculator

Enter any two of spring constant, displacement and force — leave one blank to solve it (SI: N/m, m, N).

Spring force
Spring constant k
Displacement x
Energy stored ½kx²

⚠️ Hooke's Law F = kx holds only within the elastic limit — past it the spring deforms permanently and the linear relation fails. Use metres for displacement and N/m for the constant to get force in newtons and energy in joules.

Hooke's Law is the cornerstone of elasticity: the force a spring exerts is directly proportional to how far it is stretched or compressed, F = kx. The constant k is the spring's stiffness in newtons per metre, and x is the displacement from its natural length. Pull twice as far and the spring pulls back twice as hard. The energy you store doing so is ½kx² — the triangular area under the force–extension line — and because x is squared, that energy climbs much faster than the force itself.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: Hooke's Law F = kx and elastic energy ½kx².

The Hooke's Law equations

Spring force
F = k × x
Constant & displacement
k = F / x · x = F / k
Elastic potential energy
E = ½ k x²

The spring constant k is the slope of the force–extension graph, so you can read it off any force–displacement pair as F/x. The stored energy is the area under that line, a triangle giving ½kx². To find how far a known force stretches a spring, use x = F/k. All of this applies only in the elastic region; once a spring is overstretched past its elastic limit, the proportionality no longer holds.

Worked example — stretching a spring

Scenario: A spring of stiffness 200 N/m is stretched 0.1 m. What force does it exert, and how much energy is stored?

Spring force
F = 200 N/m × 0.1 m = 20 N
Energy stored
E = ½ × 200 × 0.1² = ½ × 200 × 0.01 = 1 J

The spring pulls back with 20 N and stores 1 joule. Stretch it to 0.2 m and the force doubles to 40 N, but the stored energy quadruples to 4 J — the square on x at work. Halve the stretch to 0.05 m and the force is 10 N with just 0.25 J stored. This square law is why winding a spring or bow further always feels disproportionately harder near the end.

Frequently Asked Questions

How do you calculate spring force?

F = k × x. e.g. 200 N/m × 0.1 m = 20 N. Also k = F/x and x = F/k.

What is the spring constant?

Stiffness k in N/m — force per metre of stretch. It's the slope of the force–extension graph.

What energy does a spring store?

E = ½kx². For k=200, x=0.1: ½×200×0.01 = 1 J. Double the stretch → 4× energy.

What is the elastic limit?

The max stretch where F = kx still holds and the spring returns to shape. Beyond it, permanent deformation.

Why the minus sign in F = −kx?

The restoring force opposes the displacement. For magnitude use F = kx; the sign matters for oscillations.

Ready to perform complete calculations?

Use the full AI Calculator suite for elasticity and mechanics with a professional PDF report.

🔭 Open Full Calculator — Free

No registration required · 350+ engineering calculators · PDF report export