Spring Calculator (Compression, Extension & Torsion) | Stiffness, Load, Deflection & Stress

Spring Calculator — Compression, Extension & Torsion

Professional spring design tool. Calculate stiffness, load, deflection, stress, safety factor, and fatigue life. Includes reverse calculator and dual performance charts.

⚙ Compression ↕ Extension ↻ Torsion 📊 Dual Charts 🔄 Reverse Calculator 🛡 Fatigue Analysis

Spring Parameters

📐 Unit System
Quick Presets
Solve for:
Geometry
Loading
Material & Build
Auto-converted to N/mm² internally
📊

Results & Analysis

Stiffness (k)
N/mm
Load (F)
N
Deflection (x)
mm
Shear Stress (τ)
MPa
Wahl Factor (Kw)
Spring Index (C)
Solid Length
mm
Weight (±10%)
g
Safety Factor (τ_allow / τ_actual)
Allow: MPa  |  Actual: MPa
💡Enter values and click Calculate
Active Formulas — Circular Wire Cross-Section
k = G × d⁴ / 8 × D³ × Na
F = k × x
τ = Kw × 8FD / π × d³
Kw = (4C−1)/(4C−4) + 0.615/C
Performance Chart

🔄 Fatigue Life — Modified Goodman

Mean Stress τ_m
MPa
Alt. Stress τ_a
MPa
Endurance Limit Se
MPa
Goodman Ratio
Enter loads above to analyse fatigue
🔄

Reverse Spring Calculator — Design from Load Requirements

Have a load but no spring yet? Enter your target load, deflection, and space constraints — get ranked spring designs instantly. Click "Use ↗" to load any result into the calculator above.

Click "Find Spring Designs" to generate suggestions.

1 What is Spring Stiffness?

Spring stiffness — also called the spring constant or spring rate — defines how resistant a spring is to deformation. Measured in N/mm or lb/in, it is the force required to deflect a spring by one unit. The spring stiffness calculator formula for a helical coil spring is:

Spring Stiffness Formula
k = G × d⁴ / 8 × D³ × Na

Stiffness scales with the fourth power of wire diameter — doubling d increases k by 16×. This strong sensitivity makes tight manufacturing tolerances essential.

↑ Increases Stiffness

  • Larger wire diameter (d)
  • Smaller coil diameter (D)
  • Fewer active coils (Na)
  • Higher shear modulus (G)

↓ Decreases Stiffness

  • Smaller wire diameter
  • Larger coil diameter
  • More active coils
  • Lower shear modulus material

2 Hooke's Law Explained

Hooke's Law states that force is proportional to displacement within the elastic limit. For a spring: F = k × x. This Hooke's Law spring calculator lets you solve for any one of F, k, or x given the other two.

Quick Answer — What is the spring load formula?
Spring load = F = k × x. Calculate stiffness using k = Gd⁴/(8D³Na), then multiply by your deflection x to get the load.

3 How to Design a Compression Spring

A compression spring calculator simplifies the iterative design process. The key steps: define load and deflection requirements → select material → calculate target stiffness k=F/x → choose wire and coil diameter (spring index C=D/d between 4–12) → compute active coils from the stiffness formula → verify stress with Wahl factor → check buckling (L₀/D < 4) and solid length clearance.

MaterialG (GPa)Se/SutBest For
Music Wire (ASTM A228)81.545%Dynamic, room temperature
Stainless Steel (ASTM A313)69.035%Corrosive environments
Oil Tempered (ASTM A229)79.342%General static loads
Chrome Vanadium (ASTM A231)79.350%Fatigue, elevated temperature

4 Spring Stress and Failure

The Wahl correction factor Kw accounts for curvature stress concentration at the inner coil surface: Kw = (4C−1)/(4C−4) + 0.615/C. Maximum shear stress: τ = Kw × 8FD / (π × d³). This is valid for circular wire cross-sections only. The maximum allowable shear stress is 45% of Sut for music wire under static loading. A safety factor ≥ 1.5 is recommended.

Buckling: Long springs buckle when L₀/D exceeds ~4 (unguided) or ~5.26 (guided on rod). The column support type (Fixed–Fixed, Hinged–Hinged, etc.) adjusts the effective slenderness limit. Guide the spring on a rod or inside a tube to prevent buckling.


5 Fatigue Life in Springs

The Modified Goodman criterion predicts infinite fatigue life when: τ_a/Se + τ_m/Sut ≤ 1, where τ_a is alternating shear stress, τ_m is mean shear stress, Se is the endurance limit (~45% Sut for music wire), and Sut is ultimate tensile strength. Enter min and max operating loads in the Fatigue section above to check your design.

Fatigue life is improved by: shot peening (2–3× life improvement), reducing stress amplitude, eliminating surface defects, upgrading to chrome-vanadium alloy, and preset (scragging) the spring before service.


6 Spring Calculator vs Manual Calculation

Quick Answer — What is the spring stiffness formula?
Spring stiffness (spring rate) = k = G × d⁴ / (8 × D³ × Na). G = shear modulus, d = wire diameter, D = mean coil diameter, Na = active coils. Load = F = k × x (Hooke's Law).

Manual spring calculation takes 10–30 minutes per design iteration. This spring rate calculator computes stiffness, stress (with Wahl factor), safety factor, fatigue life, and buckling check instantly — with live graph updates. The reverse calculator goes further: enter a load requirement and get ranked spring geometries in seconds, something that would take hours manually.


🔧 Related Engineering Calculators

Build your mechanical engineering calculation toolkit. Each tool interlinks with spring design for complete structural analysis.


🔗 Embed This Calculator

Free to embed on engineering blogs and university resources.

<iframe src="https://mechconcepts.tech/spring-calculator/" width="100%" height="720" style="border:none;border-radius:12px;" title="Spring Calculator"></iframe>

Frequently Asked Questions

Spring stiffness (k) is the force per unit deflection (N/mm). Formula: k = Gd⁴/(8D³Na). Doubling wire diameter increases stiffness 16×. Doubling coil diameter decreases stiffness 8×.
Use Hooke's Law: F = k × x. First calculate stiffness k from geometry, then multiply by the deflection x. Use the "Solve for: Load" mode in the calculator above — enter k and x, get F instantly.
Hooke's Law (F = kx) applies within the spring's elastic limit. It breaks down at coil clash (solid length), at yield, or under very high cycle fatigue. Within the elastic range, the Load vs Deflection graph is a straight line with slope k.
Max allowable shear stress is typically 45% of Sut (music wire, oil-tempered) or 35% of Sut (stainless steel) for static loading. The Wahl correction factor Kw accounts for curvature and direct shear. A safety factor ≥ 1.5 is recommended for most applications.
Music wire (A228) for highest strength and dynamic loads at room temperature. Stainless steel (A313) for corrosive or wet environments. Oil-tempered (A229) for general static applications. Chrome-vanadium (A231) for elevated temperature or high-cycle fatigue applications.
Yes. Click the mm/N ↔ inch/lbf toggle at the top of the input panel. All inputs and outputs convert instantly. The calculation engine always uses SI internally — the toggle changes only what is displayed.
Enter your required load, deflection, maximum outer diameter, material, and minimum safety factor. The calculator iterates through standard wire sizes and coil diameter combinations, filtering by safety factor, spring index (4–12), and coil count. Results are sorted by safety factor. Click "Use ↗" to load any design directly into the main calculator.
Scroll to Top