› Coil Spring Design Calculator Back
Mechanical Design Tool

Coil Spring Design Calculator

Estimate coil spring rate, Wahl factor and nominal shear stress. Check the assumed solid-height boundary; strength, fatigue, buckling and resonance are not assessed.

Parameters
Wire diameter d
mm
Mean coil diameter D
mm
Active coils n
Max load F
N
Free length L₀
mm
Material
End condition
Results
Nominal shear stress only; strength not assessed.
Buckling not assessed. Selected restraint:
Results
—
Spring rate k (N/mm)
—
Max shear stress τ (MPa)
—
Spring index C = D/d
—
Wahl factor K_w
—
Steel surging reference fₙ (Hz)
—
Solid length L_s (mm)

Close-coiled, linear-elastic estimates. Ls = (n + 2)d assumes two inactive end turns and nominal wire diameter; end shape and tolerances change actual solid height. Material selection supplies G, not strength or fatigue data. Large pitch and extreme spring index need a suitable model. The nominal solid-load boundary is not an allowable load; strength, fatigue, buckling and installed-system resonance are not assessed.

fₙ is an ideal steel spring surging reference (ρ = 7850 kg/m³), for small axial vibration of an uncontacted uniform spring with the selected ideal ends and no attached mass. It is not the frequency under the requested load or an installed-system safety check.

Spring

Theory & Key Formulas

$k = \dfrac{Gd^4}{8D^3n}$

$\tau = \dfrac{8FD}{\pi d^3}K_w$

$K_w = \dfrac{4C-1}{4C-4}+\dfrac{0.615}{C}$

What is Coil Spring Design?

🙋
What exactly is the "spring rate" that this calculator finds? I see it changes when I adjust the wire diameter and coil count.
🎓
Basically, the spring rate (k) is the stiffness. It tells you how much force is needed to compress the spring by a certain distance. In practice, a high spring rate means a very stiff spring. The formula is $k = \frac{Gd^4}{8D^3n}$. Try moving the "Wire Diameter" slider—because it's raised to the 4th power, even a small increase makes the spring dramatically stiffer!
🙋
Wait, really? So if a thicker wire makes it stiffer, why would I ever use more coils? Doesn't that just make the spring longer and weaker?
🎓
Great observation! Yes, increasing the "Active Coils" (n) in the denominator reduces the spring rate, making it softer. A common case is in car suspensions: you need a soft spring for a comfortable ride, which often means many coils. Try it in the simulator—increase the coil count and watch the spring rate drop, even if the wire is thick.
🙋
Okay, I see the stress value too. What's the big deal with the "Wahl Factor" (K_w)? Why isn't the stress just force divided by area?
🎓
In practice, the stress in a bent wire isn't uniform. The Wahl factor corrects for stress concentration because the inside of the coil curve is more stressed than the outside. For instance, in a valve spring for an engine, if the spring index (C = D/d) is too small, the stress concentration is huge and the spring can fail early. Change the "Mean Coil Diameter" to be just slightly bigger than the wire diameter and watch the Wahl factor—and the shear stress—skyrocket.

Physical Model & Key Equations

The fundamental equation governing spring stiffness is derived from the torsion of a straight rod, applied to a helical geometry. It relates the force applied to the resulting deflection.

$$k = \dfrac{G \cdot d^4}{8 \cdot D^3 \cdot n}$$

Where:
k = Spring Rate (N/mm or lb/in)
G = Shear Modulus of the material (e.g., ~79.3 GPa for steel)
d = Wire Diameter
D = Mean Coil Diameter
n = Number of Active Coils

The maximum shear stress inside the spring wire is not simple torsion stress. The Wahl factor accounts for stress concentration due to curvature and direct shear, which is critical for fatigue life prediction.

$$\tau_{max}= \dfrac{8 \cdot F \cdot D}{\pi \cdot d^3}\cdot K_w \quad \text{where}\quad K_w = \dfrac{4C-1}{4C-4}+\dfrac{0.615}{C}, \quad C=\frac{D}{d}$$

Where:
τ_max = Maximum Shear Stress
F = Applied Load
K_w = Wahl Correction Factor
C = Spring Index. A lower index (a "tight" coil) means higher stress concentration.

Real-World Applications

Automotive Suspension: Coil springs absorb road impacts. Designers balance stiffness (spring rate) for handling vs. comfort and ensure stress levels are safe under maximum bump loads. The material choice and spring index are critical for durability over millions of cycles.

Industrial Valves & Actuators: Springs provide the closing force in safety and control valves. A consistent spring rate is vital for precise operation, and high-cycle fatigue resistance is paramount, making stress calculation with the Wahl factor essential.

Consumer Products: From retractable pens to mattress cores, springs provide motion and support. In these high-volume applications, optimizing the wire diameter and coil count directly impacts material cost and assembly.

Aerospace Landing Gear: Springs must absorb immense energy during landing while being as light as possible. This requires sophisticated design using high-strength materials and precise calculation of stress and natural frequency to avoid resonance.

Common Misconceptions and Points to Note

Buckling depends on deflection, actual end restraint and guidance as well as slenderness. This calculator does not determine a buckling threshold. End selection changes the schematic boundary key and the bounded steel surging reference, not a buckling calculation. The compression animation is not a vibration eigenmode.

G describes elastic stiffness, not allowable stress. Strength and fatigue require the specified wire grade, processing, temperature and loading history; the material selector does not supply those data. S-N diagrams relate stress amplitude to cycle count. Fatigue is not assessed here: material grade, manufacturing condition, fatigue data and minimum cyclic load are missing. Maximum shear stress is not stress amplitude. No unsupported curve is plotted.

Finally, miscounting the "number of active coils". The number of active coils is the total coils minus the seating portions at both ends (approximately 0.75 to 1 coil each). Getting this wrong leads to a significant discrepancy between the calculated and actual spring constant. For instance, a spring with 10 total coils and ground ends will have about 8 active coils. A difference of just 1 coil here can change the stiffness by approximately 12%.

How to Use

Enter d, D and L₀ in mm, active turns n and load F in N. Values update automatically. Check D > d and L₀ ≥ (n + 2)d, then read the nominal k, Wahl-corrected stress and load-deflection curve with the model limitations. Passing these geometric checks does not establish suitability.

Worked Example

For d = 3 mm, D = 30 mm, n = 8, L₀ = 80 mm, F = 100 N and G = 80 GPa: k = 3.75 N/mm, C = 10, Kw = 1.144833, nominal τ = 323.92 MPa and δ = 26.667 mm. With the assumed two inactive turns, Ls = 30 mm and the nominal solid-load boundary is 187.5 N. These are elastic estimates, not strength or fatigue approval.

Practical Notes

G describes elastic stiffness, not allowable stress. Strength and fatigue require the specified wire grade, processing, temperature and loading history; the material selector does not supply those data. Buckling depends on deflection, actual end restraint and guidance as well as slenderness. This calculator does not determine a buckling threshold. End selection changes the schematic boundary key and the bounded steel surging reference, not a buckling calculation. The compression animation is not a vibration eigenmode. fₙ is an ideal steel spring surging reference (ρ = 7850 kg/m³), for small axial vibration of an uncontacted uniform spring with the selected ideal ends and no attached mass. It is not the frequency under the requested load or an installed-system safety check.