Designing a spring starts with what it must do: carry a load over a deflection. The wire diameter, coil diameter and material then fix how many coils it needs, how long it is and how highly it is stressed.
How to use the Compression Spring Design Calculator
- Working load F
- Deflection at that load
- Wire diameter d
- Outside diameter
- Material
- End type
Results update as you type, every field has its own unit menu, and everything is calculated in your browser.
How it works
Enter the working load and deflection, the wire diameter, the outside diameter, the material and the end type.
Inputs explained
| Field | What to enter |
|---|---|
| Working load F | Units: N, kN, MN, mN, lbf, kgf … |
| Deflection at that load | Units: mm, cm, m, in, µm |
| Wire diameter d | Units: mm, cm, m, in, µm |
| Outside diameter | Units: mm, cm, m, in, µm |
| Material | Choose one: Music wire (ASTM A228), Hard-drawn steel (A227), Oil-tempered steel (A229), Chrome vanadium (A231) … |
| End type | Choose one: Squared and ground ends, Squared (closed) ends, not ground, Plain ends, Plain and ground ends |
What each result means
- Spring rate k = [Working load F]÷[Deflection at that load]÷1000
- Mean coil diameter = [Outside diameter] – [Wire diameter d]
- Spring index C = ([Outside diameter] – [Wire diameter d])÷[Wire diameter d]
- Active coils needed = [Material]×[Wire diameter d]^4÷(8×([Outside diameter] – [Wire diameter d])^3×[Working load F]÷[Deflection at that load])
- Shear stress at the load = ((4×[Spring index C] – 1)÷(4×[Spring index C] – 4) + 0.615÷[Spring index C])×8×[Working load F]×([Outside diameter] – [Wire diameter d])÷(pi×[Wire diameter d]^3)
Example values
How the main result changes when Working load F changes and everything else stays at the example values above:
| Working load F (N) | Active coils needed |
|---|---|
| 100 | 15.537 |
| 150 | 10.358 |
| 200 | 7.769 |
| 250 | 6.215 |
| 300 | 5.179 |
| 400 | 3.884 |
Formula
k = F/Δx, N_a = G·d⁴ / (8·D³·k), C = D/d, K_w = (4C − 1)/(4C − 4) + 0.615/C, τ = K_w·8·F·D/(π·d³)
Free length ≈ solid height + Δx × 1.15 (15% clash allowance)
Worked example
Inputs: Working load F: 200 N; Deflection at that load: 20 mm; Wire diameter d: 3 mm; Outside diameter: 25 mm; Material: Music wire (ASTM A228); End type: Squared and ground ends.
Results: Spring rate k = 10 N/mm; Mean coil diameter = 22 mm; Spring index C = 7.333; Active coils needed = 7.769; Total coils = 9.769; Solid height = 29.3061 mm; Free length (15% clash allowance) = 52.3061 mm; Shear stress at the load = 498.9262 MPa.
Key terms
- Active coils
- Coils that deflect under load.
Frequently asked questions
What spring index is best?
Between about 4 and 12. Lower is hard to coil, higher may buckle or tangle.
What is the Wahl factor?
A correction for curvature and direct shear in the wire.
How many inactive coils do ends add?
About 2 for squared ends.
What stress is allowed?
Roughly 40–50% of the wire's tensile strength for static loads.