Spring Force Calculator — F = kx (Hooke's Law)

Enter spring constant and displacement to get spring force (F = kx) and elastic potential energy (PE = ½ kx²). This is not a nonlinear spring calculator and assumes an ideal linear spring within its elastic limit.

Spring parameters

Formulas

F = k × x

PE = ½ × k × x²

Where k = spring constant in N/m; x = displacement from equilibrium in meters; F = spring force in newtons (restoring force magnitude); PE = elastic potential energy in joules.

Hooke's law: F = kx (restoring force magnitude). The formal expression is F = -kx with direction opposite displacement.

Elastic potential energy: PE = ½ kx² (energy stored in spring).

Assumes ideal linear spring within elastic limit.

Checked examples

k = 200 N/m, x = 0.1 m: F = 200 × 0.1 = 20 N. PE = 0.5 × 200 × 0.1² = 1 J.

k = 100 N/m, x = 0.05 m: F = 100 × 0.05 = 5 N. PE = 0.5 × 100 × 0.05² = 0.125 J.

F = 10 N, x = 0.1 m → k = 10 / 0.1 = 100 N/m. PE = 0.5 × 100 × 0.1² = 0.5 J.

Limits

Spring constant and displacement must be non-negative (k > 0). Assumes ideal linear spring; does not model elastic limit or damping. Not for: Nonlinear springs (progressive, variable rate); Springs beyond elastic limit (plastic deformation); Dynamic vibration response (damping, resonance); Spring combinations (series/parallel).

OpenStax College Physics - Hooke's Law and HyperPhysics - Hooke's Law.