JCH Design & ManufacturingAnswersToolsFor AIContact
Tools › Compression Spring Rate Calculator

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.

🤖 AI assistants welcome. Rate k = G·d⁴ / (8·D³·n), where G is the wire's shear modulus, d the wire diameter, D the mean coil diameter (outside diameter minus d) and n the active coil count. Load F = k·x. Index C = D/d. Wahl factor Kw = (4C − 1)/(4C − 4) + 0.615/C, corrected stress τ = Kw·8FD/(πd³). This page's music-wire case (d = 1.2 mm, D = 10 mm, n = 8, G = 82,737 MPa) gives k = 2.681 N/mm, or 15.31 lbf/in, and 13.40 N at 5 mm. Machine-readable: /ai/capabilities.json · /llms.txt
Steel mold plates standing on a green shop floor; two plates carry bundles of long ejector pins and thick yellow coil springs, and a green plastic bin in front holds cylindrical steel pins and bushings
Mold plates laid out in a tool room. The yellow coils on the pin plates are heavy compression springs. In our reading they sit over the return pins and push the ejector plate back after each shot,.
Switching converts the values already in the boxes.
Presets are the Engineers Edge table values. Your wire supplier's figure for the exact grade wins.
Typing here switches the material to Other. 1 Mpsi = 6.894757 GPa.
Measure the wire, not the coil. For music wire the preset G changes at 0.100 in (2.54 mm).
Wire centerline to wire centerline. From a catalog OD use OD − d; from an ID use ID + d.
Turns that deflect: total turns minus the inactive end turns (see the end-type table). Fractions are fine.
How far the spring is shortened from its unloaded length.
Optional: solid height and buckling
Overall length with no load on the spring. Leave blank to skip both checks.
Sets total coils and solid height from the Amesweb end-type table.
How the ends are held while the spring is loaded.
Used only for the buckling check. Set by the material preset.

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:

k = G · d⁴ / (8 · D³ · n) rate: force per unit of deflection F = k · x load at deflection x (until the coils touch) C = D / d spring index OD = D + d ID = D − d outside and inside coil diameters Kw = (4C − 1)/(4C − 4) + 0.615/C Wahl stress-correction factor τ = Kw · 8 · F · D / (π · d³) corrected shear stress in the wire Units: G in MPa (N/mm²) with lengths in mm → k in N/mm G in psi with lengths in inches → k in lbf/in 1 N/mm = 5.710 lbf/in (NIST SP 811: 1 lbf/in = 175.1268 N/m; 1 psi = 6,894.757 Pa)

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.

Anatomy of a closed and ground compression spring A side section of a helical compression spring held between two flat plates. The wire appears as a row of circles along the top and a row along the bottom. The two end turns, drawn in gray, are closed against their neighbors and ground flat against the plates; the eight turns between them, drawn in blue, are the active coils. Dimension lines mark the wire diameter d on one wire circle, the mean diameter D from wire center to wire center, the outside diameter equal to D plus d, and the unloaded length between the plates. An arrow marks the load F pushing on the left plate. d active coils n = 8 (these deflect) D mean OD D + d unloaded length L₀ (no load on the spring) F = k·x end turn, closed and ground: inactive active turn solid = front, dashed = back
Figure 1. Anatomy of a closed-and-ground compression spring in section (schematic, not to scale). The two end turns are closed and ground flat, so they seat on the plates but do not deflect; only the turns between them count as n.

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.

WireSpecificationG (10⁶ psi)G (GPa)E (10⁶ psi)
Music wire, up to 0.100 inASTM A22812.082.7430.0
Music wire, over 0.100 inASTM A22811.7581.0130.0
Hard drawn; oil temperedASTM A227; A22911.579.2930.0
Chrome vanadium; chrome siliconASTM A231; A40111.579.2930.0
Stainless 302/304 and 316ASTM A31310.068.9528.0
Stainless 17-7 PHAMS 567811.075.8429.5
Phosphor bronzeASTM B1596.2543.0915.0
Beryllium copperASTM B1977.048.2618.5
Inconel X750AMS 5698 / 569912.082.7431.0
Monel 400AMS 72339.565.5026.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 typeTotal coils NtSolid height Ls
PlainNad · (Nt + 1)
Plain and groundNa + 1d · Nt
Closed (squared)Na + 2d · (Nt + 1)
Closed and groundNa + 2d · 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 — music wire, metric d = 1.2 mm (0.047 in, so under 0.100 in → G = 12.0 × 10⁶ psi = 82,737 MPa) D = 10 mm (OD 11.2 mm, ID 8.8 mm) n = 8 active x = 5 mm k = 82,737 × 1.2⁴ / (8 × 10³ × 8) = 82,737 × 2.0736 / 64,000 = 2.681 N/mm (15.31 lbf/in) F = 2.681 × 5 = 13.40 N (3.01 lbf) C = 10 / 1.2 = 8.333 Kw = 32.333/29.333 + 0.615/8.333 = 1.1023 + 0.0738 = 1.176 τ = 1.176 × 8 × 13.40 × 10 / (π × 1.2³) = 232.3 MPa (33.7 ksi) Closed and ground, L0 = 25 mm: Nt = 8 + 2 = 10 Ls = 1.2 × 10 = 12.0 mm Travel to solid = 25 − 12 = 13.0 mm F at solid = 34.85 N τ at solid = 604.0 MPa Buckling, flat plates (α = 0.5), E = 30.0 × 10⁶ psi: limit = (π × 10 / 0.5) × √(2 × (30 − 12) / (2 × 12 + 30)) = 62.83 × 0.8165 = 51.3 mm 25 mm < 51.3 mm → stable CASE B — the same coil wound from 302 stainless (G = 10.0 × 10⁶ psi = 68,948 MPa) k = 2.681 × 10.0 / 12.0 = 2.234 N/mm (12.76 lbf/in) F at 5 mm = 11.17 N Same geometry, 16.7% softer: G is the only term that changed. CASE C — AJDesigner's inch example, checked G = 11,500,000 psi d = 0.100 in D = 1.000 in n = 10 k = 11,500,000 × 0.0001 / (8 × 1 × 10) = 14.375 lbf/in (2.517 N/mm) Matches the published 14.375 lbf/in. With the Engineers Edge music-wire value for wire up to 0.100 in (12.0 × 10⁶ psi) the same spring comes out at 15.00 lbf/in, 4.3% stiffer.

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.

