Skip

Hooke's Law Calculator

Hooke's Law Calculator: free, instant and precise. Enter your values and the results update live.

The lawThe force needed to stretch or compress a spring is proportional to the displacement.

What if? Simulation

The curve recalculates the result for every value of the chosen input, all others unchanged. The dot is your current case.

Formula shown and computed in your browser. Updated November 2026.

Full calculator on Kalqo

Formula

F = k · x ; E = ½ k x²

Worked example

With these values

Spring constant (N/m)
250
Displacement (m)
0.08

The calculator gives

Force (N)
20 N
Energy (J)
0.8 J

These values are only an illustration. Replace them with yours in the form above.

How "Force (N)" changes with "Spring constant (N/m)"

Spring constant (N/m)Force (N)
12510 N
20016 N
25020 N
30024 N
37530 N

All other values stay as in the example.

Questions

How is the result calculated?

The calculator applies this rule: F = k · x ; E = ½ k x²

Is it free?

Yes. It is free, needs no account, and works on phone and desktop.

Are my numbers stored?

Everything runs in your browser. Nothing you type is sent to a server.