Spring Design Calculator

Spring rate k9.68 N/mm
Deflection at load12.40 mm
Spring index C8.0
Wahl factor K1.184
Corrected shear stress180.9 MPa
How this was calculated
  1. A helical compression spring's rate comes from wire torsion: k = G d^4 / (8 D^3 Na). For music wire (G = 79.3 GPa) with 4 mm wire, a 32 mm mean coil and 8 active coils, k = 9.68 N/mm.
  2. Your 120 N load therefore deflects the spring 12.40 mm. Rate scales with the fourth power of wire diameter - a 10% thicker wire is a 46% stiffer spring - and against the cube of the coil diameter.
  3. The spring index C = D / d = 8.0 sits in the usual manufacturable band of 4 to 12. The Wahl factor corrects the shear stress for coil curvature: K = 1.184.
  4. Peak shear stress is K x 8 F D / (pi d^3) = 180.9 MPa, against 152.8 MPa uncorrected - the curvature correction adds 18% at the inner coil surface, where fatigue cracks start.

This spring design calculator turns a few basic dimensions and a material choice into the numbers you need to judge a compression spring. Enter the wire diameter, mean coil diameter, number of active coils and material, and it returns the spring rate and the deflection under your load. The examples on this page show how much those inputs matter. A music-wire spring with 4 mm wire, a 32 mm mean coil and 8 active coils has a rate of 9.68 N/mm and deflects 12.40 mm under 120 N. Change only the material and the answer moves sharply: the stainless example (3 mm wire, 24 mm coil, 10 coils) rates 5.05 N/mm, while the phosphor bronze one rates just 1.68 N/mm. Wire diameter matters even more, because rate scales with it to the fourth power — 10% thicker wire makes a spring about 46% stiffer.

The method behind the calculator is the standard spring calculation used in mechanical design: rate from the wire and coil geometry and the material's shear modulus, with a curvature correction applied to the stress. That correction depends on the spring index, not the size — all three examples here share an index of 8.0 and a Wahl factor of 1.184. This page shows the formula, the step-by-step workings, the worked examples above and the sources behind them, so you can check every number rather than trust a black box. Use it to compare materials and dimensions before you commit to a design.

Worked examples

Music wire 4 mm, 32 mm coil, 8 coils, 120 N

(4 mm · 32 mm · 8 · Music wire (G 79.3 GPa) · 120 N)

Spring rate k9.68 N/mm
Deflection at load12.40 mm
Spring index C8.0
Wahl factor K1.184
Corrected shear stress180.9 MPa

Stainless 3 mm, 24 mm coil, 10 coils, 60 N

(3 mm · 24 mm · 10 · Stainless steel (G 69.0 GPa) · 60 N)

Spring rate k5.05 N/mm
Deflection at load11.87 mm
Spring index C8.0
Wahl factor K1.184
Corrected shear stress160.8 MPa

Phosphor bronze 2 mm, 16 mm coil, 12 coils, 15 N

(2 mm · 16 mm · 12 · Phosphor bronze (G 41.4 GPa) · 15 N)

Spring rate k1.68 N/mm
Deflection at load8.90 mm
Spring index C8.0
Wahl factor K1.184
Corrected shear stress90.5 MPa

How spring rate is calculated

Spring rate is the stiffness of the spring: the force it takes to compress it by one unit of length. For a helical compression spring, the standard relationship is k = G d^4 / (8 D^3 Na), where G is the shear modulus of the wire material, d is the wire diameter, D is the mean coil diameter, and Na is the number of active coils. The formula shows why wire diameter matters so much: d is raised to the fourth power, while the coil diameter is cubed in the denominator. A spring design calculator simply applies this relationship to the dimensions and material you enter, so you can see the rate before anything is wound.

