Spring Constant Calculator

Calculate spring constant (k), force (F), extension (x), or elastic potential energy using F = kx (Hooke's Law).

🔩 Elasticity📐 F = kx⚡ Hooke's Law
Force (F) N
Extension/Compression (x) m
⚠️ Enter valid numbers (k must be positive).

What Is Spring Constant (Hooke's Law)?

Hooke's Law states that the restoring force of a spring is proportional to its displacement from equilibrium: F = kx. Here F is the force (N), k is the spring constant (N/m) — a measure of stiffness — and x is the extension or compression (m). The negative sign (F = −kx) indicates the force opposes displacement.

The spring constant k characterizes stiffness: high k = stiff spring (car suspension: 15,000–30,000 N/m), low k = soft spring (pen spring: 10–30 N/m). k depends on the spring's material, wire diameter, coil diameter, and number of coils — not on how far it's stretched (within the elastic limit).

The elastic potential energy stored in a compressed or extended spring is PE = ½kx². This mirrors the kinetic energy formula KE = ½mv², with k playing the role of mass and x playing the role of velocity. When released, this energy converts to kinetic energy, driving simple harmonic motion with period T = 2π√(m/k).

Beyond the elastic limit, Hooke's Law breaks down — the spring deforms permanently. Engineers design springs to operate well below (typically 60–80%) of the elastic limit for reliability. The force-extension graph is linear up to the elastic limit; beyond it, the curve bends, indicating non-Hookean behavior.

Formula Reference Table

Solve ForFormulaNotes
Spring constant (k)k = F / xN/m; stiffness of spring
Force (F)F = k · xRestoring force (opposes displacement)
Extension (x)x = F / kPositive = stretch; negative = compress
Elastic PEPE = ½ · k · x²Energy stored in spring
SHM periodT = 2π · √(m/k)Spring-mass oscillation period
Critical anglek = mω²From resonance frequency ω
Series springs1/k_eff = 1/k₁ + 1/k₂Combined spring (softer)
Parallel springsk_eff = k₁ + k₂Combined spring (stiffer)

3 Worked Examples

Example 1
Find Spring Constant Experimentally

A 600 g mass is hung from a spring, causing 12 cm extension.

  • F = mg = 0.6 × 9.8 = 5.88 N
  • k = F/x = 5.88 / 0.12 = 49 N/m
  • Period if oscillated: T = 2π√(0.6/49) = 2π×0.110 = 0.694 s
✓ k = 49 N/m; oscillation period ≈ 0.694 s
Example 2
Car Suspension — Find Compression

A car spring (k = 25,000 N/m) supports 400 kg per corner.

  • F = mg = 400 × 9.8 = 3,920 N
  • x = F/k = 3,920 / 25,000 = 0.157 m = 15.7 cm
  • PE stored = ½ × 25,000 × 0.157² = 308 J
✓ Compression = 15.7 cm; PE = 308 J
Example 3
Catapult — Find Stored Energy

A spring (k = 800 N/m) is compressed 0.5 m to launch a projectile.

  • PE = ½kx² = ½ × 800 × 0.25 = 100 J
  • This 100 J converts to projectile KE at launch
  • For 0.5 kg mass: v = √(2×100/0.5) = √400 = 20 m/s
✓ PE = 100 J; launch speed ≈ 20 m/s for 0.5 kg

Real-World Applications

🚗
Vehicle Suspension
Coil springs absorb road shock, converting KE to PE and back. Spring rate (k) determines ride harshness vs. handling. Lower k = softer ride; higher k = better handling. Dampers (shock absorbers) dissipate the energy.
⌚
Mechanical Watches
The mainspring stores elastic PE that gradually releases through the escapement. Hooke's Law governs the constant-force mechanisms that keep timekeeping accurate as the spring unwinds.
🏗️
Seismic Isolation
Buildings in earthquake zones mount on base isolators — giant springs designed with specific k to decouple the building from ground motion, limiting the force transmitted to the structure.
🔬
AFM (Atomic Force Microscopy)
AFM cantilevers are microscale springs (k ≈ 0.1–100 N/m). Laser deflection measures cantilever bending, giving force F = k×x with piconewton precision for atomic-scale surface measurement.
🪂
Bungee Cords
Bungee jump safety requires calculating maximum extension using energy conservation: mgh = ½kx². The spring constant k of the cord determines peak deceleration force on the jumper.

Common Mistakes to Avoid

⚠️
Using cm instead of meters for x

k = F/x and PE = ½kx² require x in meters when k is in N/m. If x = 10 cm = 0.10 m, using 10 gives k that is 10× too small.

⚠️
Forgetting the ½ in elastic PE

PE = ½kx², not kx². The ½ arises because force increases linearly from 0 to kx over the extension — average force × distance = (kx/2)×x = ½kx².

⚠️
Applying Hooke's Law beyond elastic limit

Hooke's Law is only valid in the linear elastic region. Stretching a spring past the elastic limit causes permanent deformation — the spring won't return to its original length.

⚠️
Using mass instead of weight

To find extension under gravity: F = weight = mg, not mass m alone. Using mass without multiplying by g gives x that is 9.8× too small.

⚠️
Confusing k for different shapes

Springs in series: 1/k_total = Σ(1/kᵢ). Springs in parallel: k_total = Σkᵢ. Connecting springs in series makes the system softer; in parallel makes it stiffer.

Frequently Asked Questions

What does the spring constant represent physically? ▾
k (N/m) is the force required per unit extension. k = 1000 N/m means 1000 N stretches the spring exactly 1 m. High k = stiff (large force for small extension). k depends only on spring geometry and material, not on how much it is stretched (within elastic limit).
How do springs in series and parallel combine? ▾
Series (end-to-end): 1/k_eff = 1/k₁ + 1/k₂ + ... (softer, like resistors in parallel). Parallel (side-by-side): k_eff = k₁ + k₂ + ... (stiffer, like resistors in series). Two identical springs: series → k/2, parallel → 2k.
What is simple harmonic motion? ▾
A mass on a spring oscillates sinusoidally: x(t) = A·cos(ωt + φ), where ω = √(k/m) rad/s. Period T = 2π/ω = 2π√(m/k). Higher k or lower m → faster oscillation. Amplitude A doesn't affect period. SHM describes pendulums, molecules, LC circuits, and sound.
How do I measure spring constant experimentally? ▾
Method 1 (static): hang known masses, measure extension. Plot F vs. x — slope = k. Method 2 (dynamic): measure oscillation period T for known mass m, calculate k = 4π²m/T². Multiple measurements improve accuracy; both methods work well.
What is the elastic limit and yield point? ▾
Elastic limit: maximum stress for fully reversible deformation. Beyond it, permanent plastic deformation occurs. Yield point: where significant plastic flow begins (slightly above elastic limit in ductile metals). Engineers design spring systems to never exceed 60–80% of elastic limit.
Can Hooke's Law apply to non-spring systems? ▾
Yes — it applies to any linear elastic material near equilibrium: stretching wires (Young's modulus), bending beams (small deflections), atomic bonds at equilibrium separation, compressed rubber, and even Earth's crust in response to ice sheet loads. The law is a linear approximation of more complex elastic behavior.
What is the energy stored vs. force trade-off? ▾
PE = ½kx². For the same energy storage: lower k requires more extension (more displacement, less force); higher k stores energy in less displacement with more force. Catapults and bows use high-force, short-displacement designs (high k); bungee cords use low-force, large-displacement (low k).
How does temperature affect spring constant? ▾
At higher temperatures, metal softens slightly (thermal expansion and reduced atomic bonding strength), reducing k. For precision instruments, Elinvar and similar alloys maintain nearly constant k across temperature ranges. Watch spring materials are chosen for temperature stability to preserve timekeeping accuracy.

Related Physics Calculators

Formula Explorer connections

Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.

Static Equilibrium Calculator →SUVAT Equations of Motion Calculator →Terminal Velocity Calculator →Physics Formula Explorer →