Hooke's Law for Springs: Force Formula and Potential Energy

Author: Jenny Xu

Published: Nov 14, 2026

Updated: Nov 14, 2026

Hooke's law says that the force a spring exerts is proportional to how far it is stretched or compressed from its free length: F = −k·x. Robert Hooke published it in 1678 as ut tensio, sic vis, "as the extension, so the force". In spring design the sign is usually dropped and the law is written F = k·x, where k is the spring constant, also called the spring rate.

The spring force formula

SymbolMeaningSI unitSpring-maker unitUS unit
FSpring forceNNlbf
kSpring constant (rate)N/mN/mmlbf/in
xDeflection from free lengthmmmin

The minus sign shows that the force acts against the displacement. Compress a spring and it pushes back; stretch it and it pulls back. That restoring force is what returns a valve, a latch or a pedal to its rest position.

Example: a compression spring with k = 4.67 N/mm compressed 10 mm pushes back with F = 4.67 × 10 = 46.7 N. In US units the same spring is 26.7 lbf/in, so 0.5 in of travel gives 26.7 × 0.5 = 13.3 lbf. The spring constant guide shows how k is found from the wire size and coil count.

Hooke's law for each type of spring

Spring typeForce lawStored energy
Compression springF = k·xU = ½·k·x²
Extension spring with initial tensionF = Fᵢ + k·xU = Fᵢ·x + ½·k·x²
Torsion springM = k′·θU = ½·k′·θ² (θ in radians)
Disc spring (Belleville washer)Non-linear, set by h₀/tArea under the measured curve

An extension spring does not start from zero force. The initial tension Fᵢ wound into its coils must be overcome before the coils separate, so its force line is offset but still straight. A torsion spring follows the same law in rotation, with torque M and angle θ in place of force and length.

Elastic potential energy of a spring

A spring stores the work done to deflect it. Because the force rises in a straight line from zero, that work is the area of the triangle under the force–deflection line: U = ½·F·x = ½·k·x². This is the spring potential energy formula. With k in N/mm and x in mm the answer is in N·mm, which is millijoules; divide by 1,000 for joules.

Example: the 4.67 N/mm spring compressed 10 mm stores U = ½ × 4.67 × 10² = 233.5 N·mm, or 0.23 J. Doubling the deflection to 20 mm stores four times as much, 0.93 J, because the energy grows with the square of the deflection.

Energy between two working positions

Most springs are installed with a preload, so the useful energy is the difference between the installed and the working deflection: U = ½·k·(x₂² − x₁²). The same result comes from the average force multiplied by the stroke.

Example: the same spring preloaded 5 mm and worked to 15 mm delivers ½ × 4.67 × (15² − 5²) = 467 N·mm, or 0.47 J. As a check, the force is 23.4 N at 5 mm and 70.1 N at 15 mm; the average, 46.7 N, times the 10 mm stroke is again 467 N·mm.

For an extension spring, add the initial tension term. With Fᵢ = 5 N, k = 1.2 N/mm and 20 mm of extension, U = 5 × 20 + ½ × 1.2 × 20² = 100 + 240 = 340 N·mm.

For a torsion spring, use the angle in radians. A spring rated 10 N·mm per degree is 573 N·mm per radian. Turned 90° (1.571 rad) it stores ½ × 573 × 1.571² = 707 N·mm, the same as ½ × 900 N·mm × 1.571.

From stored energy to motion

When a spring launches a mass, its stored energy becomes kinetic energy: ½·k·x² = ½·m·v², so v = x·√(k/m) if friction and the spring's own mass are ignored. The 4.67 N/mm spring (4,670 N/m) released from 10 mm against a 50 g slider gives v = 0.01 × √(4,670 / 0.05) = 3.1 m/s. In practice part of the energy moves the spring's own coils; a common correction adds about one third of the spring's mass to m.

The same two quantities set the natural frequency of a spring–mass system, f = (1/2π)·√(k/m). Keep it well away from any forcing frequency in the machine; the article on surge and resonance covers what happens when they meet.

Where Hooke's law stops working

  • Beyond the elastic limit: if the stress in the wire passes its limit, the spring takes a permanent set and no longer returns to its free length. Spring makers preset springs to take out this set before delivery.
  • Near solid height: as coils touch, the number of active coils falls and the rate climbs steeply. Keep the working length above solid height with a margin.
  • Variable-pitch, conical and barrel springs: their coils bottom out one by one, so the rate rises with travel.
  • Disc springs: the load curve depends on the ratio of cone height to thickness, h₀/t, and can flatten or even fall.
  • Large torsion angles: the coil diameter shrinks as a torsion spring winds up, and friction on the arbor adds hysteresis.
  • Temperature: the shear modulus falls as temperature rises, and springs relax under load when hot, so the force at a given length drops over time.

Why drawings specify force at a length, not k alone

Hooke's law fixes the slope, but a real spring also has a free-length tolerance. With k = 4.67 N/mm, a free length 0.5 mm long or short shifts the force at any fixed working length by about ±2.3 N, even when k is exactly right. That is why spring drawings state the load at one or two working lengths with a tolerance and give the rate as a reference. Wanjin checks production springs against those load points, and the spring rate calculator gives the rate, load and stress for a proposed design. When several springs work together, see springs in series and parallel.

Key Takeaways

  • Hooke's law: F = k·x for a linear spring; the minus sign in F = −k·x marks a restoring force.
  • Elastic potential energy U = ½·k·x², so doubling the deflection stores four times the energy.
  • For a preloaded spring the usable energy is ½·k·(x₂² − x₁²).
  • The law fails past the elastic limit, near solid height, and for conical, disc and variable-pitch springs.

Frequently Asked Questions

What is Hooke's law in simple terms?

The force needed to stretch or compress a spring is proportional to how far you move it. Twice the deflection needs twice the force, as long as the spring stays within its elastic range.

What is the formula for spring potential energy?

U = ½·k·x², where k is the spring constant and x the deflection from free length. With k in N/m and x in m the result is in joules. For a torsion spring use U = ½·k′·θ² with θ in radians.

Why is there a minus sign in Hooke's law?

F = −k·x states that the spring force points opposite to the displacement. Engineers working with magnitudes write F = k·x.

Does Hooke's law apply to all springs?

No. It holds for helical compression, extension and torsion springs within their working range. Conical, variable-pitch and disc springs are non-linear, and any spring departs from it near solid height or beyond its elastic limit.

Related spring types

Related Posts

Tags