CalcMountain

Hooke's Law Calculator

Apply Hooke's Law to calculate the restoring force of a spring, the displacement, or the spring constant. Also calculates the elastic potential energy stored in the spring using PE = ½kx².

Hooke's Law describes the linear relationship between force and deformation in elastic materials. Formulated by Robert Hooke in 1660 (and originally published as the anagram "ceiiinosssttuv" — Latin "ut tensio sic vis" or "as the extension, so the force"), it states that the restoring force of a spring is proportional to its displacement from equilibrium: F = kx. This single equation underlies countless mechanical systems.

The spring constant k measures stiffness: high k means a stiff spring (large force per unit stretch), low k means soft (large stretch per unit force). Units are newtons per meter (N/m). A typical car shock absorber spring has k ~ 20,000 N/m. A retractable pen spring has k ~ 100-500 N/m. A trampoline spring has k ~ 2,000-5,000 N/m. A skyscraper structural element behaves like a spring with k of millions of N/m for small deflections.

Hooke's Law holds only within the elastic limit — the range where the material returns to its original shape when force is removed. Beyond this, plastic deformation occurs (permanent change) and eventually fracture. Most engineering relies on staying well within elastic limits to ensure repeatable behavior.

The elastic potential energy stored in a deformed spring is PE = ½kx² — quadratic in displacement. This means doubling the stretch quadruples the stored energy, basis of bows, slingshots, suspension systems, and mechanical clocks.

Common applications: structural engineering (deflection analysis), vehicle suspensions, mattresses and seating, mechanical timing devices, musical instruments (string tension), atomic force microscopy, and any system involving elastic deformation.

Inputs

Results

Restoring Force

10 N

Elastic PE

0.25 J

PE (mJ)

250.00 mJ

Hooke's Law Results

ParameterValue
Spring Constant (k)200 N/m
Displacement (x)0.05 m (5.0000 cm)
Restoring Force (F)10 N
Force (lbf)2.2481 lbf
Elastic PE0.25 J
Elastic PE (mJ)250.0000 mJ
Force at 2x displacement20 N
PE at 2x displacement1 J (4×)
Force FormulaF = kx
Energy FormulaPE = ½kx²
Last updated:

Formula

