Mechanical · Springs

Spring Rate Calculator

Calculate Smarter. Work Faster.

Stiffness (spring rate) of a helical compression or extension spring from wire diameter, coil diameter, active coils, and shear modulus.

Spring Rate Details

Enter the coil geometry and material shear modulus.

k = Gd⁴ / (8D³n)
Spring Rate

Enter values and hit calculate

Spring Index (C)
Index Status
Breakdown

Enter values above to see a breakdown.

Did this solve your problem?

Created by Umasankar Maity — B.Tech in Electrical Engineering, with 11+ years of industrial maintenance experience.

Reviewed by the ElectroMechCalc editorial team.

Last reviewed: August 2026  |  Standards referenced: Standard helical spring stiffness formula (spring design handbook practice, general mechanical engineering reference)

How it works

How Helical Spring Rate Is Calculated

Spring rate (also called the spring constant, k) is the force required to deflect a spring by one unit of length — a stiffer spring has a higher rate and resists deflection more strongly, while a softer spring deflects further for the same applied force. For a helical coil spring, spring rate depends entirely on its geometry (wire diameter, coil diameter, number of active coils) and its material's shear modulus.

Formula used: k = (G × d⁴) / (8 × D³ × n), where G is the material's shear modulus, d is the wire diameter, D is the mean coil diameter (measured to the center of the wire, not the outer edge), and n is the number of active coils. With G and stress-related terms in N/mm² (MPa) and d, D in mm, k comes out in N/mm.

Worked example: a compression spring with 3 mm wire diameter, 24 mm mean coil diameter, 10 active coils, made from spring steel (G = 79,300 MPa): k = (79,300 × 3⁴) / (8 × 24³ × 10) = (79,300 × 81) / (8 × 13,824 × 10) = 6,423,300 / 1,105,920 ≈ 5.81 N/mm. That means the spring needs about 5.81 N of force for every 1 mm it's compressed — so compressing it 20 mm would need roughly 116 N.

Why wire diameter has such an outsized effect: d is raised to the fourth power in the numerator — doubling wire diameter increases spring rate by a factor of 16 (2⁴), all else being equal. This is by far the most sensitive geometric parameter in spring design, which is why even a small change in wire gauge produces a large change in stiffness, and why spring manufacturers offer wire in closely spaced standard gauge increments.

