MECHOWL ENGINEERING AI
Compression coil spring calculator (spring constant, load, deflection and shear stress)
Finds the spring constant (spring rate) k = G·d⁴/(8·Na·D³) of a helical compression spring from the wire diameter, mean coil diameter, active coils and shear modulus, and gives the load at a deflection or the deflection under a load. The shear stress with the stress correction factor is compared with the allowable shear stress, and the load with the required spring load.
Last updated
Inputs
Results
Results appear here as you enter values.
Results are reference values from your inputs and the stated formulas and standards; they do not guarantee that a design is correct or safe. The final decision rests with you.
References
- Design of Machine Elements (IIT Kharagpur), Module 7 Lesson 1: Introduction to Design of Helical Springs · NPTEL (open courses of the Indian Institutes of Technology) · p. 8, equations (7.1.5)–(7.1.6) (τmax = Kw·8FD/(πd³), Wahl factor Kw = (4C − 1)/(4C − 4) + 0.615/C), p. 9 (deflection δ = 8FD³N/(Gd⁴)) and the worked example on p. 11 · Open the document
- Design of Machine Elements ME-3320, Lecture 29: Springs · Worcester Polytechnic Institute (WPI), ME-3320 lecture notes · p. 9 (spring index C = D/d, deflection y = 8FD³Na/(d⁴G), spring rate k = d⁴G/(8D³Na)) · Open the document
- Spring calculations (Japanese) · MISUMI · Technical data · Open the document
- Formulas for spring design (Spring design 11) (Japanese) · MISUMI · Technical information · Open the document
The references were chosen independently by MechOwl; they do not recommend or guarantee this page.
Report an error in this calculation (contact page of the official site, opens in a new tab)
Paste this line into your message:
https://mechowl.com/calc/en/machine-elements/compression-spring/ (calculation version 0.2.0)
Explanation
Compressing a helical compression spring twists its wire. The spring constant (the force needed to compress it by 1 mm) is k = G·d⁴/(8·Na·D³): proportional to the fourth power of the wire diameter d and inversely proportional to the cube of the mean coil diameter D and to the active coils Na. Under a load P the shear stress of the wire is τ₀ = 8·D·P/(π·d³), but the stress is higher on the inside of the coil, so it is checked as τ = κ·τ₀ with the stress correction factor κ. κ grows as the spring index c = D/d gets smaller (1.58 at c = 3, 1.18 at c = 8).
How to use
Choose what to find and enter the wire diameter, mean coil diameter, active coils, shear modulus and the deflection or the load. Enter the allowable shear stress to check the stress, and, when finding the load from the deflection, the required spring load to check the load.
Worked examples (hand calculation)
Example 1: Load from the deflection: d 2 mm, D 16 mm, Na 8, G 78,500 N/mm², δ 10 mm, allowable 500 N/mm²
The inputs are example values (not a worked example of the source). G is the typical value of the source for music wire and similar. k = 78,500 × 2⁴ / (8 × 8 × 16³) = 1,256,000 / 262,144 = 4.7913 N/mm. P = 4.7913 × 10 = 47.913 N. c = 16/2 = 8, κ = 31/28 + 0.615/8 = 1.10714 + 0.07688 = 1.18402. τ₀ = 8 × 16 × 47.913 / (π × 2³) = 244.02 N/mm², τ = 1.18402 × 244.02 = 288.92 N/mm² ≤ 500, so the requirement is met.
Example 2: Deflection from the load: d 1 mm, D 8 mm, Na 10, G 68,500 N/mm², P 10 N, allowable 200 N/mm² (insufficient)
The inputs are example values. G is the typical value of the source for stainless steel spring wire (SUS304 and similar). k = 68,500 × 1⁴ / (8 × 10 × 8³) = 68,500 / 40,960 = 1.67236 N/mm. δ = 10 / 1.67236 = 5.9796 mm. τ₀ = 8 × 8 × 10 / (π × 1³) = 203.72 N/mm², τ = 1.18402 × 203.72 = 241.21 N/mm² > 200, so insufficient (the uncorrected 203.72 is also above 200).
Example 3: Boundary: spring index 3 (d 3 mm, D 9 mm), 3 active coils, δ 1 mm (nothing to compare with)
The inputs are example values. The spring index c = 9/3 = 3 and the 3 active coils are at the ends of the range and inside it. k = 78,500 × 3⁴ / (8 × 3 × 9³) = 6,358,500 / 17,496 = 363.43 N/mm, P = 363.43 N. κ = 11/8 + 0.615/3 = 1.375 + 0.205 = 1.580 (it agrees with the value at c = 3 in the chart of the source). τ₀ = 8 × 9 × 363.43 / (π × 27) = 308.49 N/mm², τ = 487.41 N/mm². With neither an allowable stress nor a required load: required performance only. c = 3 is outside 4 to 15, so a warning is shown.
Example 4: Required load not reached: d 1.6 mm, D 12 mm, Na 6, δ 8 mm, required 60 N
The inputs are example values. k = 78,500 × 1.6⁴ / (8 × 6 × 12³) = 514,457.6 / 82,944 = 6.2025 N/mm, P = 6.2025 × 8 = 49.620 N < required 60 N, so insufficient. For the stress, c = 7.5, κ = 29/26 + 0.615/7.5 = 1.19738, τ₀ = 370.18 N/mm², τ = 443.25 N/mm² ≤ 500: the stress meets the allowable, but the load is not enough, so the verdict is insufficient.
Example 5: Spring index 2.5 (d 4 mm, D 10 mm: outside the scope)
c = 10/4 = 2.5 can physically exist as a spring, but it is outside the chart of the stress correction factor and the preferred range of the spring index (3 to 22) of the source, so: outside the scope.
Example 6: Spring index 25 (d 1 mm, D 25 mm: outside the scope)
c = 25/1 = 25 > 22: outside the scope.
Example 7: 2.5 active coils (outside the scope)
2.5 active coils < 3. The source says the characteristics become unstable below 3, so: outside the scope.
Example 8: Mean coil diameter 5 mm ≤ wire diameter 5 mm (input error)
With a mean coil diameter not larger than the wire diameter, the inside diameter (D − d) is 0 or less and the coil cannot exist. An input error (no verdict).
Example 9: Mean coil diameter 5 mm ≤ wire diameter 5 mm together with 2.5 active coils (the input error comes first)
The mean coil diameter of 5 mm is not larger than the wire diameter of 5 mm, so the coil cannot exist (input error). 2.5 active coils < 3 would on its own be outside the scope, but when an input cannot physically exist the input error is shown first, with no verdict.
Common mistakes
- Entering the outside diameter of the coil as D: D is the mean diameter (outside diameter − wire diameter). With the outside diameter the spring constant comes out too small (and the deflection and stress found from a load too large).
- Taking the total coils as the active coils: the end coils at both ends do not work, so subtract them (e.g. total − 2 with one end coil at each end). With the total coils the spring constant comes out too small.
- Entering the modulus of elasticity (Young’s modulus) instead of the shear modulus G: it is much larger than G, so the spring constant comes out far too large.
- Judging by the uncorrected stress τ₀ only: the stress on the inside of the coil is κ times larger (about 1.18 times at c = 8).
FAQ
- Can it be used for extension springs?
- The spring constant formula is the same, but an extension spring has an initial tension and its load is initial tension + k·δ. This page covers compression springs only.
- What spring index should I aim for?
- The source prefers 4 to 15 for hot-formed springs and 3 to 22 for cold-formed springs. This page treats an index outside 3 to 22 as outside the scope and gives a warning outside 4 to 15.
- What allowable shear stress should I use?
- It depends on the material, the wire diameter and the duty (static or repeated). Enter a value set from the spring material standard or the maker’s data. This page does not fill in a value.
Scope
The spring constant, load, deflection and shear stress, in the elastic range, of cylindrical, equal-pitch helical compression springs of round wire (spring index 3 to 22, 3 or more active coils).
Not covered by this calculation:
- Extension springs (initial tension), torsion springs, conical springs, variable-pitch springs and springs of rectangular wire
- Solid length, free length, buckling and surging (natural frequency)
- Fatigue strength and set (permanent deformation)
- The value of the allowable shear stress (you set it from the material and the duty)