Physics July 13, 2026 · 11 min read

Hooke's Law Calculator: Calculate Spring Force, Displacement & Energy

Calculate spring force, stiffness (spring constant k), and displacement (x) using Hooke's Law (F = kx). Learn with step-by-step physics examples and energy calculations.

Try the free calculator

Put these formulas into practice with our instant, step-by-step Hooke's Law Calculator.

Open Calculator ›

Springs are everywhere — in your car\'s suspension, your mattress, your pen\'s click mechanism, your watch\'s mainspring, and countless other devices. Understanding how springs behave under force is fundamental to mechanical engineering, materials science, and physics. Hooke\'s Law, the foundational principle governing spring behavior, describes the linear relationship between the force applied to a spring and its displacement from equilibrium.

A Hooke\'s Law calculator is an online tool that instantly computes any unknown variable in spring force problems. When you know the spring constant and displacement, you can find the force. When you know the force and spring constant, you can determine displacement. When you know force and displacement, you can calculate the spring constant. Whether you're a student solving physics problems, an engineer designing suspension systems, or a technician testing spring specifications, having accurate Hooke\'s Law calculations at your fingertips is invaluable.

TL;DR

Use F = k × x to calculate spring force. Enter the spring constant (k) in N/m and displacement (x) in meters to get force in newtons. Elastic potential energy: U = ½kx². Rearrange to k = F/x or x = F/k to solve for other values. Springs must remain within their elastic limit for Hooke\'s Law to apply.

Table of Contents

  • 1. What Is Hooke\'s Law?
  • 2. The Formula: F = k × x
  • 3. Elastic Potential Energy
  • 4. The Elastic Limit
  • 5. Real-World Examples
  • 6. How to Use and Rearrange
  • 7. Common Mistakes to Avoid
  • 8. Frequently Asked Questions

What Is Hooke\'s Law?

Hooke\'s Law states that the force needed to extend or compress a spring is directly proportional to the displacement from its natural length. Named after British physicist Robert Hooke, who published it in 1678 as an anagram "ceiiinosssttuv" (Latin: "ut tensio, sic vis" — as the extension, so the force), this law applies to all elastic materials within their proportional limit.

Quick Definition: A Hooke\'s Law calculator determines spring force, stiffness, or displacement using the formula F = kx, where F is force, k is the spring constant, and x is displacement from equilibrium.

The Hooke\'s Law Formula Explained

Hooke\'s Law describes a linear relationship between the force applied to a spring and its displacement from equilibrium. When force increases, displacement increases proportionally, provided the spring remains within its elastic limit.

F = kx

Understanding the Variables

  • Spring Force (F): The force exerted by the spring, which always acts to restore the spring to equilibrium (measured in Newtons).
  • Spring Constant (k): A measure of stiffness, indicating how much force is required to stretch or compress the spring (measured in N/m).
  • Displacement (x): The distance stretched or compressed from natural rest length (measured in meters).
  • Elastic Potential Energy (U): Stored energy is calculated as: U = ½kx².

Elastic Potential Energy

When a spring is stretched or compressed, it stores elastic potential energy. This energy can be recovered when the spring returns to its natural length. The energy stored is:

U = ½ × k × x²

Note that energy increases with the square of displacement — doubling the stretch stores four times the energy. This is why springs in cars and machinery can store significant energy.

The Elastic Limit

Hooke\'s Law only applies within the spring\'s elastic limit. Beyond this point:

  • Proportional limit: The maximum displacement where force and displacement are still linearly proportional.
  • Elastic limit: The maximum displacement where the spring returns to its original shape when the force is removed.
  • Plastic deformation: Beyond the elastic limit, the spring is permanently deformed and Hooke\'s Law no longer applies.

For most engineering applications, springs are designed to operate well within the elastic limit to ensure long life and predictable behavior.

Real-World Examples

Example 1: Finding Spring Force

A spring (k = 200 N/m) is stretched 0.15 m from equilibrium. What is the force?

F = 200 × 0.15 = 30 N

Example 2: Elastic Energy Stored

How much energy is stored in a spring (k = 300 N/m) when compressed by 0.2 meters?

U = 0.5 × 300 × (0.2)² = 6 Joules

Example 3: Finding Spring Constant

A force of 45 N stretches a spring 0.3 m. What is the spring constant?

k = F / x = 45 / 0.3 = 150 N/m

Example 4: Car Suspension

A car spring (k = 35,000 N/m) compresses 0.05 m under load. Force?

F = 35,000 × 0.05 = 1,750 N

How to Use and Rearrange

Solve for ForceF = k × x
Solve for Spring Constantk = F / x
Solve for Displacementx = F / k

Common Mistakes to Avoid

  • Ignoring the elastic limit: Hooke\'s Law only applies within the proportional limit. Exceeding it causes permanent deformation.
  • Unit errors: Displacement must be in meters, not centimeters or millimeters. Spring constant must be in N/m.
  • Confusing force direction: The negative sign in F = -kx indicates the force opposes displacement (restoring force).
  • Forgetting energy: Spring energy (U = ½kx²) is separate from the force calculation and increases quadratically with displacement.

Conclusion

Hooke\'s Law provides a fundamental understanding of spring behavior that governs countless mechanical systems. The simple relationship F = kx reveals the linear proportionality between force and displacement that makes springs such versatile and reliable mechanical components. Whether designing suspension systems, testing material properties, or solving physics problems, mastering Hooke\'s Law is essential for anyone working with elastic materials.