Physics

Hooke's law calculator

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is Hooke’s law?

Hooke’s law describes how an elastic object, most often a spring, responds when you stretch or compress it. Pull a spring a little and it pulls back gently; pull it twice as far and it pulls back twice as hard. That simple proportional relationship between how far a spring is deformed and the force it exerts is exactly what Hooke’s law captures, and it underlies the behavior of springs, rubber bands, beams, and many materials within their elastic range.

This Hooke’s law calculator works out the restoring force of a spring from two quantities: the spring constant, which tells you how stiff the spring is, and the displacement, which is how far the spring has been stretched or compressed from its natural length. Enter both and the calculator returns the spring force, making it handy for physics homework, lab work, and quick engineering estimates.

The spring constant

The spring constant, written kk, is a measure of stiffness. A large spring constant means a stiff spring that takes a lot of force to stretch even a little, while a small constant describes a soft, easily stretched spring. It is measured in newtons per meter (N/m), so a constant of 200 N/m means it takes 200 newtons of force to stretch the spring by one meter.

The spring constant depends on the material and geometry of the spring, not on how far you stretch it. Within the elastic range it stays effectively the same value, which is what makes Hooke’s law so useful: once you know kk for a given spring, you can predict the force for any displacement.

The elastic limit

Hooke’s law holds only while the deformation stays small enough that the object can spring back to its original shape. Push past this point, called the elastic limit, and the relationship breaks down: the material deforms permanently and no longer obeys the neat proportional rule. Beyond the elastic limit a spring may stay bent, a wire may stretch out, and the force is no longer simply kk times the displacement.

For real calculations this means Hooke’s law is an accurate model only inside the elastic range. As long as you keep the displacement modest and the material returns to its starting shape when released, the formula gives reliable results.

Formula

The formula for the spring force (FF) from Hooke’s law is:

F=kxF = k\,x

where:

  • kk is the spring constant (in newtons per meter),
  • xx is the displacement of the spring from its equilibrium position (in meters).

The result is the magnitude of the restoring force the spring exerts. The minus sign that often appears in textbooks, F=kxF = -k x, simply records that the spring force points opposite to the displacement, always trying to return the spring to its natural length. The SI unit of force is the newton (N\text{N}).

Examples

  1. A moderately stiff spring: A spring with a constant of 200 N/m stretched by 0.1 m exerts a force of:

    F=200N/m×0.1m=20NF = 200 \, \text{N/m} \times 0.1 \, \text{m} = 20 \, \text{N}

  2. A stiffer spring, smaller stretch: A spring with a constant of 500 N/m displaced by 0.05 m exerts a force of:

    F=500N/m×0.05m=25NF = 500 \, \text{N/m} \times 0.05 \, \text{m} = 25 \, \text{N}

When the displacement is entered in another unit, the calculator converts it for you. For example, a displacement of 10 cm is the same as 0.1 m, so a 200 N/m spring stretched 10 cm again gives a force of 20 N.

Notes

  • The spring force is a restoring force: it acts in the direction opposite to the displacement, pulling a stretched spring back and pushing a compressed one out.
  • Hooke’s law is valid only within the elastic limit; beyond it the spring deforms permanently and the formula no longer applies.
  • The displacement xx is measured from the spring’s equilibrium (unstretched) position, not from any arbitrary point.

FAQs

What is the unit of the spring constant?

The spring constant is measured in newtons per meter (N/m). A constant of 200 N/m means a force of 200 newtons is needed to stretch the spring by one meter, so larger values describe stiffer springs.

How do I find the displacement if I know the force and the spring constant?

Rearrange Hooke’s law to x=F/kx = F / k. Divide the spring force by the spring constant to get the displacement. For instance, a 20 N force on a 200 N/m spring corresponds to a stretch of 0.1 m.

Why is there a minus sign in F = -k x?

The minus sign shows that the spring force is a restoring force, pointing opposite to the displacement. When you stretch the spring outward, the force pulls inward, and when you compress it, the force pushes outward. This calculator reports the magnitude of that force.

What happens beyond the elastic limit?

Past the elastic limit the material no longer returns to its original shape, and the force is no longer proportional to the displacement. Hooke’s law stops being accurate, so the formula should only be used for deformations within the elastic range.

Does Hooke’s law apply only to springs?

No. While springs are the classic example, Hooke’s law also describes the elastic behavior of wires, beams, rubber bands, and many solid materials, as long as the deformation stays small enough that the object springs back when the load is removed.

You can also explore related tools such as the force calculator and the kinetic energy calculator, or visit this calculator directly at https://www.mega-calculator.com/physics/hookes-law/.

Report a bug

This field is required.