Article

Hooke's law calculator

Hooke's law in this guide means F = k·x. At k = 200 N/m and x = 0.1 m the result is 20 N, and energy ½kx² = 1 J. At 500 N/m and 0.05 m — 25 N. The same path powers the Hooke's law elastic force calculator.

Energy: E = ½kx². Oscillation: f = (1/2π)√(k/m).

F = k · x

The calculator uses the numbers you enter: spring constant k in N/m and extension x in meters. It multiplies them as F = k·x. At k = 200 N/m and x = 0.1 m the result is 20 N, and energy ½kx² = 1 J. At k = 500 N/m and x = 0.05 m — 25 N and 0.625 J. At k = 200 N/m and x = 0.2 m — 40 N and 4 J (force doubles, energy grows fourfold). At x = 0 the force is 0 N. The model is linear up to the elastic limit and does not compute oscillation frequency as the main result.

F = k · x
example: 200 N/m · 0.1 m → 20 N
example: 500 N/m · 0.05 m → 25 N
also: E = ½k·x²

kxFE
200 N/m0.1 m20 N1 J
500 N/m0.05 m25 N0.625 J
200 N/m0.2 m40 N4 J
200 N/m00 N0 J

Linear elastic range. No f = (1/2π)√(k/m) and no preload.

Quick comparison

ScenarioInputFNote
Baseline200; 0.120 NE=1 J
Stiffer500; 0.0525 NE=0.625 J
Doubled x200; 0.240 NE ×4
BalanceF=20 N—m≈2.04 kg

Four worked examples

You can repeat each scenario in the Hooke's law elastic force calculator.

1. k = 200 N/m, x = 0.1 m → 20 N

The form’s baseline.

  1. Enter k = 200 and x = 0.1 (meters, not cm).
  2. F = 200 · 0.1 = 20 N.
  3. E = ½ · 200 · 0.01 = 1 J.
  4. Mass that gives that extension: m = F/g ≈ 2.04 kg.

2. k = 500 N/m, x = 0.05 m → 25 N

Stiffer spring, smaller x.

  1. Enter k = 500 and x = 0.05.
  2. F = 500 · 0.05 = 25 N.
  3. E = ½ · 500 · 0.0025 = 0.625 J.
  4. 5 cm is 0.05 m — not 5.

3. k = 200 N/m, x = 0.2 m → 40 N

Doubling the extension.

  1. Enter k = 200 and x = 0.2.
  2. F = 200 · 0.2 = 40 N.
  3. E = ½ · 200 · 0.04 = 4 J.
  4. Force ×2, energy ×4 — x² in the energy.

4. x = 0 → 0 N

Equilibrium position.

  1. Enter k = 200 and x = 0.
  2. F = 0 N.
  3. With no displacement there is no elastic force.
  4. At k = 0 the form shows no result — that is not a spring.

Common mistakes with F = k·x

  • Entering centimeters as meters — 10 in the field means 10 m, not 10 cm.
  • Mixing it with f = (1/2π)√(k/m) — mass is not an input for the main result here.
  • Expecting the law past the elastic limit — the model stops at the linear range.
  • Looking for preload — the form assumes an ideal spring from zero.
  • Confusing energy with force — F is linear in x; E is quadratic.
  • Entering N/mm without converting — 1 N/mm = 1000 N/m.

Frequently asked questions

How is Hooke's-law force calculated on this page?

F = k·x. At k = 200 N/m and x = 0.1 m the result is 20 N. Elastic energy ½kx² is then 1 J.

How much is F at k = 500 N/m and x = 0.05 m?

25 N. F = 500·0.05 = 25; energy ½·500·0.0025 = 0.625 J.

How does this differ from spring oscillation frequency?

Here the main result is force F = kx. Frequency f = (1/2π)√(k/m) is another calculator and needs mass m.

How do I convert centimeters to meters?

Divide by 100. 10 cm = 0.1 m. Entering 10 instead of 0.1 overstates the force one hundredfold.

Does the calculator work past the elastic limit?

No. It assumes the linear range F = kx. Beyond the limit the material deforms permanently.

What does the minus sign in F = −kx mean?

That the force points opposite the displacement. The form reports magnitude; negative x means compression.