Compression Spring Rate Calculator
The rate of a round-wire helical compression spring is k = G·d⁴ ÷ (8·D³·n): the shear modulus of the wire times the wire diameter to the fourth power, divided by eight times the mean coil diameter cubed times the number of active coils. Enter those four values and a deflection to get the rate in N/mm and lbf/in, the spring index, the load at that deflection and the corrected wire stress. Add the unloaded length to see whether the spring reaches solid height or buckles first.
Engineering estimate, not a quote. The equation assumes a cylindrical spring of round wire with evenly pitched coils; a load test on real springs settles the rate.
How this works
A helical compression spring is a torsion bar wound into a coil. Pushing on the ends puts the load at the coil's mean radius, which twists the wire along its whole active length, and the axial travel you see is that twist added up over every active turn. Working the torsion of a round bar through the coil geometry gives the rate equation that spring references such as AJDesigner's spring rate page and Amesweb's compression spring formulas both state:
Read the exponents first. Wire diameter enters to the fourth power, so wire 1 percent heavier gives a spring about 4.06 percent stiffer (1.01⁴ = 1.0406). Mean diameter is cubed in the denominator, so a coil 1 percent larger is about 2.94 percent softer (1 ÷ 1.01³ = 0.9706). Active coils and shear modulus are both linear: going from ten active coils to eight raises the rate by a quarter, and a wire with a G 10 percent lower gives a rate 10 percent lower. In our reading, that ranking is the fastest way to diagnose a spring that tests off-rate: check the wire size, then the coil diameter and the turn count, and only then the material.
Picking the shear modulus G
G is the only material property in the rate equation. The presets in the calculator come from the Engineers Edge table of common spring materials, which gives G and E in millions of psi. The GPa column below is our conversion at 6.894757 GPa per Mpsi.
| Wire | Specification | G (10⁶ psi) | G (GPa) | E (10⁶ psi) |
|---|---|---|---|---|
| Music wire, up to 0.100 in | ASTM A228 | 12.0 | 82.74 | 30.0 |
| Music wire, over 0.100 in | ASTM A228 | 11.75 | 81.01 | 30.0 |
| Hard drawn; oil tempered | ASTM A227; A229 | 11.5 | 79.29 | 30.0 |
| Chrome vanadium; chrome silicon | ASTM A231; A401 | 11.5 | 79.29 | 30.0 |
| Stainless 302/304 and 316 | ASTM A313 | 10.0 | 68.95 | 28.0 |
| Stainless 17-7 PH | AMS 5678 | 11.0 | 75.84 | 29.5 |
| Phosphor bronze | ASTM B159 | 6.25 | 43.09 | 15.0 |
| Beryllium copper | ASTM B197 | 7.0 | 48.26 | 18.5 |
| Inconel X750 | AMS 5698 / 5699 | 12.0 | 82.74 | 31.0 |
| Monel 400 | AMS 7233 | 9.5 | 65.50 | 26.0 |
Other references print different numbers for the same wires. The PTC compression-spring table lists music wire at 11.5 and phosphor bronze at 6.0. AJDesigner uses 11.5 × 10⁶ psi (79.3 GPa) for music wire and 10.6 × 10⁶ psi (73.1 GPa) for 302/304 stainless. The English-unit table in Autodesk Inventor's compression spring materials gives 11,200,000 psi for music wire, and its metric table gives 80,500 MPa for patented drawn carbon steel and 68,500 MPa for drawn austenitic stainless. Rate is directly proportional to G, so choosing 11.2 rather than 12.0 for one music-wire spring moves the prediction by about 7 percent, and the 10.0 versus 10.6 split for stainless is 6 percent. Treat any single table as a starting point and use the figure your wire or spring supplier gives for the exact grade and size.
Counting active coils
Only turns that can close up under load count toward n. End turns that are closed against their neighbor, or ground flat to sit on a plate, carry the load but add no travel. Amesweb's end-type table ties active coils Na (the n used here) to total coils Nt and solid height Ls:
| End type | Total coils Nt | Solid height Ls |
|---|---|---|
| Plain | Na | d · (Nt + 1) |
| Plain and ground | Na + 1 | d · Nt |
| Closed (squared) | Na + 2 | d · (Nt + 1) |
| Closed and ground | Na + 2 | d · Nt |
Working from a sample, count the turns from one wire tip to the other, look at how the ends are finished, and subtract. A closed-and-ground spring with ten turns in total has eight active; plugging in all ten predicts a rate 20 percent low. The end turns also seat progressively as load comes on, so in our reading the first bit of the stroke, and the last bit as turns begin to touch, will not sit exactly on the straight line the formula draws.
Spring index: the manufacturability check
The index C = D/d compares the coil to the wire. The design conditions in Autodesk Inventor's compression spring formulas keep 4 ≤ D/d ≤ 16 and n ≥ 2, and the calculator flags anything outside that window. A low index means thick wire wound tightly, which concentrates stress on the inner face of each turn; the Wahl factor measures exactly that, and it climbs fast as C falls: 1.40 at C = 4, 1.18 at C = 8.33, 1.09 at C = 16. A high index means thin wire in a big coil, which in our reading is floppy to handle and harder to coil to a steady diameter. When the index is out of range, change the wire and the coil together rather than one of them.
Load, stress, solid height and buckling
Load is rate times deflection, F = k·x, for as long as the coils stay apart. The wire works in torsion, and the plain torsion stress 8FD/(πd³) understates the peak on the inside of the coil, so the calculator multiplies it by the Wahl factor. Amesweb pairs the Wahl-corrected stress with checks on springs that have not been preset, and for preset springs uses Ks = (2C + 1)/(2C), which keeps the direct shear but leaves out the curvature term. Compare the number with the allowable stress your wire maker publishes for the grade and size. This page does not print allowables, because they depend on the wire, the diameter, the cycle count and whether the spring was preset.
No spring can travel further than its unloaded length minus its solid height. Enter L0 and the end type and the calculator reports the travel to solid, the load and stress at solid, and a buckling check. Amesweb's buckling criterion says a spring is stable when L0 < (πD/α)·√(2(E − G)/(2G + E)), with α = 0.5 between flat parallel plates, 0.707 with one end fixed and one pivoted, 1 with both pivoted and 2 with one end clamped and the other unsupported. A long, slender spring that fails the check needs a guide rod or a bore, and that guide then rubs on the coils.
Worked example: one coil, two wires, one published check
Three cases, each worked by hand. The button marked Load the worked example fills the form with Case A so you can compare line by line.
Case A is a typical small music-wire spring of the kind that returns a latch or loads a button. Five millimeters is 38 percent of the 13 mm available travel, and the stress at solid is 2.6 times the working stress, which is why the solid condition, not the working point, usually decides the wire. Case B shows that swapping to stainless for corrosion resistance costs about a sixth of the rate unless the wire or coil count changes with it. Case C ties the calculator to a published answer and shows how much a table choice alone can move the result.
Common mistakes
- Using the outside diameter as D. Putting the 11.2 mm OD of Case A in place of the 10 mm mean diameter gives 1.908 N/mm, 29 percent low. Subtract one wire diameter from the OD first.
- Counting every turn as active. A plain-and-ground spring with 6 turns in all has 5 active; using 6 predicts a rate 17 percent low, and the error grows as the coil count falls.
- Mixing GPa with millimeters. With lengths in millimeters, G must be in MPa. Typing 82.7 where 82,737 belongs makes the spring a thousand times too soft. The calculator handles the conversion when you pick units.
- Trusting a single G. Before arguing over a rate miss of 5 percent or less, ask which modulus table the drawing's rate was calculated from.
- Ignoring solid height. A load that needs more travel than L0 − Ls is never reached; the turns stack first, and the stress at solid is the highest the wire will see.
- Forgetting what the wire tolerance does. Because of the fourth power, wire at the heavy end of its band makes a noticeably stiffer spring. Check the wire's tolerance before tightening the rate tolerance on the drawing.
Other ways to get a spring rate, and when each fits
| Method | Use it when | Limit |
|---|---|---|
| This calculator | Sizing or sanity-checking a cylindrical round-wire compression spring, reverse-checking a sample, comparing wires | Linear rate only; no fatigue life, set or relaxation; no rectangular wire |
| Spring maker's design software or catalog | Picking a stock spring or finalizing a custom one | Tied to that maker's wire data and stock sizes |
| Load test on a spring tester | Accepting a sample or a production lot | Needs real springs and a defined test length |
| Fatigue analysis with the wire's endurance data | Springs that cycle many times in service | Needs endurance data for the grade, size and finish |
| Conical, barrel or variable-pitch design tools | Rising-rate springs or springs that must nest flat | The equation here assumes every turn has the same D and pitch |
| Snap-fit cantilever calculator | When a molded plastic finger does the spring's job | Beam bending in plastic, a different model |
Sources for the method. The rate equation k = G·d⁴/(8·D³·n), its variable definitions, the inch example used as Case C and two metric examples used in our code check (a 5,000 N/m stainless isolator spring and a 50 N/mm fork spring) are on AJDesigner's spring rate equation page. The Wahl factor, the corrected stress τ = Kw·8FD/(πd³), the end-type table for total coils and solid height, and the buckling criterion with its α values are from Amesweb's compression spring formulas. Material presets for G and E are from the Engineers Edge common spring materials table; the comparison values are from the PTC modulus table for compression springs and Autodesk Inventor's spring materials table. The 4 ≤ D/d ≤ 16 and n ≥ 2 design window is from Autodesk Inventor's compression spring formulas. Unit factors are from NIST SP 811 Appendix B.8. All sources accessed November 20, 2026.
Reviewed by the JCH tooling team · updated November 2026.
Questions and answers
How do I calculate the rate of a compression spring?
Multiply the wire's shear modulus by the wire diameter raised to the fourth power, then divide by eight, by the cube of the mean coil diameter and by the count of active coils; in symbols, k equals G·d⁴ over 8·D³·n. Keep the units consistent. Megapascals with millimeters return newtons per millimeter; psi with inches return pounds-force per inch. A music-wire spring wound from 1.2 mm wire on a 10 mm mean diameter with eight working turns comes out near 2.68 N/mm.
What shear modulus should I use for music wire or 302 stainless?
The Engineers Edge spring-material table lists music wire (ASTM A228) at 12.0 million psi for sizes through 0.100 in and 11.75 million psi above that, and 302/304 stainless (ASTM A313) at 10.0 million psi. In SI terms those are roughly 82.7, 81.0 and 68.9 GPa. Other published tables differ by a few percent, 11.5 for music wire being a common alternative, so when the rate is critical ask your wire or spring supplier which value applies to the exact grade.
How many active coils does my spring have?
Count every turn from one end of the wire to its opposite end, then remove the turns that cannot move. Plain ends lose none, plain ground ends lose one, and closed ends, ground or not, lose two. So a spring with squared and ground ends and twelve turns overall has ten that deflect. If the end form is unclear, squeeze the spring lightly and watch which turns stay in contact.
What is a good spring index?
The design rule in Autodesk Inventor keeps the ratio of mean diameter to wire diameter between 4 and 16. Toward the low end, the curvature correction grows and the inner face of every turn carries much more stress than the simple torsion formula suggests; toward the high end, the coil becomes slender relative to its wire. If your ratio lands outside that band, resize wire and coil together and rerun the numbers.
How much does wire diameter tolerance change the spring rate?
Roughly four times the percentage error, in the same direction, because the wire size is raised to the fourth power. Wire 2 percent oversize gives a spring about 8.2 percent stiffer (1.02⁴ ≈ 1.082), and 2 percent undersize gives one about 7.8 percent softer (0.98⁴ ≈ 0.922). The mean coil diameter acts the other way with a power of three, so a coil that grows along with the wire partly cancels the gain.
How do I find the load at a given compression?
Take the rate and multiply it by how much shorter the spring is than its unloaded length, F = k·x, and stop at solid height, where the turns are stacked and the spring no longer sets the force. For a 2.68 N/mm spring shortened by 5 mm the result is about 13.4 N. When the spring is installed with preload, the working force is the rate times the installed compression plus the extra stroke.
Why does my measured spring rate differ from the calculated one?
Common causes are wire slightly over or under its nominal size, a coil diameter taken at the outside instead of at the wire centerline, a different number of working turns than assumed, or a shear modulus from a table that does not match the actual grade. End turns that seat gradually also bend the load curve near the start and near solid. Take the measured rate between two loads in the middle of the stroke, not from zero.
Ask JCH about your spring
Wondering whether a stock spring will do, or how to call one out on a drawing? Our AI assistant draws on the guides and calculators published here. If the question needs a person, our tooling team picks it up.
The assistant is automated and can make mistakes; treat its replies as guidance, never as a quote.
Need a spring called out for a molded or assembled product?
Our tooling team can turn a target load and stroke into a spring callout with test loads at set lengths, check that it fits the housing or mold it lives in, and source it through the vetted manufacturing network we coordinate. The numbers above remain an engineering estimate until a sample has been load-tested.
Book a free 30-minute first consultation Send a drawing