Home · Science · Mechanics · Hooke's Law Calculator

Hooke's Law Calculator

Hooke's law for a spring: the restoring force from the spring constant and the extension, with the stored elastic energy shown alongside.

Your figures

Example result — edit the figures to make it yours

30 N

Spring force

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Stored elastic energy2.25 J

What this calculator does

Hooke's law for a spring: the restoring force from the spring constant and the extension, with the stored elastic energy shown alongside. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

F = k·x

The extension x is measured from the spring's unstretched length.

The restoring force points opposite the extension; this calculator reports its magnitude.

Hooke's law holds only within the spring's elastic (proportional) limit.

Worked example

With the example inputs this page opens with (spring constant (n/m) 200, extension (m) 0.15), the result is 30.00 N — spring force. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying spring constant (n/m)
Spring constant (N/m)Spring force
10015.00 N
16024.00 N
20030.00 N
25037.50 N
30045.00 N
40060.00 N

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

What does the spring constant tell you?

Stiffness. A spring with k = 200 N/m needs 200 N to stretch one metre (or 20 N for 10 cm); larger k means a stiffer spring and a larger force for the same extension.

What happens beyond the elastic limit?

The spring no longer returns to its original length and F stops being proportional to x. Hooke's law, and this calculator, apply only below that limit.

How does the Hooke's Law Calculator work?

Hooke's law for a spring: the restoring force from the spring constant and the extension, with the stored elastic energy shown alongside. Spring constant (N/m) · Extension (m) → Spring force (N). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Hooke's Law Calculator need?

Spring constant (N/m) · Extension (m) → Spring force (N). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.