Hooke's Law Calculator: F = kx
The force in a spring from its stiffness and how far it is stretched or compressed.
Engineering student calculators
Free textbook calculators with every step shown, so you can check your own working. Pick one, type in your numbers and see the formulas worked out. Or switch to Ask a question for an explained answer. No account needed.
Calculated from standard textbook formulas, with every step shown. The formulas are fixed, so the working does not need checking: what matters is the numbers you type in. Use these calculators only if you are competent to choose the inputs (loads, material strength, dimensions, supports) and check your units and assumptions. For learning and checking your own working: design and sign-off are for a qualified engineer. Drafting Central does not store the numbers you type.
How this calculator works
Choose which quantity you want to find.
Enter the other values in the units shown.
The calculator gives the answer with the formula, the substituted numbers, and the answer in other units.
Formulas used
- F = k\,x
- k = \frac{F}{x}
- x = \frac{F}{k}
Worked example
With the default numbers in the calculator above:
- The formula, arranged to find the spring force: spring force = spring constant x extension or compression
- Put the values in (every value in its SI unit): spring force = 200 x 0.05
- The answer: spring force: 10 N
- The same answer in other units: 0.01 kN; 1.01972 kgf; 2.24809 lbf
Change the numbers in the calculator to see the full working, every step, for your own case.
A second worked example
A different case, with these numbers: What do you want to find? Spring constant; Spring force (leave it as it is if this is what you are finding) 10 N; Extension or compression (leave it as it is if this is what you are finding) 0.05 m.
- The formula, arranged to find the spring constant: spring constant = (spring force) / (extension or compression)
- Put the values in (every value in its SI unit): spring constant = (10) / (0.05)
- The answer: spring constant: 200 N/m
- The same answer in other units: 0.2 N/mm; 1.14203 lbf/in
Common questions
What is Hooke's law?
The force in a spring is proportional to its extension: F = kx. A 200 N/m spring stretched 0.05 m pulls with 10 N.
How do I find the spring constant?
Divide the force by the extension.
What is the unit of the spring constant?
Newtons per metre.
Related calculators
Got a question about this? Ask an engineering question and get a plain-language answer with references.
Further reading: Any school physics text (Hooke's law).
Need a calculator we do not have?
Embed this calculator on your own page
Copy this code into your page. The calculator runs inside the frame and links back to Drafting Central.
Need this drawn, designed or checked?
Drafting Central is a mechanical engineering and drafting business working with customers across Australia and around the world. A calculator gives you the numbers; we can turn them into drawings and designs.
Need help with a real project?
Talk to Drafting Central →