Take a music-wire spring with G = 79.3 GPa. In the formula's units, that is 79,300 N/mm². With a 4 mm wire, a 32 mm mean coil diameter, and 8 active coils, the calculation gives a rate of 9.68 N/mm. That number is easy to check against a real load: at 120 N, the spring deflects 12.40 mm. Dividing the load by the rate gives the same deflection, which is the practical test that the arithmetic is consistent.

Change the material and the rate changes with it, even when the geometry is scaled to match. A stainless spring with 3 mm wire, a 24 mm coil, and 10 active coils rates 5.05 N/mm. A phosphor bronze spring rates just 1.68 N/mm. All three examples share a spring index of 8.0 and a Wahl factor of 1.184. The spring index is the ratio of mean coil diameter to wire diameter, and it is the index, not the physical size, that sets the curvature correction. That is why three springs of different dimensions can carry the same Wahl factor.

Wire diameter is the most powerful lever in the equation. Because the rate scales with wire diameter to the fourth power, a 10% thicker wire makes a spring about 46% stiffer. Small changes in wire gauge therefore produce large changes in rate, while adjustments to coil count or coil diameter move the rate more gradually. When you use a spring design calculator, check which dimension you are changing before you expect a proportional result.

The same formula runs in reverse. If you know the rate you need, you can solve for the wire diameter, the mean coil diameter, or the number of active coils. Keep the units consistent throughout — shear modulus and dimensions in the same length system — and the output will be in force per unit length, such as N/mm.

  • Music wire, G = 79.3 GPa: 4 mm wire, 32 mm mean coil, 8 active coils gives 9.68 N/mm; at 120 N it deflects 12.40 mm.
  • Stainless: 3 mm wire, 24 mm coil, 10 coils gives 5.05 N/mm.
  • Phosphor bronze gives 1.68 N/mm.
  • All three examples have a spring index of 8.0 and a Wahl factor of 1.184.
  • A 10% thicker wire makes a spring about 46% stiffer.
Wire diameter enters the rate formula to the fourth power. A 10% thicker wire makes a spring about 46% stiffer — check that dimension first when a spring feels too soft or too stiff.

Spring index and manufacturability

The spring index is the ratio of mean coil diameter to wire diameter, C = D / d, and it is the single number that most directly tells you whether a spring is practical to make. The useful working band runs from about 4 to 12. Inside that band a spring design calculator can give you a rate, a stress figure and a deflection you can trust; outside it, the numbers may still compute, but the spring becomes hard to coil, hard to control, or both. Every example on this page sits at an index of exactly 8.0, squarely in the middle of the practical range.

The three worked examples show how little index depends on absolute size. The music-wire spring uses 4 mm wire, a 32 mm mean coil and 8 active coils, giving a rate of 9.68 N/mm and a deflection of 12.40 mm under 120 N. The stainless spring, with 3 mm wire, a 24 mm coil and 10 coils, rates 5.05 N/mm. The phosphor bronze spring rates just 1.68 N/mm. Wire sizes, coil sizes and materials all differ, yet all three share a spring index of 8.0 and therefore the same Wahl factor of 1.184. That is the key lesson: index, not size, sets the curvature correction. A small spring and a large one with the same ratio need the same correction for coil curvature when you calculate stress.

Push the index too low — below roughly 4 — and the coils become tight relative to the wire. The wire has to bend sharply during coiling, which concentrates stress on the inside of each coil, and the Wahl factor climbs quickly as index falls. Very stiff, tightly wound springs are also harder to form accurately and leave little room between coils for deflection. Push the index too high — much above 12 — and the opposite problems appear. The spring becomes floppy and prone to buckling, the coils are easily tangled or damaged in handling, and the wire is thin relative to the coil, so small changes in wire diameter or coil diameter shift the rate noticeably. Staying near the middle of the 4-to-12 band is the simplest way to keep a design manufacturable.

