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

Unit system (SI / gravitational units)

Inputs

What to find

Choose whether to find the load from the deflection (how far the spring is compressed) or the deflection from the applied load. Both give the spring constant and the shear stress.

δDdP

The diameter of the spring wire. e.g. 2 mm

The mean of the outside and inside diameters of the coil (outside diameter − wire diameter, or inside diameter + wire diameter). Do not enter the outside diameter as it is. e.g. 16 mm

The coils that work as a spring: the total coils minus the end (inactive) coils at both ends (in the source example, total − 2 with one end coil at each end, total − 1.5 with 0.75 at each end). A fraction is fine. e.g. 8 coils

The shear modulus (modulus of rigidity) of the spring material, not the modulus of elasticity (Young’s modulus). Enter the value of your material (it is not filled in automatically). Typical values of the source (reference): Spring steel, hard-drawn, music and oil-tempered wire 78,500 N/mm², Stainless spring wire SUS302, SUS304, SUS304N1, SUS316 68,500 N/mm², Stainless spring wire SUS631J1 73,500 N/mm², Brass and nickel silver wire 39,000 N/mm², Phosphor bronze wire 42,000 N/mm², Beryllium copper wire 44,000 N/mm².

How far the spring is compressed from its free length. For the installed length, free length − installed length. Check the room left to the solid length separately. e.g. 10 mm

The axial force on the spring. e.g. 10 N

The allowable shear stress you set from the material, the duty (static or repeated) and the margin. When entered, it is compared with the corrected shear stress τ. e.g. 500 N/mm² (an example number, not a material value)

The force the spring must give at that deflection (a pressing force, for example). When entered, the load found is checked to be at least this. e.g. 40 N

Results

Enter the values to see the result diagram here.

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.

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)

  1. 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.

  2. 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).

  3. 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.

  4. 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.

  5. 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.

  6. Example 6: Spring index 25 (d 1 mm, D 25 mm: outside the scope)

    c = 25/1 = 25 > 22: outside the scope.

  7. 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.

  8. 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).

  9. 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)

Next calculations

Request a calculation (contact page of the official site)

Design calculation sheet

Company name and other fields are stored on this device only.