Practical use — sizing a spring for a target rate: in real design work, you usually start with a target spring rate (from the application's force-deflection requirement) and work backward to find a combination of wire diameter, coil diameter, and active coils that achieves it — often iterating between a few standard wire gauges and checking the resulting spring index and stress. This calculator is set up for the forward direction (geometry → rate), which is exactly what you need to verify a candidate design before committing to it.

Solid height and maximum deflection limits: a compression spring can only deflect until its coils touch each other (solid height, roughly n_total × wire diameter for closely-wound coils) — the linear spring rate calculated here only applies up to some safe fraction of that solid height, since stress rises sharply as the spring approaches solid and coil-to-coil contact changes its behavior entirely. A commonly used design guideline keeps working deflection to no more than about 80% of the deflection at solid height, leaving margin against accidental over-compression in service.

Static vs dynamic (fatigue) spring applications: this calculator gives the static spring rate, valid regardless of how the spring is loaded over time. For springs that cycle repeatedly (valve springs, clutch springs, most mechanical springs in continuous machinery), fatigue life becomes a separate and often governing design consideration — stress levels that would be perfectly safe for a one-time static load can lead to fatigue failure after enough load cycles, requiring a lower working stress (and therefore often a lower spring rate for the same wire) than a purely static design would need.

Series and parallel spring combinations: when springs work together, their combined rate follows the same rules as electrical resistors, but inverted — springs in parallel (side by side, sharing the same deflection) add their rates directly (k_total = k1 + k2 + ...), while springs in series (stacked end to end, sharing the same load) combine as 1/k_total = 1/k1 + 1/k2 + ... This matters for suspension and cushioning designs that intentionally use multiple springs together to achieve a combined rate that a single spring alone couldn't practically provide.

Free length, working deflection, and installed height: a compression spring has a free length (uncompressed), and in service is typically pre-loaded to some installed height before any working deflection is applied on top of that. The spring rate calculated here describes the relationship between force and deflection uniformly throughout the spring's working range — it doesn't change with how much the spring is already compressed (for a standard, constant-pitch helical spring), which is why a single k value can be used to predict force at any point within the spring's linear working range once you know the deflection from free length.

Material selection for spring wire: beyond shear modulus, spring wire material selection also depends on allowable stress, corrosion resistance requirements, operating temperature, and cost. Music wire (ASTM A228) offers the highest strength and is common for smaller, high-stress springs; oil-tempered wire and chrome-silicon/chrome-vanadium alloys are used for larger springs or higher-temperature applications; stainless steel wire trades some strength for corrosion resistance in wet or corrosive environments. Each of these has its own characteristic shear modulus and allowable stress, so material selection affects both the rate calculation's G input and the separate stress check.

Buckling in slender compression springs: a compression spring that's long relative to its coil diameter (a high slenderness ratio, free length divided by mean coil diameter) can buckle sideways under load, similar to how a slender column buckles under axial compression, rather than compressing straight down. Springs with a free-length-to-diameter ratio above roughly 4 often need a guide rod, guide sleeve, or must be checked against buckling charts specific to their end-condition (free, guided, or fixed ends) — this calculator's rate formula remains valid regardless, but the spring's actual working behavior can become unpredictable if buckling occurs, making this a separate and important check for long, slender spring designs.

Summary: use k = Gd⁴/(8D³n) with the mean coil diameter (not outer diameter) and active coil count (not total coils) for an accurate spring rate, check the resulting spring index falls in the practical 4-12 range, run a separate stress calculation using the Wahl factor before finalizing dimensions, and check solid height, fatigue life, and buckling risk (for slender springs) as additional, separate design steps beyond this rate calculation.

This preliminary-then-verify pattern — use a formula to get a fast first-pass answer, then run the additional checks that the simple formula doesn't cover — shows up throughout mechanical design, and spring design is a particularly good example of it: the rate formula alone tells you almost nothing about whether a candidate geometry is actually a safe, manufacturable, durable spring, only whether it hits your target stiffness. Both pieces of information matter, but they come from different calculations.

A note on units and precision: because wire diameter is raised to the fourth power and coil diameter to the third power, small measurement or rounding errors in either dimension compound significantly in the final rate calculation. When precision matters (matching an existing spring, or hitting a tight rate tolerance for a critical application), use the most precise available wire and coil diameter measurements rather than nominal or catalog-rounded values, and be aware that a seemingly negligible 0.05mm error in wire diameter can shift calculated rate by a percent or more.

Standard wire gauge tables (such as SWG or metric wire diameter series) list the exact nominal diameters available from wire manufacturers — checking your calculated wire diameter requirement against these standard sizes early in the design process avoids specifying a non-standard diameter that would require a special wire order, adding cost and lead time to an otherwise straightforward spring procurement.

Finally, this calculator's inputs and outputs assume a standard, constant-pitch, constant-diameter helical spring — variable-pitch, conical, or barrel-shaped springs (used where a non-linear or space-constrained force-deflection response is needed) have more complex, non-constant rate behavior that this simple formula does not capture, and need specialized design methods beyond the scope of this calculator.

If your application needs a non-constant rate, treat this calculator's constant-pitch formula as a useful reference point for understanding the underlying relationships, then consult a spring design handbook or manufacturer for the specialized calculation appropriate to your specific non-standard geometry.

For a mission-critical spring application, an experienced spring manufacturer's engineering team is generally the fastest and most reliable path to a validated final design, since they combine formula-based sizing with practical manufacturing knowledge and material testing data that a calculator alone cannot provide.

Worked Example

d = 3 mm, D = 24 mm, n = 10 active coils, G = 79,300 MPa: k = (79,300 × 3⁴) ÷ (8 × 24³ × 10) ≈ 5.81 N/mm — so a 20 mm compression needs about 116 N of force.

This calculator computes the theoretical spring rate for a helical coil spring under axial load only — it does not check for solid height, maximum safe deflection, buckling (for slender springs), or fatigue life, all of which are essential for a complete spring design. Always verify a spring design against the manufacturer's or applicable spring design standard's full set of checks before finalizing.

Design Check

Spring Index (C = D/d) and Why It Matters

Spring Index (C = D/d) Characteristic
Below 4Difficult to wind, high stress concentration — generally avoided
4 – 6Tight coil, higher stress correction needed (Wahl factor)
6 – 9Commonly preferred practical range
9 – 12Acceptable, moderate buckling risk on long springs
Above 12Slender, prone to buckling/tangling — needs guide or is generally avoided

Spring index (C = D/d, mean coil diameter divided by wire diameter) is a quick sanity check on whether a spring's proportions are practical to manufacture and structurally sound. A very low index concentrates stress on the inside of each coil (needing a correction factor like the Wahl factor for accurate stress calculation), while a very high index makes the spring slender and prone to buckling sideways under compression, especially for longer free lengths — both extremes are generally avoided in favor of the 4–12 range.

The Wahl correction factor is worth knowing about even for a rate-only calculation: at low spring index, actual peak stress in the wire is meaningfully higher than the basic (uncorrected) torsion stress formula suggests, due to both direct shear and coil curvature effects concentrating stress on the inside of each coil. A separate stress calculation using the Wahl factor (which depends on spring index) is recommended for any spring operating close to its allowable stress limit, rather than relying on the uncorrected formula alone.

End condition also affects total coil count relative to active coils, and therefore the free length calculation — plain ends, plain ground ends, squared ends, and squared-and-ground ends each remove a different number of coils from active service, with squared-and-ground ends (the most common for compression springs seated against a flat surface) typically removing about 2 full coils' worth of active behavior from the total wound coil count.

Common Mistakes

Common Mistakes When Calculating Spring Rate

1. Using outer diameter instead of mean coil diameter. D in the formula must be the mean (center-to-center) coil diameter, not the outer diameter — Mean D = Outer D − wire diameter. Using outer diameter directly overstates D (and, since D is cubed, significantly understates the calculated spring rate).

2. Using total coils instead of active coils. Ground/closed end coils on a compression spring don't flex and shouldn't be counted — using total coil count instead of active coil count in the formula overstates n and understates the true spring rate.

3. Wrong shear modulus for the actual wire material. Stainless steel spring wire has a meaningfully lower G than standard carbon/alloy spring steel — using a generic "steel" G value for a stainless spring (or vice versa) introduces a real error in the calculated rate.

4. Forgetting that spring rate scales with the fourth power of wire diameter. A seemingly small change in wire gauge (say from 2.8mm to 3.0mm) can shift spring rate by 15-20% or more — always use the exact wire diameter, not a rounded approximation, when precision matters.

5. Ignoring spring index when selecting a design. A calculated spring rate can be achieved by many different combinations of d, D, and n — but if the resulting spring index falls outside the practical 4–12 range, the design may be difficult to manufacture reliably or prone to buckling/stress concentration issues in service.

6. Not checking solid height and maximum safe deflection. This calculator gives the linear spring rate only — it doesn't check whether your intended deflection would compress the spring to its solid height (coils touching) or exceed the wire's safe stress limit, both of which need separate checks before finalizing a spring design.

7. Applying static design assumptions to a cyclically loaded spring. Fatigue life, not just static stress, governs springs subject to repeated cycling — a spring rate and stress level acceptable for a one-time static load can still fail prematurely by fatigue under continuous cyclic operation if fatigue-specific stress limits aren't checked separately.

8. Miscalculating combined spring rate for springs used in series or parallel. Parallel springs add rates directly; series springs combine as reciprocals — using the wrong combination rule (or applying single-spring logic to a multi-spring assembly) gives a significantly wrong overall system stiffness.

FAQ

Frequently Asked Questions

What is the formula for helical spring rate? +

k = (G × d⁴) / (8 × D³ × n), where k is spring rate (stiffness), G is the material's shear modulus, d is the wire diameter, D is the mean coil diameter (not outer diameter), and n is the number of active coils.

What's the difference between mean coil diameter and outer diameter? +

Mean coil diameter (D) is measured to the center of the wire, while outer diameter is measured to the outside edge — D = Outer Diameter − wire diameter (d). Using outer diameter directly in the formula instead of mean diameter is a very common and consequential error, since D is cubed in the formula.

What's the difference between total coils and active coils? +

Active coils (n) are the coils that actually flex and contribute to the spring's deflection. Total coils include additional coils at each end that are ground flat or closed for a stable seating surface (common on compression springs) and don't contribute to the active spring rate — active coils are typically 1.5 to 2.5 fewer than total coils, depending on the end configuration.

What shear modulus (G) should I use for spring steel? +

For common spring steels (music wire, oil-tempered, chrome-silicon), G is typically around 78,000-80,000 MPa (79,300 MPa is a frequently used default). For stainless steel spring wire, G is somewhat lower, typically around 69,000-72,000 MPa — always check the specific wire material's published shear modulus for an accurate result.

Why is spring rate so sensitive to coil diameter? +

Because D is cubed in the denominator of the formula — doubling the mean coil diameter reduces spring rate to one-eighth of its original value (for the same wire diameter and coil count), which is why even small changes in coil diameter have an outsized effect on stiffness compared to changing the number of coils.

How does spring index (C = D/d) affect the design? +

Spring index describes the coil's proportions — a low index (below about 4) means a relatively thick wire on a tight coil, which is hard to wind and concentrates stress; a high index (above about 12) means a slender coil that's prone to buckling and tangling. Most practical spring designs target a spring index between roughly 4 and 12, with 6-9 being a commonly preferred sweet spot.

Does adding more active coils make a spring stiffer or softer? +

Softer — spring rate is inversely proportional to the number of active coils (n is in the denominator), so more coils spread the same total deflection over more turns, reducing the stress and force needed per unit of deflection. Fewer active coils make the spring stiffer for the same wire and coil diameter.

Is this formula valid for both compression and extension springs? +

Yes, the basic spring rate formula (k = Gd⁴/8D³n) is the same for compression and extension springs, since both are helical coil springs loaded axially. Extension springs, however, also need their end-hook design checked separately, and often incorporate initial tension (a preload that must be overcome before the spring starts to stretch), which isn't captured by the basic rate formula alone.

How do springs combine when used together in series or parallel? +

Parallel springs (side by side, sharing the same deflection) add their rates directly: k_total = k1 + k2 + .... Series springs (stacked end to end, sharing the same load) combine as reciprocals: 1/k_total = 1/k1 + 1/k2 + .... Using the wrong combination rule for your actual spring arrangement gives an incorrect overall system stiffness.

Explore More Categories