Physics

Instant, private, and free

Hooke's Law Calculator.

Calculate spring force and elastic energy for a linear spring.

On-device calculationNo signup
01

Set your values

Results update as you type.

Force: 5

Force

0.000000
Elastic energy: 0.125

Elastic energy

0.000000

Educational SI models with assumptions stated in each description; verify engineering decisions independently.

Use Cases

Designing mechanical springs

Engineers can quickly determine the force and energy for a given spring stiffness and displacement to ensure components meet specifications.

Example: Check if a spring with k=500 N/m compressed 0.1 m produces 50 N force.

Physics homework and experiments

Students can verify experimental results or solve textbook problems involving spring force and elastic potential energy.

Example: Calculate the energy stored when a spring (k=200 N/m) is stretched 0.05 m.

Frequently Asked Questions

What is Hooke's Law?
Hooke's Law states that the force needed to extend or compress a spring by some distance is proportional to that distance. The formula is F = kx, where k is the spring stiffness (N/m) and x is the displacement (m).
How is elastic energy calculated?
Elastic potential energy stored in a spring is calculated using the formula U = 0.5 * k * x^2, where k is the spring stiffness (N/m) and x is the displacement (m). This calculator provides both force and energy.
What units should I use?
Enter spring stiffness in newtons per meter (N/m) and displacement in meters (m). The calculator will output force in newtons (N) and energy in joules (J).

Tips & Common Mistakes

Tips

  • Ensure displacement is measured from the spring's natural length, not from an already compressed or stretched position.
  • Use consistent units: if you enter stiffness in N/m, displacement must be in meters to get force in newtons.
  • Remember that Hooke's Law applies only within the elastic limit; beyond that, the spring may deform permanently.
  • For small displacements, the energy calculation is accurate, but for large displacements, consider nonlinear effects.

Common Mistakes to Avoid

  • Forgetting to convert displacement to meters if you have it in centimeters or millimeters.
  • Using the total length of the spring instead of the displacement from equilibrium.
  • Confusing force with energy: force is kx, while energy is 0.5kx^2.

Last updated: August 13, 2026