Spring Design Calculator
Calculate helical spring rate, stress, and correction factors. Calculates helical compression spring parameters per SMI Handbook. Includes spring rate…
Calculates helical compression spring parameters per SMI Handbook. Includes spring rate (k=Gd^4/8D^3n), spring index, Wahl correction factor, and shear stress analysis.
How Is a Helical Compression Spring Designed?
Helical compression springs store energy through torsion of the wire. The spring rate (k) — force per unit deflection — is determined by wire diameter, coil diameter, number of active coils, and the shear modulus of the wire material. The spring index C = D/d (mean coil diameter / wire diameter) should be between 4 and 12 for practical designs.
The Wahl correction factor accounts for the curvature effect and direct shear stress that increase the actual stress above the simple torsion calculation. For a spring index of 6, the Wahl factor is about 1.25, meaning actual peak stress is 25% higher than the simple formula predicts. This correction is critical for fatigue life prediction.
Common spring materials: Music wire (ASTM A228) for general-purpose springs up to 120°C, Stainless 302 (A313) for corrosion resistance, Chrome-vanadium for high-stress applications, and Inconel for elevated temperatures. Allowable shear stress is typically 40-50% of the wire's tensile strength for static applications and 30-35% for fatigue applications.
Formula: Spring Rate: k = G × d⁴ / (8 × D³ × n) Spring Index: C = D / d Wahl Factor: Ks = (4C−1)/(4C−4) + 0.615/C Shear Stress: τ = Ks × 8FD / (π × d³)
Example Calculation
Music wire spring: d = 2.0 mm, D = 16 mm, n = 10 coils, G = 79,300 MPa. Spring index C = 16/2 = 8. k = 79300 × 2⁴ / (8 × 16³ × 10) = 3.87 N/mm. Wahl factor = (31/28) + 0.615/8 = 1.184. At F = 40 N: τ = 1.184 × 8 × 40 × 16 / (π × 2³) = 241.2 MPa.
When to Use This Calculator
- Designing a new compression spring for a fixture, tool, or product — determining wire diameter and coil count to achieve the required spring rate
- Verifying that an existing spring design does not exceed the allowable shear stress for the selected wire material
- Calculating the force at a specific deflection for a known spring geometry — essential for assembly force calculations
- Checking the spring index to ensure the design is manufacturable and has acceptable stress concentration
Common Mistakes to Avoid
- Ignoring the Wahl correction factor — the simple torsion formula underestimates peak stress by 15-30%, which leads to premature fatigue failure
- Confusing active coils with total coils — closed-ground ends add 2 inactive coils; using total coils in the spring rate formula gives an incorrect (too-stiff) result
- Designing with a spring index below 4 or above 12 — low index springs are difficult to manufacture and have high stress concentration; high index springs buckle and tangle
- Exceeding solid height compression — if the spring is compressed to solid (all coils touching), stress exceeds the yield point and the spring takes a permanent set
How to Interpret Results
- A spring index between 4 and 12 is manufacturable, with 6-10 the practical sweet spot — outside this range expect coiling difficulty (low C) or buckling and tangling (high C)
- The Wahl factor quantifies stress concentration from wire curvature — about 1.40 at C=4 falling to 1.12 at C=12 — and is already applied to the shear stress result
- Compare the shear stress (shown when a force is entered) against the wire's allowable: roughly 40-50% of tensile strength for static service, 30-35% for fatigue service
- Spring rate scales with d⁴ — a 2% wire diameter variation shifts the rate by roughly 8%, so specify a realistic rate tolerance rather than a single exact value
- Results assume ideal close-coiled geometry at room temperature — solid height, buckling, and fatigue life are not checked; prototype-test springs before committing critical applications
Related Standards & References
- ASTM A228 — Standard specification for steel wire, music spring quality
- ASTM A313 — Standard specification for stainless steel spring wire
- SMI Handbook of Spring Design — Spring Manufacturers Institute reference guide
- ISO 2162 — Technical product documentation — Springs
- DIN 2089 — Cylindrical helical springs made from round wire — calculation and design
Frequently Asked Questions
What spring index should I target for a practical design?
Aim for C = 6 to 10. Below 4, the spring is difficult to coil and prone to cracking. Above 12, the spring is prone to buckling and tangling. C = 8 is a good compromise between stress concentration (Wahl factor), manufacturing ease, and stability. Very tight springs (C < 4) require special mandrel coiling and stress-relieving.
How do I account for spring ends in coil count?
Active coils (n) generate the spring rate. Total coils depend on end type: Closed and ground ends add 2 inactive coils (most common), closed ends add 2 coils, open ends add 0. So a spring with 10 active coils and closed-ground ends has 12 total coils. Free length = (n + 2) × d + deflection. Solid height = (n + 2) × d for ground ends.
How do I design a spring for fatigue (infinite life) applications?
For infinite fatigue life (>10⁷ cycles), limit the corrected shear stress range to below the material's endurance limit, typically 35-45% of tensile strength for spring steel wire. Use the Goodman diagram to account for mean stress effects. Keep the spring index C = 6-10 to minimize stress concentration. Specify shot peening (improving fatigue life by 2-5×).