Engineering tools · preliminary sizing
Compression Spring Calculator
Estimate the linear body rate, force and corrected shear stress of a round-wire cylindrical compression spring.

Enter design inputs
Example values are illustrative. Use supplier-confirmed modulus; mean diameter is outside diameter minus wire diameter.
Formula and assumptions
k = Gd⁴/(8D³N); F = kx; τ = K·8FD/(πd³)
C = D/d; the Wahl correction is K = (4C − 1)/(4C − 4) + 0.615/C. D is mean coil diameter, d is wire diameter and N counts active body turns. Internally the equations use N and mm. Stress is reported in MPa. Travel is an axial displacement, not a rotation.
These screening equations assume elastic, quasi-static behavior and idealized geometry. They do not establish allowable stress, fatigue life, material suitability, tolerance, buckling resistance or production feasibility. Do not use as final design approval.
Engineering references
See the coil spring design guide, load testing guide and material comparison tool. Use the applicable formula convention and grade-specific properties.
Material modulus, worked example and stability
| Material reference | E (GPa) | G (GPa) |
|---|---|---|
| Music Wire — ASTM A228 | 207 | 79.3 |
| 302 stainless — UNS S30200 | 193 | 69 |
| 304 stainless — UNS S30400 | 193 | 69 |
| 316 stainless — UNS S31600 | 193 | 69 |
| 17-7 PH — UNS S17700 | 200 | 75 |
| Inconel X-750 — UNS N07750 | 214 | 76 |
| Beryllium Copper C17200 | 128 | 50.3 |
| Phosphor Bronze C51000 (ASTM B159 wire) | 110 | 41.4 |
Rounded room-temperature screening inputs; confirm grade/temper and actual supplier data. See grade-level comparison and sources.
With d = 1 mm, D = 8 mm, N = 6 and G = 79.3 GPa, k ≈ 3.227 N/mm and 5 mm compression gives 16.13 N. If free length is 25 mm and specified solid height 8 mm, remaining distance to solid is 12 mm. Neither positive clearance nor calculated stress establishes allowable fatigue life.
Long, slender springs may buckle depending on end support and L0/D; use an appropriate stability calculation and verify guides or sleeves. End grinding, inactive turns and spring index affect fit and manufacturability.
ASTM B159/B159M covers phosphor bronze wire for spring applications. These nominal E/G values are screening inputs, not a certified wire strength.
Frequently asked engineering questions
What is the difference between outside and mean coil diameter?
For a round-wire coil, mean diameter equals outside diameter minus wire diameter, or inside diameter plus wire diameter. Use the mean diameter in the body-rate equation.
Does positive clearance to solid guarantee safe operation?
No. Include clash allowance, spring buckling, actual end configuration, fatigue and stress limits. Verify solid height from the drawing or measured component.
Can I use outer diameter in the spring rate formula?
Convert outside diameter to mean diameter D = OD − d for a round-wire cylindrical coil; using OD directly changes the cubic diameter term.
What is the difference between clearance to solid and buckling?
Clearance to solid is the remaining axial travel to the specified solid height. Buckling depends on slenderness and end restraint; positive clearance does not establish stability.
How do active coils and wire diameter affect compression spring rate?
For an ideal round-wire cylindrical spring, k = Gd⁴/(8D³Na). Increasing active coils reduces rate, while increasing wire diameter strongly raises rate. Closed ends, coil contact and manufacturing tolerances may change the effective geometry. Verify the force at each specified working height.
From calculation to a custom spring quote
Send the drawing revision, material grade and condition, installed geometry, load or torque targets, allowable tolerances, cycle requirements and quantity. Specify critical clearance and acceptance tests.