How to use this calculator
Apply Hooke’s law to a spring displacement. Enter spring constant (n/m), displacement (m). The result updates when you change an input. To compare two sets of inputs, save scenario A, then enter the second set; the result panel shows the difference.
Formula and limits
Restoring force = −k × displacement. Valid only within the spring’s linear elastic range.
Worked example
Starting-value example (not a recommended target):
| Input | Example value |
|---|---|
| Spring constant (N/m) | 100 |
| Displacement (m) | 0.1 |
Restoring force (N): -10
Stored energy: 0.5 J
Displacement from the relaxed length
Hooke’s law gives a signed restoring force from stiffness and displacement relative to the unstretched position. A larger stiffness means more force for the same displacement. The physical restoring force points opposite the displacement.
Calculation steps and checks
A stiffness of 200 N/m and a displacement of +0.03 m gives −200 × 0.03 = −6 N. The magnitude is 6 N, opposite the positive displacement. Entering 3 instead of 0.03 would represent 3 meters, not 3 centimeters.
Common mistakes and boundaries
The linear model applies only within the spring’s elastic range. It does not include preload, damping, permanent deformation, or the manufacturer’s maximum travel.
Continue with Length conversion when your question needs that next step.
How scenario comparisons and rounding work
Background reading
OpenStax College Physics. This is a subject reference, not an endorsement or independent review of Calcaven.
Guide revised October 19, 2026: added unit checks and worked calculation steps. This is an editorial update, not professional certification.