MULTICALCI
Helical compression · Wahl correction · solid height check

Compression Spring Calculator

Spring rate, deflection under load and Wahl-corrected torsional shear stress with safety factor — plus free length, solid height, clash clearance, spring index and a buckling slenderness check.

Wahl factor Spring index 4 – 12 Solid height Buckling Lf/D > 4

Calculate a compression spring

Geometry, Material & Load
Spring index C = 6.25.
D is the mean coil diameter — measured to the centre of the wire, not the outside. Mean = outside diameter − dw = inside diameter + dw.

Enter your values and select Calculate.

Compression spring formulas

A helical spring works by twisting its wire. Rate depends on wire diameter to the fourth power and coil diameter to the third, which is why small dimensional changes shift stiffness so sharply. Stress is torsional, corrected by the Wahl factor for wire curvature and direct shear.

C = D / dw — spring index Kw = (4C − 1)/(4C − 4) + 0.615/C — Wahl correction factor k = G · dw⁴ / (8 · D³ · Na) — spring rate, N/mm δ = F / k — deflection under load, mm τ = Kw · 8·F·D / (π · dw³) — shear stress, MPa SF = Ssy / τ — safety factor — Lengths (closed and ground) — Lf = Na · 1.25·dw + 2·dw — free length, mm Ls = Nt · dw — solid height, mm clash = Lf − δ − Ls — reserve before coils touch slenderness = Lf / D — buckling indicator, keep ≤ 4

dw wire diameter (mm) · D mean coil diameter (mm) · Na active coils · Nt total coils · F load (N) · G shear modulus (MPa) · Ssy allowable shear stress (MPa)

Free length is an estimate. This calculator assumes a coil pitch of 1.25 × wire diameter, which gives a working travel of 0.25 × Na × dw. Real springs are wound to a specified free length, so if you know yours, treat the clash figure here as indicative and recompute the reserve from your actual dimension.

Worked example

A hard-drawn steel spring, 4 mm wire on a 25 mm mean coil diameter, 10 active coils, closed and ground ends, carrying 80 N.

Given
Wire diameter dw
4 mm
Mean coil diameter D
25 mm
Active coils Na
10
Load F
80 N
Material
Hard-drawn steel — G = 79 000 MPa, Ssy = 700 MPa
Ends
Closed and ground
Step 1 — index and Wahl factor
C = 25 / 4
6.25 — comfortably in the 4–12 band
Kw = (25 − 1)/(25 − 4) + 0.615/6.25
1.2413
Step 2 — rate and deflection
k = 79 000 × 4⁴ / (8 × 25³ × 10)
16.179 N/mm
δ = 80 / 16.179
4.945 mm
Step 3 — stress
τ = 1.2413 × 8 × 80 × 25 / (π × 4³)
98.78 MPa
SF = 700 / 98.78
7.087
Step 4 — lengths
Lf = 10 × 5 + 2 × 4
58 mm
Ls = 12 × 4
48 mm
Clash = 58 − 4.945 − 48
5.055 mm remaining
Slenderness = 58 / 25
2.32 — well below 4
k 16.18 N/mm · δ 4.95 mm · τ 98.8 MPa · SF 7.09 · 5.06 mm clash reserve

The spring is lightly stressed at SF 7.09 and has 5 mm of travel left before the coils touch. Doubling the load to 160 N would halve the safety factor to 3.54 and consume 9.89 mm of the 10 mm available travel — leaving only 0.11 mm reserve, which is too tight for production.

Units and input ranges

QuantitySymbolUnitAccepted range
Wire diameterdwmm> 0, less than D
Mean coil diameterDmm> dw
Active coilsNa≥ 1
Applied loadFN> 0
Shear modulusGMPa> 0
Allowable shearSsyMPa> 0
Spring ratekN/mmoutput
Shear stressτMPaoutput
Spring indexCoutput, target 4–12

Wire material properties

MaterialG (MPa)Ssy (MPa)Typical use
Hard-drawn steel79 000700General purpose, lowest cost
Heat-treated steel79 000550Formed then heat treated
Stainless 30269 000480Corrosion and food service
Chrome silicon77 200750High stress, shock and fatigue duty

End treatments

EndsTotal coils NtFree length LfNotes
Closed and groundNa + 21.25·Na·dw + 2·dwSquarest seating, most common
Closed, not groundNa + 21.25·Na·dw + 3·dwCheaper, less square
Open (plain)Na1.25·Na·dw + dwPoor seating, light duty only

Frequently asked questions

How is compression spring rate calculated?

Spring rate equals the shear modulus × wire diameter⁴, divided by 8 × mean coil diameter³ × active coils. Because wire diameter enters to the fourth power and coil diameter to the third, small changes in either have a large effect. Increasing wire diameter by 10 % stiffens the spring by about 46 %, while increasing coil diameter by 10 % softens it by about 25 %.

What is spring index and why does it matter?

Spring index is the mean coil diameter divided by the wire diameter. It is the single best indicator of whether a spring can be made economically. Below about 4 the wire is bent so tightly that coiling becomes difficult and residual stresses are high. Above about 12 the spring becomes floppy and hard to handle, and tolerances suffer. Most production springs sit between 5 and 9.

What is the Wahl correction factor?

The simple torsion formula underestimates stress in a helical spring because the wire is curved, which concentrates stress on the inside of the coil, and because direct shear adds to the torsional shear. The Wahl factor corrects for both. It grows as spring index falls, so tightly wound springs with a low index carry a significantly higher real stress than the uncorrected calculation suggests.

What is solid height and clash allowance?

Solid height is the length of the spring when every coil touches, equal to total coils × wire diameter. Clash allowance is the gap remaining between the working length and solid height. If a spring reaches solid under load the rate becomes effectively infinite and the load spikes, which can damage the spring or the surrounding parts. A common target is to keep at least 10–15 % of the working deflection in reserve.

Will my compression spring buckle?

Buckling risk is governed by slenderness, the free length divided by the mean coil diameter. Above about 4 a spring compressed between flat parallel ends becomes prone to sideways buckling, much like a slender column. The remedy is a guide rod through the centre, a bore around the outside, or a redesign with a larger coil diameter and fewer coils.

Related mechanical calculators

← All mechanical engineering calculators