Wire diameter itself is the most sensitive input, and the index captures part of that sensitivity. Rate scales with wire diameter to the fourth power, so a 10% thicker wire makes a spring about 46% stiffer. Because index is the ratio of coil diameter to wire diameter, changing the wire changes the index too unless you adjust the coil to match — which is why a spring design calculator is most useful when you hold the index steady and vary the other dimensions around it.

In practice, choose a target index first, then size the wire and coil to hit it. The examples here all land at 8.0 for a reason: it leaves margin on both sides, keeps the Wahl correction moderate, and gives a coil that can actually be wound and used.

  • Spring index C = D / d, with a practical range of about 4 to 12.
  • All three examples use C = 8.0 and a Wahl factor of 1.184, regardless of wire size or material.
  • Low index (below about 4): sharp coiling, high curvature stress, rapidly rising Wahl factor.
  • High index (above about 12): floppy coils, buckling and tangling risk, high sensitivity to small dimension changes.
  • Rate scales with wire diameter to the fourth power: 10% thicker wire gives about 46% more stiffness.
Index, not size, sets the curvature correction: the 4 mm music-wire spring and the 3 mm stainless spring differ in rate (9.68 vs 5.05 N/mm) but share C = 8.0 and a Wahl factor of 1.184.

The Wahl factor and shear stress

A spring design calculator does more than give you a rate. It also tells you how hard the wire is working, and that number depends on how the coil is shaped. When a spring is wound, the wire on the inside of each coil is bent more tightly than the wire on the outside. That extra curvature concentrates stress at the inner surface, so the stress you calculate from the simple torsion formula is too low. The correction for this is the Wahl factor, usually written K.

The effect is not small. Take the music-wire spring in the examples: 4 mm wire, a 32 mm mean coil and 8 active coils, with a rate of 9.68 N/mm that deflects 12.40 mm under 120 N. Using the plain torsion formula gives a stress of 152.8 MPa. Applying the Wahl factor of 1.184 lifts that to 180.9 MPa — roughly an 18 percent increase from curvature alone. A spring design calculator that skips this step will understate the stress the wire actually sees.

That peak stress sits exactly where fatigue cracks begin. Under repeated cycling, the inner surface of the coil is the first place to show a crack, because it is the point of highest stress and it is also the surface that was stretched most during winding. If you size a spring against the uncorrected stress, you are designing to a number the wire never actually experiences. The inner coil will fail earlier than your calculation predicted.

The Wahl factor depends on the spring index — the ratio of mean coil diameter to wire diameter — not on the absolute size of the spring. All three examples in this calculator share an index of 8.0 and therefore the same Wahl factor of 1.184, even though they differ in wire size and material. The music-wire spring uses 4 mm wire, the stainless example uses 3 mm wire with a 24 mm coil and 10 coils for a rate of 5.05 N/mm, and the phosphor bronze one rates just 1.68 N/mm. Different stiffness, same curvature correction, because index sets it.

Wire diameter still matters enormously for rate. Rate scales with wire diameter to the fourth power, so making the wire 10 percent thicker makes the spring about 46 percent stiffer. But that same change also lowers the index, which raises the Wahl factor and pushes the inner-coil stress up further. Stiffness and stress move together, and the calculator has to track both.

When you read the stress output, treat the Wahl-corrected figure as the real one. Compare it against the allowable stress for your material and application, and remember that the inner coil is the critical location for fatigue. The rate tells you how the spring behaves; the corrected stress tells you whether it will last.

Curvature correction is not optional: the same spring reads 152.8 MPa uncorrected and 180.9 MPa with K = 1.184, and the inner coil is where fatigue cracks start.

Choosing a spring material

The material you pick sets the stiffness of a spring before you change a single dimension. A spring design calculator works from the shear modulus of the material, and the three common choices sit far apart on that scale: music wire at 79.3 GPa, stainless steel at 69.0 GPa and phosphor bronze at 41.4 GPa. Because rate is directly proportional to shear modulus, a spring wound to identical geometry will be stiffest in music wire and softest in phosphor bronze, with stainless in between.

