Spring Design Calculator
Calculate helical compression spring rate, stress, and deflection.
Design Guidelines:
- Spring index C should be 4-12 (ideally 6-10)
- Avoid operating at more than 80% of max deflection
- Check stress against material endurance limit for cyclic use
Spring Rate and Geometry
A helical compression spring obeys Hooke's Law over its working deflection range. The spring rate k (stiffness) is determined by material and geometry. The governing design equation is:
Spring Rate: k = G·d⁴ / (8·D³·n)
Spring Index: C = D / d
Solid Height: H_s = n_t · d (total coils × wire diameter)
where G = shear modulus (GPa), d = wire diameter (mm or in), D = mean coil diameter (mm or in), n = number of active coils, C = spring index (optimal range: 4 to 12)
The spring index C is a critical design parameter. Low C (below 4) means tight coils that are difficult to manufacture and develop high stress concentrations. High C (above 12) means the spring is slender and prone to buckling under load. The optimal range of 4-12 represents a practical balance between manufacturability, stress, and stability.
Stress Correction and the Wahl Factor
The theoretical shear stress in the wire is τ = 8FD/(πd³). However, the curvature of the coil and direct shear on the inner fibre of the wire amplify the actual stress significantly. The Wahl correction factor K_W accounts for both effects:
Corrected shear stress: τ = K_W × (8·F·D) / (π·d³)
For a spring index of C = 6, K_W = 1.25 — meaning actual stress is 25% higher than the naive calculation. At C = 4, K_W = 1.40. The corrected stress must be compared against the material's allowable torsional stress, which is typically 45-65% of the ultimate tensile strength for static loading, and 35-45% for fatigue applications.
Common spring wire materials: music wire (ASTM A228) offers the highest tensile strength for small diameters; hard-drawn wire (ASTM A227) is a lower-cost general-purpose option; stainless 302 (ASTM A313) provides corrosion resistance at a cost of roughly 30% lower strength than music wire.
Worked Example
Design a compression spring from music wire: mean coil diameter D = 20 mm (0.787 in), wire diameter d = 2.5 mm (0.098 in), G = 81,500 MPa.
Active coils for k = 50 N/mm (285.5 lbf/in): n = G·d⁴/(8·D³·k) ≈ 8 coils
Solid height (closed ends, 2 inactive coils): H_s = (8 + 2) × 2.5 = 25 mm (0.984 in)
End Types and Their Effect on Active Coils
The spring end configuration affects how many coils are active (contributing to deflection) versus inactive (providing a flat seating surface):
- Plain ends: All coils active — no flat bearing surface, not preferred for production springs
- Closed (squared) ends: 2 inactive coils — most common, ground or unground
- Closed and ground ends: 2 inactive coils — provides flat bearing surface, essential for accurate load application and preventing eccentric loading
For a spring with n active coils and closed-ground ends, total coils n_t = n + 2, and solid height H_s = n_t × d. Always ensure a minimum clash allowance of 10–15% of working deflection — the spring must never coil-bind (reach solid height) under maximum load plus tolerances.
Buckling and Natural Frequency
Long, slender springs are prone to buckling under compressive load. The buckling criterion is:
Springs exceeding these ratios need a guide rod or a guide bore to prevent lateral deflection. Springs with natural frequencies close to the excitation frequency in dynamic applications (valve springs, vibration isolators) will resonate and fail prematurely. The fundamental natural frequency is f_n = (d/πD²n) × √(G/8ρ), where ρ is wire density. For steel music wire, target f_n at least 13× the operating frequency.
Fatigue and Surface Quality
Springs under cyclic loading fail in fatigue, almost always initiating at surface defects. Key considerations:
- Shot peening: Induces compressive residual stresses on the wire surface. Increases fatigue life by 20–50% for hard-drawn wire. Mandatory for highly stressed automotive and aerospace valve springs.
- Stress ratio: R = τ_min/τ_max. A stress ratio near zero (spring unloaded on the tension stroke) is far more damaging than a ratio near 1 (fully preloaded). Always preload springs in fatigue applications.
- Goodman diagram: The standard method for fatigue assessment. Plot mean stress vs. alternating stress; the allowable line connects the endurance limit to the ultimate shear strength.
- Surface finish: Ground wire is required when fatigue life is critical. Oxide scale, pits, and seams act as stress concentrators and dramatically shorten life.
Disclaimer
This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all calculations independently. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.
Also in Engineering
- → Bearing Life Calculator — Calculate L10 bearing life per ISO 281
- → Bolt Torque Calculator — Tightening torque for metric and imperial bolts
- → Gear Ratio Calculator — Multi-stage gear train speed and torque analysis
- → 3-Phase Power — Calculate 3-phase power, current, voltage, and power factor