**Hooke's Law:** F = k × x Where: - F = restoring force (N), opposing displacement - k = spring constant (N/m) - x = displacement from equilibrium (m) Sign convention: the minus sign (F = −kx) indicates the force opposes displacement. **Elastic potential energy:** PE = ½ × k × x² This is the work done to stretch/compress, stored in the spring. **Worked example: stretching a spring** A spring with k = 200 N/m is stretched by 5 cm (0.05 m). F = 200 × 0.05 = 10 N restoring force PE = ½ × 200 × 0.0025 = 0.25 J stored To stretch from 0 to 5 cm requires 0.25 J of work. **Springs in series and parallel:** **Parallel** (springs stacked side-by-side, sharing load): k_total = k₁ + k₂ + ... Stiffer than individual. **Series** (springs end-to-end, same force): 1/k_total = 1/k₁ + 1/k₂ + ... Softer than weakest individual. **Simple harmonic motion (SHM):** Mass m on spring k oscillates with: ω = √(k/m) T = 2π / ω = 2π × √(m/k) f = 1/T = (1/2π) × √(k/m) Worked example: 1 kg mass on 100 N/m spring. ω = √(100/1) = 10 rad/s T = 2π/10 ≈ 0.628 s f = 1/T ≈ 1.59 Hz **Common spring constants:** | Spring/structure | k (N/m) | |---|---| | Pen spring | 100-500 | | Mousetrap | ~1,000 | | Bicycle brake spring | ~1,000 | | Car valve spring | 30,000-100,000 | | Car coil suspension | 20,000-50,000 | | Truck/SUV suspension | 40,000-100,000 | | Mattress (typical) | 5,000-15,000 | | Trampoline spring | 2,000-5,000 | | Door return spring | 100-1,000 | | Slinky | ~1 | | AFM cantilever | 0.01-50 | **Young's modulus form:** For a rod or wire under axial load: F = (EA/L) × x Where E = Young's modulus, A = cross-section area, L = original length. Effective spring constant: k = EA/L. | Material | E (GPa) | |---|---| | Rubber | 0.01-0.1 | | Wood | 10-20 | | Concrete | 30 | | Glass | 70 | | Aluminum | 70 | | Brass | 100 | | Copper | 110 | | Steel | 200 | | Diamond | 1,200 | **Worked example: steel bar deflection** 10 cm long steel bar, 1 cm² cross-section, load 1,000 N. k = (200e9 × 1e-4) / 0.1 = 200e6 N/m x = F/k = 1000 / 200e6 = 5 × 10⁻⁶ m = 5 μm Steel barely stretches under typical loads. **Bow energy (archery):** Drawing a bow stores PE = ½kx². Compound bows have k ~ 200-500 N/m at draw, peak force 200-400 N over 0.6 m draw → 60-120 J energy. Released arrow gains ~50-80% of that as kinetic energy (efficiency loss). **Forces beyond Hooke's law:** Materials transition through: 1. **Linear elastic** (Hooke's Law): F ∝ x. 2. **Nonlinear elastic**: still recoverable but F not linear. 3. **Yield**: permanent deformation begins. 4. **Ultimate strength**: maximum stress before necking. 5. **Fracture**: material breaks. Elastic limit varies hugely by material: rubber stretches several times its length elastically; steel only ~0.5% before yielding. **Hooke's law in different contexts:** | System | Restoring force | |---|---| | Spring | F = −kx | | Pendulum (small angle) | F = −mg sin(θ) ≈ −mgθ | | Torsion | τ = −κθ | | Atomic bond (near equilibrium) | F = −kΔr | | Electrical (LC) | V = −Q/C | All produce SHM with frequency determined by k/m equivalent ratio. **Damped oscillation:** Real springs have damping (friction/air resistance): F = −kx − bv Where b = damping coefficient. Three regimes: - Underdamped: oscillates with decreasing amplitude. - Critically damped: fastest return to equilibrium without overshoot. - Overdamped: slow return without oscillation. Critical damping condition: b = 2√(km). Used in car shock absorbers (critically/slightly under-damped for good ride). **Hookean springs in everyday life:** - Trampolines, retractable pens, mattress springs, car suspensions, watches, clocks, bows, slingshots, pogo sticks, climbing dynamic ropes. Most are designed to operate well within elastic limit for repeatability and longevity.

How to use this calculator

  1. Enter spring constant k in N/m.
  2. Enter displacement x in meters.
  3. Calculator returns restoring force F and elastic potential energy PE.
  4. For springs in parallel: add k values.
  5. For springs in series: add reciprocals.
  6. For oscillation: f = (1/2π) × √(k/m).

Worked examples

Bathroom scale

**Scenario:** A 70 kg person stands on a bathroom scale with k = 200,000 N/m. How much does the spring compress? **Calculation:** F = mg = 70 × 9.81 = 686.7 N. x = F/k = 686.7 / 200,000 ≈ 0.0034 m = 3.4 mm. **Result:** Only ~3.4 mm of compression — invisible to the eye but measured electronically. Mechanical scales convert this displacement to a dial reading via gears and levers.

Bungee jump

**Scenario:** Bungee cord k = 75 N/m. Jumper m = 80 kg. Maximum stretch? **Calculation:** At lowest point, PE_grav = PE_elastic. Energy conservation including initial fall to natural cord length: complex. For simple equilibrium stretch: mg = kx → x = 80 × 9.81 / 75 ≈ 10.5 m. Actual max stretch is ~2× this due to oscillation overshoot. **Result:** Equilibrium ~10.5 m stretch; dynamic max ~21 m below natural cord length. Designers select k so max stretch doesn't exceed safe limit (often 100-150% of natural length).

Slinky toy

**Scenario:** Slinky k ≈ 0.7 N/m. Hang it vertically; it stretches under its own weight (mass ~0.2 kg, distributed). Approximate maximum stretch? **Calculation:** F = mg = 0.2 × 9.81 ≈ 2 N. If all weight concentrated at end: x = 2 / 0.7 ≈ 2.86 m. Real slinky distributes weight → ~1 m stretch. **Result:** ~1 m stretch from gravity alone — characteristic of a very soft spring. Why slinkies "walk" down stairs: top releases its potential energy gradually as it falls toward the leading coil.

When to use this calculator

**Use Hooke's Law for:**

- **Mechanical design**: springs, suspensions, vibration isolation. - **Structural analysis**: beam deflection (within elastic range). - **Materials testing**: Young's modulus determination. - **Vibration analysis**: natural frequencies, modal shapes. - **Biomechanics**: tendon and ligament behavior. - **Atomic force microscopy**: cantilever-tip interactions. - **Physics problems**: SHM, energy conservation.

**Limitations:**

- **Elastic limit**: Hooke's law fails beyond it. - **Material**: rubber, foam, bio-tissues are highly nonlinear. - **Temperature**: k changes with T. - **Frequency**: dynamic behavior (viscoelastic materials). - **Buckling**: long thin springs/rods can fail by buckling, not Hooke's law.

**Vehicle suspension design:**

For a car with mass m on 4 springs (k each): - Sprung weight per spring: mg/4. - Sag (compression at rest): x = mg/(4k). - Natural frequency: f = (1/2π) × √(4k/m).

Typical sedan: f ≈ 1.5 Hz (60 cycles per minute) — comfortable ride. Sports car: f ≈ 2-3 Hz (firmer). Track car: f > 3 Hz (very stiff).

**Damping ratio:**

ζ = b / (2√(km))

- ζ < 1: underdamped (oscillates). - ζ = 1: critically damped (fastest stable return). - ζ > 1: overdamped (slow return).

Cars are typically ζ ≈ 0.3-0.6 — somewhat underdamped for comfortable ride.

**Common applications:**

- **Watchmaking**: spiral hairspring drives precision oscillations (4-5 Hz typically). - **Bowstring**: stores 50-200 J of energy. - **Pogo stick**: stores ~100 J at bottom; releases for jumps. - **Trampoline**: springs around perimeter; deflection ~20 cm at impact. - **Shock absorber**: spring + damper; tunes ride quality. - **Atomic force microscope**: nN-scale forces from cantilever bending.

**Elastic limits (% strain):**

| Material | Elastic limit | |---|---| | Rubber | 100-700% | | Soft steel | 0.2% | | Hardened steel | 1.0% | | Aluminum | 0.5% | | Wood | 0.5-1.0% | | Concrete | 0.05% (very brittle) | | Bone | 0.5-1% |

**Beyond elastic:**

- **Yield strength**: stress at which permanent deformation begins. - **Ultimate tensile strength**: max stress before failure. - **Strain hardening**: material becomes harder/stronger after plastic deformation. - **Fatigue**: cyclic loading can cause failure below static limits.

**Software:**

- **FEA tools**: ANSYS, Abaqus for stress-strain analysis. - **CAD with simulation**: SolidWorks Simulation, Fusion 360. - **MATLAB**: dynamic system modeling.

**Pitfalls:**

- **Confusing F = kx with F = ½kx² (energy)**: linear vs quadratic. - **Using Hooke beyond elastic limit**: nonlinear or plastic regime. - **Static vs dynamic**: damping changes effective stiffness at high frequencies. - **Series vs parallel confusion**: reciprocals vs sums. - **Forgetting buckling for long, thin elements**. - **Forgetting Hooke applies to small displacements**: large deflections need nonlinear analysis. - **Wrong sign**: F is restoring (opposite to displacement).

Common mistakes to avoid

  • Using F = ½kx² (energy) when F = kx (force) is needed.
  • Applying Hooke's law beyond the elastic limit.
  • Confusing series and parallel spring formulas.
  • Forgetting Hooke's law is for small displacements (large deflections need nonlinear analysis).
  • Ignoring damping in dynamic systems.
  • Forgetting buckling can occur instead of elastic compression.
  • Treating rubber as Hookean (it's highly nonlinear at large strains).
  • Using wrong units (N/m vs N/cm, etc.).

Frequently Asked Questions

Sources & further reading

SponsoredShop Top Deals on AmazonSupport CalcMountain — browse top-rated products at no extra cost to you.

Related Calculators