The worked examples make the gap concrete. A music-wire spring with 4 mm wire, a 32 mm mean coil and 8 active coils has a rate of 9.68 N/mm and deflects 12.40 mm under 120 N. The stainless example, built from 3 mm wire, a 24 mm coil and 10 coils, rates 5.05 N/mm. The phosphor bronze one rates just 1.68 N/mm. Some of that spread comes from the different wire sizes and coil counts, but the modulus difference is the underlying reason the three materials behave so differently for the same kind of design.

What do you get for the stiffness you give up? Music wire offers the highest modulus of the three, so it delivers the most force per millimeter of deflection and is the natural starting point when space is tight and you need a firm spring. Stainless steel trades some stiffness for corrosion resistance, which matters in wet, humid or washdown environments where plain carbon steel wire would rust. Phosphor bronze is the softest of the three and also conducts electricity well, which suits springs that carry current or sit in electrical contacts. The trade-off is straightforward: stiffness on one side, corrosion resistance and conductivity on the other.

One correction factor applies to all of them. All three examples share a spring index of 8.0 and a Wahl factor of 1.184, because index, not size, sets the curvature correction. That means switching material changes the rate through the modulus but leaves the Wahl factor alone as long as you keep the same index. Wire diameter, by contrast, has an outsized effect: rate scales with wire diameter to the fourth power, so 10% thicker wire makes a spring about 46% stiffer. If a material change leaves you short on force, a small increase in wire diameter often closes the gap faster than switching back.

Use the calculator to compare the three moduli side by side before you commit, and check the resulting stress and deflection against what the application allows.

Shear modulus sets the rate: music wire 79.3 GPa, stainless 69.0 GPa, phosphor bronze 41.4 GPa. Match the material to the environment, not just the stiffness.

FAQs

How do I calculate spring rate?

Spring rate follows k = G d^4 / (8 D^3 Na), where G is the material's shear modulus, d is wire diameter, D is mean coil diameter, and Na is the number of active coils. In the music-wire example on this page, that formula gives a rate of 9.68 N/mm.

How much does a 120 N load deflect that spring?

It deflects 12.40 mm. Deflection is simply the load divided by the spring rate, so 120 N divided by the 9.68 N/mm rate from the music-wire example gives 12.40 mm. This assumes the spring stays within its linear range and does not compress to solid height.

What is the spring index?

Spring index is the mean coil diameter divided by the wire diameter. It came out to 8.0 in all three examples on this page, which sits comfortably inside the 4 to 12 band generally considered workable. Index affects both how the spring is made and how stress concentrates across the wire section.

What does the Wahl factor correct?

The Wahl factor corrects for stress concentration caused by coil curvature, which plain torsion formulas ignore. In the first example on this page, applying it raises the peak shear stress to 180.9 MPa from 152.8 MPa uncorrected. That difference matters when checking a spring against allowable stress.

Why does wire diameter matter so much?

Because the rate formula depends on wire diameter to the fourth power (d^4), small changes swing stiffness sharply. A wire just 10% thicker is about 46% stiffer. That makes wire diameter the strongest lever in spring design, far more influential than small tweaks to coil diameter or active coil count.

Which spring material is stiffest?

Of the three materials covered here, music wire is stiffest, with a shear modulus G of 79.3 GPa. Stainless steel follows at 69.0 GPa, and phosphor bronze is lowest at 41.4 GPa. Since rate scales directly with G, the same geometry gives a noticeably softer spring in phosphor bronze.

Sources

Related calculators

Beam Deflection Calculator
How much a beam sags under load: maximum deflection for a cantilever, a simply supported beam with a centre load, or a uniformly loaded beam, from standard elasticity formulas.
Spring Rate Calculator
Coil spring rate from wire diameter, coil diameter, active coils and spring material.
Bolt Torque Calculator
Bolt torque calculator: tightening torque for a target clamp load by T = K D F, with dry, oiled and waxed K factors.