Physics & Chemistry
Hooke’s Law Calculator (Spring Force, Constant and Energy)
Calculate how springs behave with Hooke’s law. In 1676 the English scientist Robert Hooke described a simple rule: the force needed to stretch or compress a spring is proportional to how far it is stretched or compressed. Written as F = kx, the law links the force F in newtons, the spring constant k in newtons per metre, a measure of the spring’s stiffness, and the extension or compression x in metres. A stiff car suspension spring may have a spring constant of tens of thousands of newtons per metre, while a soft spring in a pen has only a few hundred. The law applies not only to springs but to many elastic materials and structures, from rubber bands and trampolines to building materials and the strings of musical instruments, as long as they are not stretched beyond their elastic limit, where they deform permanently. A stretched or compressed spring stores elastic potential energy equal to half the spring constant multiplied by the square of the extension, which is released when the spring returns to its natural length, as in clocks, toys, archery bows and vehicle suspensions. Fill in any two of force, spring constant and extension, leaving the third empty, and the calculator gives the missing value, the extension in millimetres, the stored energy and the mass that would produce the same force when hanging from the spring. A spring with k = 200 N/m stretched by 5 cm needs a force of 10 newtons and stores 0.25 joules.
How to use this calculator
- Enter two of: force, spring constant and extension.
- Leave the value to calculate empty.
- Use newtons, newtons per metre and metres.
- Read the missing value.
- See the stored elastic energy.
Measuring a spring constant
Hang known masses from a spring and measure the extension each time. Plotting force against extension gives a straight line whose slope is the spring constant.
If the line curves at high loads, the spring has passed its elastic limit.
Springs in everyday life
Weighing scales, mattresses, car suspensions, door closers and retractable pens all rely on springs. Engineers choose spring constants to give the right stiffness and travel.
The same principle explains the vibration of springs and masses, whose natural frequency depends on k and the mass.
Formula & method
Hooke’s law: F = k × xk = F ÷ x; x = F ÷ kElastic potential energy E = ½ × k × x²Valid only within the spring’s elastic limitHooke’s law: F = k x, where F is the restoring force magnitude (N), k the spring constant (N/m) and x the displacement from the natural length (m). Rearranged: k = F ÷ x and x = F ÷ k. Elastic potential energy: E = ½ k x² (J). Equivalent hanging mass = F ÷ g, with g = 9.80665 m/s². Springs in series: 1/k = 1/k₁ + 1/k₂; in parallel: k = k₁ + k₂. The law holds only within the elastic limit and for small deformations of ideal springs.
Worked example
k = 200 N/m, stretched 5 cm
- x = 0.05 m.
- F = 200 × 0.05 = 10 N.
- E = ½ × 200 × 0.05² = 0.25 J.
Answer: 10 N of force and 0.25 J of stored energy.
Frequently asked questions
What is Hooke’s law?
F = kx: force is proportional to extension.
What is the spring constant?
The force per metre of extension, in N/m.
How is spring energy calculated?
E = ½kx².
Does the law always apply?
Only within the elastic limit.
How do springs in series combine?
1/k = 1/k₁ + 1/k₂.
What units should I use?
Newtons, newtons per metre and metres.