Helical Compression Spring Calculator

Enter wire diameter, mean coil diameter, active coils, free length and load, choose wire and end type, and get spring rate, stresses, solid height, safety factor, buckling check and natural frequency.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Enter the geometry

    Wire diameter, mean diameter, active coils.

  2. 2
    Set free length and load

    Working load in N.

  3. 3
    Choose wire and ends

    Material and end type.

  4. 4
    Read rate and stress

    And the safety at solid.

  5. 5
    Check buckling

    And the natural frequency.

About this tool

A compression spring is defined by its wire diameter d, mean coil diameter D, number of active coils Na and free length L0. From these, the spring rate is k = G·d⁴/(8·D³·Na), and the shear stress in the wire under a load F is τ = KB·8·F·D/(π·d³), where KB, the Bergsträsser factor, corrects for wire curvature. This calculator also works out the total coils and solid height for the end type, the minimum tensile strength of the wire material from Shigley's data, the allowable stress, the safety factor when the spring is fully compressed, the critical free length for buckling and the natural frequency. A what-if table shows how rate and stress change with wire size.

Who this is for

Mechanical designers, toolmakers, product developers, maintenance engineers looking for a replacement spring, and students.

Key results

- **Spring rate:** k = Gd⁴/(8D³Na). - **Spring index:** C = D/d, best between 4 and 12. - **Stress factor:** KB = (4C + 2)/(4C − 3); the Wahl factor is shown for comparison. - **Shear stress:** τ = KB·8FD/(πd³). - **Solid height:** depends on end type. - **Natural frequency:** f = (d/(2πD²Na))·√(G/(2ρ)) for a spring between parallel plates.

End types (Shigley Table 10-1)

| End | Total coils | Solid height | |---|---|---| | Plain | Na | d(Nt + 1) | | Plain and ground | Na + 1 | d·Nt | | Squared (closed) | Na + 2 | d(Nt + 1) | | Squared and ground | Na + 2 | d·Nt |

Wire materials

Sut = A/d^m with A and m from Shigley Table 10-4: music wire (A 2211, m 0.145), oil-tempered (1855, 0.187), hard-drawn (1783, 0.190), chrome-vanadium (2005, 0.168), chrome-silicon (1974, 0.108) and 302 stainless (1867, 0.146). The allowable torsional stress at solid is 45 % of Sut for music and hard-drawn wire, 50 % for oil-tempered and alloy steels and 35 % for stainless, without set removal.

Buckling

A spring is absolutely stable if L0 < 2.63·D/α, with α = 0.5 for both ends on flat parallel plates, 0.707 for one fixed and one pivoted end, and 1 for both pivoted. Longer springs need a guide rod or tube.

Worked example

Music wire d = 2 mm, D = 16 mm, 8 active coils, squared and ground ends: k = 4.99 N/mm, C = 8 and KB = 1.17. At 40 N the stress is 239 MPa and the spring compresses 8 mm. The solid height is 20 mm, and closing it fully gives 893 MPa against an allowable 900 MPa, a safety factor of just 1.0.

Limits

Static design only; fatigue under cyclic loading, set, temperature and manufacturing tolerances (EN 15800, DIN 2095) need separate checks. This is not professional engineering advice.

Worked example

2 mm music wire, D 16 mm, 8 active coils: rate 4.99 N/mm and 239 MPa at 40 N.

Quick facts

Frequently asked questions

How do I calculate spring rate?

k = G·d⁴ / (8·D³·Na).

What is a good spring index?

Between 4 and 12; smaller is hard to coil, larger tangles and buckles.

Why use the Bergsträsser factor?

It corrects the shear stress for wire curvature and direct shear.

How do I prevent buckling?

Keep L0 below 2.63·D/α or guide the spring.

Is the safety at solid important?

Yes. A spring that yields when fully closed takes a permanent set.

Is my data stored?

No. Clear your browser storage to remove saved scenarios.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages