Compression Spring Calculator
Spring rate · Wahl/Bergsträsser stress · Goodman fatigue · Buckling SF · Surge SF · Set risk · Energy stored — SMI / IS 7906.
📖 What is a Compression Spring Calculator?
A compression spring calculator applies the standard helical spring equations — as codified by the Spring Manufacturers Institute (SMI), the Indian Standard IS 7906, and EN 13906-1 (and drawing on Shigley's Mechanical Engineering Design) — to determine the full mechanical performance of a coil compression spring from its geometry and material. Engineers use it during spring design to verify spring rate, working stress, fatigue life, solid height clearance, buckling safety, resonance margin, permanent set risk, and energy storage before ordering or manufacturing.
This calculator covers the complete SMI/Shigley design workflow. From geometry inputs (wire diameter, coil diameter, free length, active coils, end type) and material selection, it computes: spring rate, forces at preload and working deflection, spring index, Wahl or Bergsträsser corrected shear stress, mean and alternating stress, modified Goodman fatigue safety factor, critical buckling load with safety factor, surge resonance safety factor, permanent set risk, energy stored, dynamic inertia force, coil pitch validity, installed-length lateral stability, wire mass, and natural frequency.
The stress correction factor is critical — in a helical spring the wire is curved, not straight, and bears a direct shear component in addition to torsional shear. This calculator supports both the classic Wahl factor (Kw) and the Bergsträsser factor (Kb), which is used by EN 13906 and DIN 2089 and is considered marginally more accurate for low spring index values (C < 6). The two factors agree to within 1–2% for C > 6. Without stress correction, springs are systematically under-designed and fail prematurely in service.
The Goodman fatigue assessment treats the spring as a variable-amplitude component cycling between a preload (installed) stress and a working (maximum) stress. The modified Goodman criterion compares the mean-plus-alternating stress combination against the material's endurance limit and ultimate shear strength. A safety factor above 1.3 is acceptable for static or low-cycle use; safety factors above 1.5–2.0 are recommended for high-cycle dynamic applications such as engine valve springs or actuator return springs.
Ten spring materials are available — from common hard-drawn steel wire and music wire through chrome-vanadium, chrome-silicon, two grades of stainless steel, 17-7 PH precipitation-hardened stainless, phosphor bronze, beryllium copper, and Inconel 718 for high-temperature service. Each material has a characteristic shear modulus G, density, and allowable stress fraction of UTS derived from long-service SMI and IS material data.
The calculator is intended for preliminary design and educational use. For safety-critical or dynamic applications — valve springs, suspension springs, aerospace mechanisms — always validate results against the applicable design code and engage a qualified mechanical engineer.
📝 Compression Spring Formulas
k = (G × d⁴) / (8 × D³ × Na)
G = shear modulus (MPa) | d = wire dia (mm) | D = mean coil dia (mm) | Na = active coils
Total Coils from End Type:
Nt = Na + 2 (closed/ground or closed unground) | Nt = Na (open) | Nt = Na + 4 (double-closed)
Spring Force at Deflection x:
F = k × x
Spring Index:
C = D / d Valid range: 4 ≤ C ≤ 12
Wahl Correction Factor:
Kw = (4C − 1) / (4C − 4) + 0.615 / C
Corrected Shear Stress (Wahl):
τ = (8 × F × D) / (π × d³) × Kw [MPa when F in N, D & d in mm]
Solid Height:
Ls = Nt × d
Clash Allowance:
CA% = (x_max − x₂) / x_max × 100 x_max = L0 − Ls
Wire Mass:
m = ρ × π/4 × d² × π × D × Nt × 10⁻⁶ [kg; ρ in kg/m³, d and D in mm]
Natural Frequency (lowest axial mode):
fn = (d / (2π × D² × Na)) × sqrt(G / (2ρ)) × 1000 [Hz; G in MPa, ρ in kg/m³]
Modified Goodman Fatigue Safety Factor:
τ_mean = (τ₂ + τ₁) / 2 τ_alt = (τ₂ − τ₁) / 2
SF = 1 / (τ_alt / S_e + τ_mean / S_us)
S_e ≈ 0.40 × UTS (torsional endurance limit for steel)
S_us ≈ 0.65 × UTS (ultimate shear strength)
Slenderness Ratio (Buckling) — SMI limits per end condition:
SR = L0 / D Both ends fixed: SR < 4 | One end fixed: SR < 2.6 | Both ends free: SR < 2
Bergsträsser Stress Correction (alternative to Wahl):
K_b = (4C + 2) / (4C − 3) More accurate for inner-fibre curvature stress; K_b ≈ K_w for C > 6
Coil Pitch:
p = (L0 − inactive_coil_height) / Na Must be > d to prevent coil clash at sub-solid deflection
Installed-Length Lateral Stability:
L_i = L0 − x₁ If L_i / D > 2.63 → lateral bow likely during compression; guide rod recommended
Surge (Resonance) Safety Factor:
SF_surge = f_n / f_operating Minimum recommended: 13× (SMI); 20× for valve springs
Permanent Set Risk:
τ_max / UTS < 0.45 → LOW | 0.45–0.50 → MEDIUM | > 0.50 → HIGH
Energy Stored:
U = ½ × k × x₂² [N·mm → divide by 1000 for joules]
Dynamic Inertia Force (high-speed springs):
F_dyn = (m_spring / 3) × (2π × f_op)² × x₂ [Factor 1/3: distributed spring mass per Shigley §10]
Estimated Fatigue Life (Basquin / S-N approximation):
N = 10⁶ × (S_e / τ_alt)⁵ [cycles; exponent b = 5 for spring steel per SMI / Shigley]
If τ_alt < S_e → life is theoretically infinite (below endurance limit)
Life categories: <10³ = very low | 10³–10⁵ = limited | 10⁵–10⁶ = moderate | >10⁶ = long / infinite