Mihsaba›Hooke’s Law Calculator

Hooke’s Law Calculator

Solve spring-force magnitude, spring constant or displacement from Hooke’s law, with elastic potential energy.

These are ideal classical-physics models. Force directions, friction regime, elastic limits and time-varying forces can require a fuller model.

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.

  1. Choose the unknown.
  2. Enter the two known values.
  3. 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.