Skip to content

How-to guide

How to Calculate Hooke's Law: Formula, Steps & Examples

Learn how to calculate Hooke's Law — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Vikram Iyer, M.Sc Mathematics · Updated Jun 2026 · 2 min read

Calculating your spring force is straightforward once you know the Hooke's Law formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Hooke's Law Calculator.

What is Hooke's Law?

The Hooke's Law calculation tells you your spring force from a few simple inputs. The figure you are solving for here is the spring force.

The Hooke's Law formula

The core formula is:

Spring force = Spring constant (k) × Displacement (x)

Here is what each input means:

  • Spring constant (k) — a value measured in N/m. Example: 200 N/m.
  • Displacement (x) — a value measured in m. Example: 0.1 m.

How to calculate it step by step

  • Write down the spring constant (k) (for example, 200 N/m).
  • Write down the displacement (x) (for example, 0.1 m).
  • Apply the formula above to get your spring force.
  • Double-check the result with the Hooke's Law Calculator.

Worked examples

Example 1

Input / OutputValue
Spring constant (k)200 N/m
Displacement (x)0.1 m
Spring force20.000

With spring constant (k) of 200 N/m and displacement (x) of 0.1 m, the spring force works out to 20.000.

Example 2

With spring constant (k) of 400 N/m and displacement (x) of 0.1 m, the spring force works out to 40.000.

ResultValue
Spring force40.000

Example 3

With spring constant (k) of 100 N/m and displacement (x) of 0.1 m, the spring force works out to 10.000.

ResultValue
Spring force10.000

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the Hooke's Law Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring science calculators with these tools: Impulse Calculator, Elastic Potential Energy Calculator, Thermal Expansion Calculator, Buoyancy Force Calculator, RPM to Linear Speed Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Spring force = Spring constant (k) × Displacement (x). With spring constant (k) of 200 N/m and displacement (x) of 0.1 m, the spring force works out to 20.000.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Hooke's Law Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

Vikram Iyer · M.Sc Mathematics

Vikram Iyer is a mathematics educator with over fifteen years of teaching experience, specialising in making quantitative concepts clear and practical for everyday use.