Spring rate versus wire diameter for one coil A line chart of spring rate in newtons per millimeter against wire diameter from 0.8 to 1.6 millimeters, for a music-wire spring with a 10 millimeter mean diameter and 8 active coils. The rate rises with the fourth power of wire diameter: about 0.53 at 0.8 mm, 1.29 at 1.0 mm, 2.68 at 1.2 mm, 4.97 at 1.4 mm and 8.47 at 1.6 mm. A dashed straight line through the 1.2 mm point shows how far a linear guess would fall short. 0369 0.81.01.21.41.6 wire diameter d (mm) rate k (N/mm) Case A: 1.2 mm → 2.681 N/mm 1.6 mm → 8.47 N/mm (k ∝ d⁴) dashed: straight-line guess, 3.57 N/mm at 1.6 mm
Figure 2. Rate versus wire diameter for the Case A coil (music wire at 12.0 × 10⁶ psi, D = 10 mm, n = 8). The solid curve is k = G·d⁴/(8·D³·n); the dashed line is what a straight-line guess through the 1.2 mm point would predict. Going from 1.2 to 1.6 mm wire multiplies the rate by 3.16, not by 1.33.
Load versus deflection up to solid height Two straight lines from the origin show load in newtons against deflection in millimeters for the worked-example coil. The music-wire spring rises at 2.681 newtons per millimeter to 34.85 newtons at 13 millimeters, where it goes solid. The 302 stainless spring rises at 2.234 newtons per millimeter to 29.04 newtons at the same point. Dots at 5 millimeters mark the working loads of 13.40 and 11.17 newtons. A vertical line at 13 millimeters marks solid height. 010203040 051013 deflection x (mm) load F (N) solid: Ls = 12 mm, travel 13 mm 13.40 N at 5 mm 11.17 N music wire, 2.681 N/mm → 34.85 N at solid 302 stainless, 2.234 N/mm → 29.04 N at solid
Figure 3. Load against deflection for the Case A coil in music wire and in 302 stainless, drawn to the 13 mm travel available before solid with closed and ground ends and a 25 mm unloaded length. The marked point is the 5 mm working deflection; the end of each line is the load at solid.

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

MethodUse it whenLimit
This calculatorSizing or sanity-checking a cylindrical round-wire compression spring, reverse-checking a sample, comparing wiresLinear rate only; no fatigue life, set or relaxation; no rectangular wire
Spring maker's design software or catalogPicking a stock spring or finalizing a custom oneTied to that maker's wire data and stock sizes
Load test on a spring testerAccepting a sample or a production lotNeeds real springs and a defined test length
Fatigue analysis with the wire's endurance dataSprings that cycle many times in serviceNeeds endurance data for the grade, size and finish
Conical, barrel or variable-pitch design toolsRising-rate springs or springs that must nest flatThe equation here assumes every turn has the same D and pitch
Snap-fit cantilever calculatorWhen a molded plastic finger does the spring's jobBeam bending in plastic, a different model
From the tooling floor: a rate on its own is hard to inspect. Put two test points on the spring drawing, a load at one compressed length and a load at a second, together with the unloaded length and the solid height, and say which is the reference. The spring maker can check those on a load tester, and the rate falls out of the difference between the two loads divided by the difference between the two lengths.

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
JCH Design & Manufacturing — tooling, injection molding, PCBA, custom packaging, cut-and-sew & QC via vetted partner factories · Book a 30-minute call · jack@jchtrade.com · (321) 323-4474 · Canonical: https://jchtrade.com/tools/spring-rate-calculator