MachineCalcs

Spring Design Calculator

Back-solve a helical compression spring from target load, travel, mean diameter and spring index, then check active coils, stress, solid height and travel. Metric and imperial. Free, no signup.

Calculator

Required spring force at the working deflection.

N

Travel from free length to the working load point.

mm

Mean coil diameter. Outside diameter will be D + wire diameter.

mm

Spring index C = D/d. Values around 6-10 are a common starting point.

Unloaded spring length used for solid-height and travel checks.

mm

Sets shear modulus and allowable stress.

Sets inactive end coils and solid height.

Results

Default result
Edit inputs
Wire diameter(d)
2.5mm
Pass

Also computed

Active coils(Na)Pass9.68

Approx. total coils(Nt)11.68

Spring rate(k)5N/mm

Corrected shear stress(tau)Pass193MPa

Below allowable static stress.

Allowable shear stress871.2MPa

Spring index(C)8

Method notes 3 notes
  • This is a first-pass geometry design. It chooses wire diameter from your target spring index, then solves active coils from the rate equation.
  • Round wire diameters and coil counts to purchasable/manufacturable values, then re-check the rounded design with the compression spring calculator.
  • Fatigue, set removal, surge frequency, tolerances and end grinding allowance are not modeled.

Compression spring design starts with the required load point: k = F/x. This calculator picks wire diameter from your target spring index, d = D/C, then solves the active coils from Nₐ = G·d⁴/(8·D³·k). It then checks Wahl-corrected shear stress, solid height, inside/outside diameter and travel margin before solid height.

Continue workflow

All Springs

How to use this calculator

  1. Enter the required load and travel. Use the working force and deflection at the operating point.
  2. Choose the coil diameter and spring index. Pick a mean diameter that fits your envelope and a target index, often 6 to 10.
  3. Set free length and material. Free length controls travel to solid, while the material sets shear modulus and allowable stress.
  4. Review wire and coil count. Read the solved wire diameter and active coil count.
  5. Check stress and travel. Use the stress and travel margin verdicts before rounding the design for manufacturing.

How it works

This calculator works backward from the load point. First it computes the required spring rate: k = F / x where F is the target load and x is the working deflection.

You choose the mean coil diameter D and target spring index C = D/d, so the wire diameter is d = D/C. The active coil count is then solved from the helical spring rate equation: Na = G*d^4/(8*D^3*k).

The solved spring is then checked like a normal compression spring: Wahl-corrected shear stress, static allowable stress, solid height, inside/outside diameter and travel margin before solid height.

Worked example

Verified against the live calculator

Suppose the spring must carry 50 N after 10 mm of compression. The required rate is k = 50 / 10 = 5 N/mm.

With music wire, mean diameter D = 20 mm and target index C = 8, the wire diameter is d = 20 / 8 = 2.5 mm. The rate equation gives Na = 9.68 active coils. Closed and ground ends make that about 11.68 total coils, with 29.2 mm solid height and about 20.8 mm of travel margin at the load point.

Frequently asked questions

How do you design a compression spring from load and travel?

Start with the required rate k = F / x. Choose a mean coil diameter and spring index C = D/d, which sets wire diameter d = D/C. Then solve active coils from Na = G*d^4/(8*D^3*k).

What spring index should I target?

A practical first target is usually C = 6 to 10, with about 4 to 12 as the broader manufacturable range. Lower values are hard to wind and raise stress; higher values can tangle or buckle.

Why does the calculator solve active coils instead of total coils?

The rate equation uses active coils, because only active coils deflect. Total coils depend on the end style: closed and ground ends add inactive coils, while open ends use nearly all coils as active.

What should I do after getting a design?

Round wire diameter and coil count to values your spring shop can make, then re-check the rounded design with the compression spring calculator for rate, stress, solid height and buckling.

Does this check fatigue life?

No. This is a static first-pass design check. Fatigue life needs stress range, mean stress, surface condition, shot peening, set removal and the expected cycle count.

Does this work in metric and imperial?

Yes. Toggle SI/Imperial in the header; the physics runs in fixed internal units and the inputs/results are converted for display.

Method & assumptions

  • Round-wire helical compression spring with linear elastic behavior.
  • Target spring index is user-selected; the calculator does not optimize across stock wire sizes.
  • Stress uses the Wahl correction factor and a static material allowable.
  • Fatigue, set removal, shot peening, surge, tolerances and manufacturer process limits are separate checks.
Embed this calculator on your site free

Paste this where you want the calculator to appear. It stays in sync — same formulas, metric & imperial, light/dark — and a small credit link helps people find more tools.

Open widget

Live preview