Skip to main content
Machinist 13 min read Mar 14, 2026

Compression Spring Design: From Wire to Working Load

Spring index, stress correction, and fatigue -- the factors that separate a working spring from a broken one.

Compression springs are the most common mechanical spring type, found in everything from ballpoint pens to heavy industrial equipment. Designing one correctly requires balancing stress, deflection, fatigue life, and buckling within the constraints of available wire sizes, materials, and manufacturing processes.

This guide covers helical compression spring design using the Spring Manufacturers Institute (SMI) Handbook and the Wahl correction factor. Material data references ASTM A228 (music wire), ASTM A229 (oil-tempered), ASTM A231 (chrome vanadium), and ASTM A232 (chrome silicon).

Spring Rate, Deflection, and the Rate Equation

A compression spring stores energy by deflecting under load. The spring rate (k) is:

k = F / δ

For a helical compression spring, the theoretical rate is:

k = (G × d4) / (8 × D3 × Na)

Where G is the shear modulus (11.5 × 106 psi for carbon and alloy steels), d is wire diameter, D is mean coil diameter (OD minus d), and Na is active coils.

Spring rate is extremely sensitive to wire diameter (fourth power) and coil diameter (inverse cube). Increasing wire diameter by 10% increases rate by 46%. Increasing coil diameter by 10% decreases rate by 25%.

Active coils are those that deflect. For closed and ground ends (most common): Na = Nt − 2. For closed unground: Na ≈ Nt − 1.5. For open ends: Na = Nt.

Spring rate varies as the fourth power of wire diameter. A 0.001-inch error on a 0.050-inch wire changes the rate by about 8%. Specify wire diameter tolerances carefully.
Machinist

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Launch Calculator →

Spring Index and the Wahl Correction Factor

The spring index (C = D/d) affects manufacturability, stress, and performance. Practical range is 4 to 12, ideal is 6 to 10:

  • C < 4: Tight coils -- difficult to wind, high tooling wear, requires specialized equipment
  • C = 6–10: Ideal -- good stress, manufacturability, and performance balance
  • C > 12: Loose coils -- tendency to buckle, tangle, and produce non-uniform pitch

Nominal shear stress from simple torsion:

τ = (8 × F × D) / (π × d3)

This underestimates peak stress on the inner coil surface. The Wahl correction factor accounts for curvature and direct shear:

KW = (4C − 1) / (4C − 4) + 0.615 / C

Corrected stress: τcorrected = KW × τ. For C = 6, KW = 1.253 (25% above nominal). For C = 4, KW = 1.395 (40% above). This inner-coil stress concentration is where fatigue cracks initiate.

Tip: For static applications, the Bergsträsser correction (curvature only) is acceptable. For fatigue applications, always use the full Wahl factor -- the direct shear component drives crack initiation.
Machinist

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Launch Calculator →

Material Selection and Allowable Stress

Common spring wire materials:

  • ASTM A228 (Music Wire): Highest tensile strength carbon steel. Excellent fatigue. Standard for d < 0.250". Not for temperatures above 250°F. Tensile: ~325 ksi at 0.030" to ~230 ksi at 0.250".
  • ASTM A229 (Oil-Tempered): General purpose, lower cost. Good to 300°F. Tensile about 85–90% of music wire.
  • ASTM A231 (Chrome Vanadium): Higher temperatures (425°F), excellent fatigue and shock resistance. Common in automotive valve springs.
  • ASTM A232 (Chrome Silicon): Highest allowable stress. Good to 475°F. Heavy-duty valve and shock absorber springs.

Maximum allowable shear stress for static applications is typically 45% of minimum tensile strength. For fatigue, allowable stress depends on cycles, stress ratio, and surface condition. The SMI Handbook provides modified Goodman diagrams for each material.

Stainless steels (ASTM A313, Types 302/304/316) are used for corrosion resistance. Tensile strength is 70–80% of music wire, and shear modulus is lower (10 × 106 psi), affecting rate calculations.

Wire tensile strength decreases with increasing diameter. Increasing wire size may not increase load capacity proportionally because allowable stress per unit area drops. Always check tensile for your specific diameter.
Machinist

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Launch Calculator →

Fatigue Life and Buckling

Fatigue is the most common failure mode for cyclic springs. Cracks initiate at the inner coil surface where Wahl-corrected stress is highest. Fatigue life depends on stress amplitude, mean stress, material properties, and surface condition.

The modified Goodman diagram plots allowable stress amplitude vs. mean stress for a given life. Springs below the Goodman line survive the specified cycles. The SMI Handbook provides diagrams at 105, 106, and 107 cycles.

Shot peening is the most effective fatigue improvement. It introduces compressive residual stress on the wire surface, reducing the effective tensile stress on the inner coil. Shot peening improves fatigue life 2–5 times and is standard for springs above 105 cycles.

Buckling occurs when free length exceeds about 4 times the mean coil diameter (Lfree/D > 4) for unguided springs. Guided springs (in a bore or over a rod) tolerate L/D up to 5–6. When L/D is too high, redesign with a larger coil diameter, use a guide, or nest two shorter springs.

Tip: Shot peening costs less than 10% of the spring price and improves fatigue life 3–5 times. If your spring must survive more than 106 cycles, always specify shot peening.
Machinist

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Launch Calculator →
Machinist

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Launch Calculator →

Frequently Asked Questions

Aim for C = D/d between 6 and 10. Below 4 is hard to manufacture with high stress. Above 12 tends to buckle and is dimensionally unstable.
Active coils = total coils minus inactive end coils. For closed and ground ends, subtract 2. For closed unground, subtract 2 (conservative; some references cite 1.5). For open ends, all coils are active.
Use Wahl for fatigue applications -- it includes both curvature and direct shear stress. Bergsträsser (curvature only) is acceptable for static-only loading.
Keep free length to mean diameter ratio below 4 for unguided springs or 5–6 for guided springs. Use a bore guide, increase coil diameter, or use nested parallel springs.
Disclaimer: This guide provides general spring engineering guidance. Critical applications require validation by a qualified mechanical engineer and prototype testing. Verify material properties against current ASTM standards.

Calculators Referenced in This Guide

Machinist Live

Material Weight Calculator

Calculate weight of metal stock in 9 shapes: round bar, tube, square, hex, sheet, angle iron, and more. 16 materials with cut list builder and cost estimator.

Machinist Live

Compression Spring Calculator

Design helical compression springs. Spring rate, solid height, buckling check, stress at working length, and fatigue life per SMI standards.

Related Guides

Industrial 11 min

Shaft and Keyway Sizing: Torque, Stress, and ASME B17.1

How to select key size for a given shaft diameter and torque. Shear and bearing stress calculations, standard key dimensions, and common failure modes.

Industrial 12 min

Roller Chain Selection: HP Ratings, Service Factors, and Sprockets

How to select ANSI roller chain by horsepower and speed. Service factors, multi-strand ratings, sprocket tooth count, and chain life considerations.