How to use
Hooke’s law models an ideal spring within its elastic range using a linear force-displacement relationship. Solve F, k or x and compute elastic potential energy.
- Choose the unknown.
- Enter the two known values.
- Calculate force magnitude, k, displacement and energy.
How it is calculated
|F|=k|x|; U=½kx²
Example
Example: k=250 N/m and x=0.2 m gives 50 N and 5 J of elastic potential energy.
Important notes
A real spring can leave the linear elastic range or deform permanently. The calculator uses magnitudes and does not encode the restoring-force sign −kx.
Frequently asked questions
Why is Hooke’s law sometimes F=−kx?
The minus sign shows the restoring force opposes displacement; this calculator reports magnitude.
Unit of k?
N/m.
Valid for any stretch?
No, only within the spring’s suitable linear elastic range.