Hooke’s Law Calculator
Estimate ideal spring force and stored elastic energy for a known spring constant and displacement. The model assumes a linear spring response around its operating point.
How to use this calculator
- Enter the spring constant (n/m) using the units shown beside the field.
- Enter the extension or compression magnitude (cm) using the units shown beside the field.
- Review the calculated values and check that the assumptions match your scenario.
- Change one input at a time when comparing scenarios so you can see which assumption drives the result.
Formula and assumptions
Force magnitude = spring constant × displacement; stored elastic energy = 0.5 × spring constant × displacement².
- The relationship stops being reliable outside the elastic range or for nonlinear springs. Confirm ratings and mechanical safety before loading real hardware.
- The result is computed from the values you provide; it does not fetch external rates, live account data or local rules.
Worked examples
Worked example
A 240 N/m spring displaced by 5 cm has a force magnitude of 12 N and stores about 0.3 J.
Example inputs: Spring constant (N/m) = 240, Extension or compression magnitude (cm) = 5.
Compare the displayed output with your own measurements before using it in a decision.
Understanding the result
The relationship stops being reliable outside the elastic range or for nonlinear springs. Confirm ratings and mechanical safety before loading real hardware.
Results are estimates based on the stated model. If the situation depends on measured conditions or contractual specifications, use those source values rather than typical assumptions.
Important notes
The relationship stops being reliable outside the elastic range or for nonlinear springs. Confirm ratings and mechanical safety before loading real hardware.
Frequently asked questions
What formula does this calculator use?
It uses the method described above: Force magnitude = spring constant × displacement; stored elastic energy = 0.5 × spring constant × displacement².
What should I verify before relying on the result?
The relationship stops being reliable outside the elastic range or for nonlinear springs. Confirm ratings and mechanical safety before loading real hardware.
Can I compare different scenarios?
Yes. Change the inputs while keeping units and definitions consistent, and record the assumptions used for each scenario.
Related calculators
- Spring Potential Energy Calculator — Calculate elastic potential energy and signed restoring force for an ideal linear spring.
- Spring Force Calculator — Calculate ideal spring force magnitude from a spring constant and displacement using Hooke’s law.
- Capacitor Energy Calculator — Calculate the ideal stored energy of a capacitor from capacitance and voltage using the standard electrostatic energy relationship.
- Gravitational Potential Energy Calculator — Estimate gravitational potential energy relative to a chosen height using mass and gravitational acceleration.
- Buoyancy Force Calculator — Estimate the upward buoyant force from the density and volume of displaced fluid.
- Calorimetry Heat Energy Calculator — Calculate heat transferred from mass, specific heat capacity and temperature change.
Related explanations
Learn the method behind the number or compare the terminology before using the calculator.
- How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
- How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
- Percent Difference — Understand percent difference, when it is appropriate, and how it differs from percentage change and percent error.
This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.