Home/Mechanical Engineering/Spring Force (Hooke's Law)

Formula & Calculator

Spring Force (Hooke's Law)

Calculates the restoring force exerted by a linear spring based on its stiffness and the amount it is stretched or compressed.

Mechanical EngineeringMachine DesignCalculator

Hooke's Law CalculatorSpring Force

F = k · x
F = force (N)  ·  k = spring constant (N/m)  ·  x = displacement (m)
⟹ SolveF, k, x
N
N/m
m
Please fix the errors above.
Solve for:
Presets:
Force (F)
F: k: x:
✓ Copied!
Force Gauge
Low (< 50 N) Medium (50–200 N) High (200–500 N) Very High (> 500 N)
F = k · x  ·  Units: N, N/m, m

Interpretation

Hooke's law states that the force exerted by a spring is proportional to its displacement from equilibrium: F = k·x. The spring constant k measures stiffness. This law is linear elastic and valid within the elastic limit.

F = k * x
Spring Force (Hooke's Law)

Variables

SymbolQuantityUnit
FSpring forceN
kSpring stiffness (spring constant)N/m
xDisplacement from the spring's natural lengthm

What it means

Hooke's law is a principle of elasticity that states the force needed to extend or compress a spring by some distance is proportional to that distance. The equation F = k x, where F is the force applied, k is the spring constant (stiffness), and x is the displacement from the natural length. The negative sign is often included to indicate that the force opposes the displacement (F = −k x). This law holds as long as the elastic limit is not exceeded; beyond that, the material deforms plastically. Hooke's law is fundamental in mechanical engineering for designing springs, dampers, and suspension systems. It also applies to other elastic elements such as beams and bars under small deformations. The concept is used in shock absorbers, weighing scales, and measuring instruments. In materials science, it is the basis for the linear elastic region of stress‑strain curves. The spring constant depends on the material properties and geometry. Understanding Hooke's law is essential for dynamic analysis and vibration isolation.

Worked example

Hooke's Law – Two Examples

Real‑World
Scenario 1 – Spring Scale: A spring with k=500 N/m is stretched 0.1 m. Find force.
ParameterValue
k500 N/m
x0.1 m
1F = k·x = 500×0.1 = 50 N
ResultF = 50 N
Scenario 2 – Car Suspension: A spring compresses 0.05 m under a force of 2000 N. Find k.
ParameterValue
F2000 N
x0.05 m
1k = F/x = 2000 / 0.05 = 40,000 N/m
Resultk = 40,000 N/m✓ stiff spring
Key insight: Hooke's law states that force is proportional to displacement – k is the spring constant.

Common mistakes

  • Displacement x: From the equilibrium position, not from the spring’s free length.
  • Spring constant k: In N/m – must be consistent with x in m.
  • Sign: Force is opposite to displacement (restoring force).
  • Linear range: Hooke’s law holds only within the elastic limit; beyond that, non‑linear.
  • Series/parallel springs: For combinations, use equivalent stiffness correctly.

Applications

Hooke's law, F = k x, describes the linear relationship between force and displacement in an elastic spring. It is the foundation of spring design and vibration analysis. Springs are used extensively in mechanical systems for suspension, damping, energy storage, and force measurement. In automotive suspension, springs absorb road shocks. In watches, they regulate time. In industrial machinery, they serve as actuators and sensors. The law is also applied in material testing to determine elastic modulus. By understanding Hooke's law, engineers can design springs with desired stiffness and predict the behaviour of elastic components under load, ensuring reliable and precise operation.

  • Spring design for suspension and damping systems
  • Mechanical watches and timekeeping devices
  • Force and displacement sensors (load cells)
  • Shock absorbers and vibration isolators
  • Material testing and elastic modulus determination

Frequently Asked Questions

Q01What is Hooke's Law and what is its formula?
A01

Hooke's Law states that the force exerted by a spring is proportional to its displacement from the natural (unstretched) length: F = −k·x, where k is the spring constant (stiffness) and x is the displacement from equilibrium. The negative sign indicates that the force opposes the displacement (restoring force).

Q02What are the units of the spring constant k and what does it represent?
A02

The spring constant k has units of N/m (SI) or lb/in (imperial). It represents the stiffness of the spring: a larger k means a stiffer spring (more force for a given displacement). For example, a k = 100 N/m requires 100 N to stretch it 1 m.

Q03What are the frequent errors when using Hooke's Law?
A03

  • Applying it beyond the elastic limit – Hooke's Law is valid only in the linear elastic region. Beyond that, the spring may yield or permanently deform.
  • Using the wrong sign – the force is opposite to the displacement; forgetting the negative sign can lead to incorrect directions.
  • Using the total length instead of the displacement – x is the change in length, not the total length.
  • Confusing series and parallel combinations – for springs in series, 1/k_eq = 1/k₁+1/k₂; in parallel, k_eq = k₁+k₂.

Q04How do you calculate the equivalent spring constant for springs in series and parallel?
A04

  • Series (same force, displacements add): 1/k_eq = Σ (1/kᵢ). Example: k_eq = (k₁·k₂)/(k₁+k₂).
  • Parallel (same displacement, forces add): k_eq = Σ kᵢ.
These rules are essential for complex spring systems in suspensions and load cells.

Q05What is the potential energy stored in a spring?
A05

The elastic potential energy is U = ½·k·x². This is derived by integrating the force F = kx over the displacement. It is the work done to compress or stretch the spring.

Q06How does the spring force affect the motion of a mass?
A06

For a mass‑spring system, the equation of motion is m·x¨ + k·x = 0 (undamped). This gives simple harmonic motion with angular frequency ω_n = √(k/m). The spring force provides the restoring force that drives the oscillation.

Q07What is the difference between a linear and a non‑linear spring?
A07

A linear spring obeys F = kx (constant k). A non‑linear spring has a force‑displacement relationship that is not linear (e.g., F = k₁x + k₂x³). Non‑linear springs are used in some automotive suspensions to provide progressive stiffness.

Q08How do you measure the spring constant experimentally?
A08

Apply known weights (forces) to the spring and measure the corresponding extensions. Plot force vs. displacement; the slope of the linear portion is k. Alternatively, use the dynamic method: measure the natural frequency f and use k = m·(2πf)².

Q09What is the effect of temperature on the spring constant?
A09

For metallic springs, k typically decreases slightly with increasing temperature because the modulus of rigidity (G) decreases. For elastomeric springs (rubber), k can change significantly with temperature due to viscoelastic effects. This must be accounted for in high‑temperature applications.

Q10How is Hooke's Law used in the design of load cells and force sensors?
A10

In a load cell, a spring element (or strain gauge) deforms proportionally to the applied force. The displacement is measured (using a strain gauge or LVDT) and converted to force using Hooke's Law (F = k·x). The spring constant k is calibrated to give accurate force readings.