Skip to content

    Under active development. New calculators and features ship every week. Everything currently runs free while the site matures — pricing pages are a preview, checkout is not open yet.

    Calculates locally in your browser · rate, stress and solid height
    Mechanical / springs

    Compression spring rate

    Work out the rate of a helical compression spring from its wire diameter, mean coil diameter, active coils and material, then check the shear stress and deflection at your working load. The Wahl factor is applied because a spring is a curved beam, and the inside of the coil carries more stress than a straight-wire calculation suggests.

    Index C10.00Wahl factor1.145Material G79.3 GPa
    Spring rate
    1.982 N/mm
    At Music wire
    Stress at load
    364 MPa
    At 50 N with Wahl correction
    Deflection
    25.22 mm
    At the entered load
    Solid height
    24.0 mm
    Squared and ground ends
    Spring geometry and response
    What the wire, coil and material produce at the entered load.
    Music wire
    Spring geometry and response
    QuantityValueBasis
    Mean coil diameter20.00 mmoutside 22.00 mm − wire
    Spring index C10.00D / d — 4 to 12 is the practical band
    Wahl factor1.1448curvature and direct shear correction
    Rate1.982 N/mmG d⁴ / (8 D³ N)
    Load at 10 mm19.8 Nrate × deflection
    Deflection at load25.22 mm50 N ÷ 1.982
    Shear stress at load364.4 MPaKw · 8 F D / (π d³)
    Solid height24.0 mmd (N + 2)
    Wire length0.754 m≈ π D (N + 2)

    Keep the working stress below roughly 45% of the material’s torsional yield for a spring that has to survive millions of cycles.

    Inspect the model
    Choose a quick result view, a scaled comparison, or the complete diagnostic set.
    Rate by wire diameter
    Rate scales with the fourth power of the wire diameter.
    Rate by wire diameter0.00037.9075.79113.69151.59189.490.50.5111.51.5222.52.533445566N/mm
    Load against deflection
    A straight line whose slope is the spring rate.
    Load against deflection0.00013.3226.6439.9753.2966.61005510101515202025253030Load N
    Canonical equations
    The exact relationships implemented by this engine.

    k = G d⁴ / (8 D³ N) · N = active coils only

    C = D / d · practical band 4–12

    Kw = (4C−1)/(4C−4) + 0.615/C · curvature + direct shear

    τ = Kw · 8 F D / (π d³) · at the working load

    δ = F / k · linear within the elastic range

    engineering methodology

    A clear path from inputs to results.

    A compression spring's rate is fixed by four numbers: wire diameter, mean coil diameter, active coil count and the shear modulus of the material. Because the wire diameter enters to the fourth power and the coil diameter to the third, small changes in wire move the rate far more than anything else. This calculator gives the rate, then checks the shear stress and deflection at your working load with the Wahl correction applied — the inside of a coil carries more stress than a straight-wire calculation implies.

    Step-by-step methodWorked exampleAssumptions explained

    How to use

    1. Enter the wire diameter.
    2. Enter the mean coil diameter — outside diameter minus one wire diameter.
    3. Count only the active coils; the two end coils that sit on the seat do not deflect.
    4. Pick the wire material, which sets the shear modulus.
    5. Enter the working load you expect the spring to carry.
    6. Read the rate, the stress at that load, the deflection and the solid height.

    The formula

    k=Gd48D3N,C=Dd,Kw=4C−14C−4+0.615C,τ=Kw8FDπd3k = \frac{G d^4}{8 D^3 N}, \quad C = \frac{D}{d}, \quad K_w = \frac{4C-1}{4C-4} + \frac{0.615}{C}, \quad \tau = K_w\frac{8FD}{\pi d^3}

    Reference: Wahl (1963) coil spring correction; Shigley's Mechanical Engineering Design ch. 10; ASTM A228 / A231 material shear moduli.

    Worked example

    3 mm wire, 24 mm mean diameter, 8 active coils, chrome-vanadium, 120 N

    Inputs
    • Wire diameter 3 mm.
    • Mean coil diameter 24 mm.
    • 8 active coils.
    • Chrome-vanadium wire, G = 77,200 MPa.
    • Working load 120 N.
    Calculation path
    1. 1

      Rate: 77,200 × 3⁴ / (8 × 24³ × 8) = 6,253,200 / 884,736 = 7.068 N/mm.

    2. 2

      Spring index: C = 24 / 3 = 8.0.

    3. 3

      Wahl factor: (4×8 − 1)/(4×8 − 4) + 0.615/8 = 1.125 + 0.077 = 1.184.

    4. 4

      Stress at 120 N: 1.184 × 8 × 120 × 24 / (π × 3³) = 321.6 MPa.

    5. 5

      Deflection: 120 / 7.068 = 16.98 mm. Solid height: 3 × (8 + 2) = 30 mm.

    6. 6

      At 25 mm of compression the spring carries 25 × 7.068 = 176.7 N.

    Result

    Rate 7.068 N/mm · index 8.0 · Wahl 1.184 · 321.6 MPa at 120 N · 16.98 mm deflection · 30 mm solid.

    Interpreting the result

    The spring sits at index 8, comfortably inside the 4–12 band where a spring can be wound and will not surge badly. At 321.6 MPa it is working but not at the limit: music wire at that diameter typically tolerates a torsional yield around 1,400–1,600 MPa, so this is roughly 20–23% of yield — good for a long-life spring. Push the wire down to 2 mm at the same coil diameter and the rate collapses to 1.4 N/mm while the stress at 120 N climbs past 1,000 MPa, which is why wire diameter is the first thing to change and the last thing to guess.

    Assumptions & limitations

    • Rate applies to the linear, elastic range only. A spring that compresses toward solid becomes progressively stiffer.
    • Active coils exclude the two end coils, which is correct for squared and ground ends. Plain ends add no dead coil; open ends change the count.
    • The mean coil diameter is used, not the outside diameter. Using the outside diameter overstates the rate by roughly 10% at index 8.
    • Wahl correction accounts for curvature and direct shear. It does not account for set, relaxation or fatigue damage.
    • Shear modulus is taken as constant with temperature. Above roughly 120 °C for steel, it is not.

    Frequently asked questions

    Why does wire diameter matter so much?

    Rate scales with d⁴. Doubling the wire diameter multiplies the rate by sixteen at the same coil diameter, while also raising the stress margin dramatically. It is the single most powerful design lever, and the reason a small manufacturing tolerance on wire has a large effect on rate.

    What is the Wahl factor for?

    A spring is a curved beam, so the stress on the inside of the coil is higher than the average. Wahl's factor combines that curvature effect with the direct shear carried by the wire. Ignoring it understates the peak stress by 10–20% at typical indices.

    Does the number of active coils change the rate linearly?

    Yes — rate is inversely proportional to active coil count. Ten active coils give half the rate of five. That makes coil count the easiest way to trim a rate after the wire and diameter are fixed.

    What is a good spring index?

    Between 4 and 12. Below 4 the spring is hard to wind and the stress concentration is severe. Above 12 the spring is floppy, prone to buckling and surge, and the wire is easily over-stressed. Index 7 to 9 is the sweet spot for most designs.

    How do I set the installed length?

    Work backwards from the solid height. Installed length minus solid height is the total travel available; divide the working load by the rate to get the deflection, and check that deflection plus preload stays inside that travel. A spring should never reach solid under normal load.

    Methodology last reviewed 2026-10-18. Results are informational and not financial or engineering advice — see our disclaimer.