SCIENCE • MECHANICS

Spring Force Calculator — Hooke's Law

Calculate spring force, spring constant or displacement using the linear spring relationship F = kx.

Hooke's law

F = kx for the magnitude of the restoring force in an ideal linear spring. The vector restoring force points opposite the displacement.

Worked example

A spring with k = 100 N/m stretched by 0.2 m has force magnitude 20 N.

Limitation

Hooke's law is an ideal linear model and is valid only over the spring's approximately linear elastic range.

Spring Force Calculator Guide — Hooke's Law

Use this calculator to solve for spring force, spring constant, or displacement when an ideal spring follows the linear Hooke's-law relationship.

Formula

The magnitude of the restoring force is F = kx. F is force in newtons, k is the spring constant in newtons per metre, and x is displacement from equilibrium in metres.

In a signed one-dimensional model the restoring-force equation is F = −kx; the minus sign indicates that the force points toward equilibrium. This calculator reports force magnitude.

Worked example

If k = 100 N/m and the spring is stretched by 0.20 m, the force magnitude is 20 N. The same relationship can be rearranged to find k or x when the other two values are known.

How to choose the calculation

Select spring force when k and x are known. Select spring constant when force and displacement are known. Select displacement when force and spring constant are known. Keep the units consistent for an SI result.

Where Hooke's law is useful

The ideal model is commonly used for introductory mechanics, basic spring experiments, suspension or sensor concepts, and engineering calculations within a spring's approximately linear range.

Limits of the model

Real springs can become nonlinear, permanently deform, or behave differently because of material and geometric effects. Large deformation or operation outside the elastic range can make F = kx inaccurate.

Related energy calculation

For an ideal linear spring, elastic potential energy is U = ½kx². Use the Potential Energy Calculator when energy, rather than force, is the quantity you need.

Related calculators

Force · Work · Kinetic Energy · Potential Energy

Use compatible units, follow the formula shown on this page, and check the result against the physical assumptions of the problem.

Read Calcora calculation methodology

Spring force and Hooke's law

For an ideal spring within its elastic range, Hooke's law relates restoring force to displacement from equilibrium. The spring constant represents stiffness, while displacement determines how far the spring is stretched or compressed.

Worked example

For a spring with k = 200 N/m displaced by 0.05 m, the ideal restoring-force magnitude is 10 N. The direction is opposite to the displacement.

Real spring limitations

Real springs can show nonlinear behavior, hysteresis or permanent deformation if stretched beyond their useful elastic range.

Spring-force FAQ

What does a larger spring constant mean?

A larger spring constant means more force is required for the same displacement in the ideal linear model.