Hooke's Law and Spring Constant Calculator
Calculate the force on a spring, the spring constant, the extension or the energy stored with Hooke's law and the elastic potential energy equation. Each answer comes with the rearrangement and a check. Everything is calculated in your browser. Nothing you type is saved or sent anywhere.
JavaScript is needed to calculate. The method, formulae and worked example below stay readable without it.
Find the quantity you need
Choose what to find, then fill in the other boxes using SI units unless the note says otherwise.
Your answer and working
Enter your values and choose Calculate to see every step.
How to use this calculator
- Choose F = ke to work with force, or Ee = ½ke² to work with stored energy.
- Choose what to find and enter the other values. Extension must be in metres: 6 cm is 0.06 m.
- Extension is the new length minus the original length, not the new length itself.
- The equations only hold up to the limit of proportionality. Beyond it the spring stretches by more than the equation predicts.
Formulae used
| Hooke's law | F = k e |
|---|---|
| Spring constant | k = F ÷ e |
| Elastic potential energy | Ee = ½ k e² |
AQA's June 2024 GCSE Physics equations sheet prints 'force = spring constant × extension, F = ke' and 'elastic potential energy = 0.5 × spring constant × (extension)², Ee = ½ke²'. On a force-extension graph the gradient of the straight part is the spring constant.
Worked example
A spring with spring constant 40 N/m is stretched by 15 cm. Find the force and the energy stored.
- Convert: e = 15 cm = 0.15 m.
- Force: F = k e = 40 × 0.15 = 6 N.
- Energy: Ee = ½ k e² = ½ × 40 × 0.15² = ½ × 40 × 0.0225 = 0.45 J.
- Doubling the extension doubles the force but quadruples the stored energy.
Answer: F = 6 N and Ee = 0.45 J.
Mistakes that cost marks
- Entering the extension in centimetres. It must be in metres.
- Using the total length of the spring instead of the extension.
- Forgetting to square the extension in the energy equation.
- Applying Hooke's law beyond the limit of proportionality.
- Mixing up the force on the spring with the weight of the spring.
Common questions
What is Hooke's law?
The extension of a spring is proportional to the force applied, F = ke, up to the limit of proportionality.
How do I find the spring constant?
k = F ÷ e. A force of 12 N causing an extension of 0.06 m gives k = 200 N/m.
What is the unit of the spring constant?
Newtons per metre, N/m.
How do I find the energy stored?
Use Ee = ½ke². With k = 40 N/m and e = 0.15 m the energy is 0.45 J.
Do I need an account, and is my data saved?
No account is needed. The calculation happens in your browser, and what you type is not saved or sent to a server or an analytics service.
Limits and accuracy
Ideal springs below the limit of proportionality only. Extension and compression are treated as positive sizes.
Official sources
Formula facts were read from these sources on the dates shown. Calculation is done by the same code that the worked examples above were checked against. This tool has had no separate tutor review.
Learn the method behind it
Want someone to check your working?
A calculator gives you an answer; a tutor shows you why it works. If a topic keeps going wrong, you can work through it with a tutor in a free 30-minute demo. No payment details are needed.
Request a free 30-minute demo