Compression Spring Calculator & Designer

Design a round-wire compression spring: calculate rate, solid height, Wahl stress, buckling, Goodman fatigue and surge frequency, with animated compression.

#buckling #compression-spring #Goodman-fatigue #spring-rate #surge-frequency #Wahl

This compression spring calculator brings the main sizing checks into one calculation sheet. Use it to explore a new cylindrical spring, compare a proposed geometry with a supplier’s drawing, or understand a spring rate calculation in a machine-design course. It is intended for round wire, constant mean diameter and a small helix angle under centered axial compression.

Start with wire diameter, mean coil diameter, active turns and free length. Mean diameter is outside diameter minus one wire diameter. The two supported end finishes are closed and ground, and closed without grinding; each is modeled with two inactive end turns. Active turns can be fractional. Select metric or US units in the viewer; calculations retain a consistent internal unit system.

Enter the minimum and maximum forces, including any assembly preload. The calculator finds spring rate, working compression, loaded length and clearance before the coils touch. It also estimates solid height and the force and stress reached there by extending the ideal linear model. A 15% extra-travel screen flags designs that run close to coil contact. Actual end geometry and manufacturing tolerances can change the solid height.

The stress result includes Wahl’s correction for wire curvature and direct shear. Compare the working yield factor and Goodman fatigue factor with your selected requirement. All three shear-strength inputs are editable: yield strength, ultimate strength and the fully reversed endurance limit. The default strengths illustrate a design scenario; they are not certified values for a named wire grade. Fatigue data must represent the finished spring’s surface condition, environment and required reliability.

Choose the actual lateral restraint at the seats for the buckling check. Flat-looking spring ends do not establish that a seat cannot tilt. For surge, separately choose whether the longitudinal mode represents a spring between plates or one with a free end. The 20:1 separation screen is a conservative textbook design recommendation. Attached moving masses, support flexibility and forcing harmonics need a system-level vibration assessment.

Press play to watch the specified load cycle at a deliberately slow speed. The active coil changes color with instantaneous peak shear stress divided by shear yield strength; inactive ends remain gray. This illustrates uniform peak stress along the ideal active wire, not a finite-element stress field or a prediction of vibration.

Use the force, stress and Goodman plots to see which constraint governs a compression spring design. This spring calculator does not predict finite fatigue life, contact impacts, relaxation, corrosion, manufacturing residual stress or post-buckling motion. Confirm final dimensions, tolerances and strength data with the spring manufacturer. No EN 13906 tables are used.

How it is calculated

The calculation follows the close-coiled spring methods of Shigley, chapter 10, with separate static, fatigue, stability and dynamic screens.

With mean diameter DD, wire diameter dd and active turns NaN_a, torsional compliance gives k=Gd4/(8D3Na)k=Gd^4/(8D^3N_a) and δ=F/k\delta=F/k. Both end options have Nt=Na+2N_t=N_a+2; estimated solid height is NtdN_t d for ground ends and (Nt+1)d(N_t+1)d without grinding. These are conventional geometric estimates, not guaranteed manufacturing limits.

Peak shear uses C=D/dC=D/d, KW=(4C−1)/(4C−4)+0.615/CK_W=(4C-1)/(4C-4)+0.615/C and τ=KW8FD/(πd3)\tau=K_W8FD/(\pi d^3). Curvature and direct shear are already included; no second correction is applied. See Chiu et al., attached pp.4–6, Eqs.(10), (24) and (26).

The proportional-load Goodman factor is nf=[τa/Sse+τm/Ssu]−1n_f=[\tau_a/S_{se}+\tau_m/S_{su}]^{-1}, with τa=(τmax⁡−τmin⁡)/2\tau_a=(\tau_{\max}-\tau_{\min})/2 and τm=(τmax⁡+τmin⁡)/2\tau_m=(\tau_{\max}+\tau_{\min})/2. The static factor is ny=Ssy/τmax⁡n_y=S_{sy}/\tau_{\max}. SseS_{se} must be the zero-mean, fully reversed shear intercept after relevant corrections. The Goodman boundary at required factor is τa=Sse(1/nreq−τm/Ssu)\tau_a=S_{se}(1/n_{\rm req}-\tau_m/S_{su}).

For buckling, λ=αL0/D\lambda=\alpha L_0/D, C1=E/[2(E−G)]C_1=E/[2(E-G)] and C2=2π2(E−G)/(2G+E)C_2=2\pi^2(E-G)/(2G+E). When C2/λ2<1C_2/\lambda^2<1, δb=L0C1[1−1−C2/λ2]\delta_b=L_0C_1[1-\sqrt{1-C_2/\lambda^2}]. Otherwise the model predicts no buckling; the unavailable critical deflection is intentionally blank. Ideal restraint factors are 0.5, 0.5\sqrt{0.5}, 1 and 2. Chiu et al., attached pp.4–5, Eq.(13), reproduces this Shigley model. Its printed Eq.(14) has a reversed inequality: the prose specifies C2/λ2>1C_2/\lambda^2>1 for absolute stability, consistent with Eq.(15); that is the criterion implemented here.

For surge, the active-wire mass is ma=ρπ2d2DNa/4m_a=\rho\pi^2d^2DN_a/4. The uniform distributed-spring wave equation gives f1=12k/maf_1=\frac12\sqrt{k/m_a} between fixed/driven plates and 14k/ma\frac14\sqrt{k/m_a} with one end free. Here kk is in N/m. This wave-equation reduction is derived here, consistent with Shigley’s longitudinal-mode treatment; it differs from the lumped spring–mass frequency 1/(2π)k/M1/(2\pi)\sqrt{k/M}. The screen uses f1/fdrive≥20f_1/f_{\rm drive}\ge20.

Reference checks retain published rounding. IGNOU’s uncorrected stress is compared only with the nominal-torsion step. Jönköping’s Bergsträsser stress is not substituted for Wahl stress.

Assumptions

Centered compressive force; cylindrical, constant-pitch active body; circular wire; small helix angle; homogeneous isotropic linear elasticity with 0≤ν<0.4990\le\nu<0.499. Closed ends contribute two inactive turns. No beneficial presetting or residual-stress credit is applied. Strength inputs are user-supplied design data; defaults are an illustrative spring-steel-like scenario, not a material certificate. Use shear properties, not tensile values.

Fatigue assumes repeated loading between the two specified forces, an endurance-limit model and proportional scaling of both loads for the reported factor. It does not calculate cycle life or failure probability. The animation is quasistatic and slowed down independently of the entered operating frequency. Its uniform active-wire color represents the local peak shear at each ideal active section, not stress over the wire cross-section. The wire stroke is exaggerated for legibility; coil centerline geometry follows the selected dimensions.

Where it applies

Use for preliminary sizing of ordinary round-wire compression springs with closed ends. A spring index of 4–12 and helix angle at or below 12° are practical screening recommendations, not hard manufacturing boundaries. Working compression must remain below estimated solid travel. Solid-load and solid-stress results are elastic extrapolations to first full contact, not post-contact predictions; discard the extrapolation beyond yield.

Buckling assumes ideal unguided end restraints, not a guide rod or bore. Initial crookedness, misalignment and friction can cause earlier lateral motion. No post-buckling result is provided. Surge excludes supported masses, damping, contact, end-seat flexibility and variable pitch; the 20:1 screen is not a complete resonance assessment. Static loading can be assessed through the yield result; a nonzero steady mean stress still gives a formal Goodman intercept factor even with zero amplitude.

Supply endurance data corrected for the actual wire size, surface treatment, reliability, temperature and environment. A fatigue factor above the requested value does not certify service life. The tool does not apply EN 13906 fatigue tables, manufacturing tolerances, set-removal rules, thermal relaxation or corrosion allowances.

References

  • R. G. Budynas and J. K. Nisbett, Shigley’s Mechanical Engineering Design, 11th edition (2020), chapter 10, Mechanical Springs; chapter 6, fatigue criteria. Publisher bibliographic link (full text not attached): https://www.mheducation.com.sg/shigley-s-mechanical-engineering-design-11th-edition-si-units-9789813158986-asia-group
  • Jönköping University, Applied Mechanics §9.15, Springs and dampers: derivation of rate, Wahl/Bergsträsser distinction, end coils, worked Example 1. https://mechanics.ju.se/MachineElements/springs.html
  • Formosa Spring, How to Calculate Spring Rate, worked compression-spring example. https://www.formosaspring.com/en/articles/spring-rate-calculation/
  • Formosa Spring, Solid Height of Compression Springs: end-finish estimates and travel allowance. https://www.formosaspring.com/en/articles/solid-height-compression-springs/
  • IGNOU, Unit 13: Springs, Example 13.1, printed pp.165–166, attached pp.5–6. https://egyankosh.ac.in/bitstream/123456789/31842/1/Unit-13.pdf
  • M.-C. Chiu et al. (2016), Numerical Assessment of a One-Mass Spring-Based Electromagnetic Energy Harvester on a Vibrating Object, Archives of Acoustics 41(1), 119–131. https://doi.org/10.1515/aoa-2016-0012 — Eq.(13) buckling, Eq.(24) Wahl, Table 6 published stiffness; Eq.(14) inequality typo noted above.
  • M. Latcha, Oakland University ME4300, Quiz and Exam Resource, Helical springs: surge and modified Goodman relations. https://www.secs.oakland.edu/~latcha/ME4300/ME_4300_Equations.pdf

Inputs

InputSymbolUnitDefault
Wire diameter
Round wire. Use the actual finished wire diameter.
dmm2
Mean coil diameter
Mean diameter = outside diameter − wire diameter.
D_mmm16
Active coils
Exclude two inactive end turns. Fractional turns are allowed.
N_a8
Free lengthL_0mm50
End finish
Both choices have two inactive end turns. Solid height is an estimate.
endsClosed and ground
Minimum axial load
Include assembly preload. Compression loads only.
F_loN15
Maximum axial loadF_hiN60
Cyclic loading frequency
For surge screening. Include relevant forcing harmonics when interpreting the result.
f_driveHz5
Lateral end restraint
Select actual rotational restraint. A ground end alone does not guarantee a seat cannot tilt. Model assumes no guide.
seatParallel seats, no tilt (α = 0.5)
Surge boundary condition
Between plates uses the same longitudinal mode as one fixed end and one driven end. The free-end option has half that frequency. Lateral buckling restraint is selected separately.
surge_endsBetween plates
Shear modulus
Default is a typical spring-steel modulus, not a certified grade.
G_modGPa79.3
Young’s modulusE_modGPa207
Material densityrho_matkg/m^37850
Shear yield strength
Enter material data for the finished wire. Default is an example design input.
S_syMPa900
Ultimate shear strength
Use shear strength, not tensile strength. Default is an example design input.
S_suMPa1340
Reversed shear endurance limit
Goodman ordinate intercept at zero mean stress. Correct for surface finish, peening, size, temperature and reliability; do not enter pulsating stress amplitude directly.
S_seMPa350
Required strength factor
Applied to yield and proportional-load Goodman fatigue checks.
n_req1.5
Compression cycle ▶
Slow visualization of the specified load cycle; this is not a dynamic response simulation.
phasedeg180

Results

With the default inputs above, the calc gives:

ResultValue
Spring rate4.84 N/mm
Maximum working compression12.4 mm
Clearance above solid17.6 mm
Estimated solid height20 mm
Maximum Wahl shear stress361.8 MPa
Working yield factor2.49
Goodman fatigue factor1.8
Lateral stabilityNo buckling predicted
Fundamental surge frequency349.3 Hz
Surge / excitation ratio69.9
Loading frequency at 20:117.5 Hz
Yield factor at solid1.03

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

Formosa music-wire rate example

Source: Formosa Spring, How to Calculate Spring Rate, Worked example: d = 1.0 mm, OD = 8.0 mm (mean D = 7.0 mm), Na = 8, G = 79,300 MPa, published rate ≈3.6 N/mm. https://www.formosaspring.com/en/articles/spring-rate-calculation/

Inputs: Wire diameter = 1 mm; Mean coil diameter = 7 mm; Free length = 20 mm; Minimum axial load = 0 N; Maximum axial load = 10 N; the others as above.

ResultSourceThis calc
Spring rate3.6 ± 0.02 N/mm3.612 N/mm

Jönköping worked example: rate and solid height

Source: Jönköping University, Applied Mechanics §9.15, Example 1, publishes k=4.84 N/mm, solid height 20 mm, travel 30 mm and solid force 145 N. Its 289 MPa service stress uses Bergsträsser; this tool uses Wahl and therefore deliberately does not assert that stress. https://mechanics.ju.se/MachineElements/springs.html

Inputs: Minimum axial load = 0 N; Maximum axial load = 48.4 N; the others as above.

ResultSourceThis calc
Spring rate4.84 ± 0.005 N/mm4.84 N/mm
Estimated solid height20 mm20 mm
Available deflection to solid30 mm30 mm
Linear extrapolated load at solid145 ± 0.5 N145.2 N

IGNOU Example 13.1: axial flexibility and nominal stress

Source: IGNOU Unit 13, Example 13.1, printed pp.165–166 (attached pages 5–6): d=6 mm, mean diameter 80 mm, 10 coils, G=80 GPa and rounded proof force 191 N give 75.5 mm axial motion. The source neglects curvature/direct shear, so its 180 MPa is checked against nominal torsional stress only; Wahl stress remains higher. Free length 220 mm is added solely to accommodate this compression trial. https://egyankosh.ac.in/bitstream/123456789/31842/1/Unit-13.pdf

Inputs: Wire diameter = 6 mm; Mean coil diameter = 80 mm; Active coils = 10; Shear modulus = 80 GPa; Free length = 220 mm; Minimum axial load = 0 N; Maximum axial load = 191 N; the others as above.

ResultSourceThis calc
Maximum working compression75.5 ± 0.1 mm75.457 mm
Nominal torsional stress at maximum load180 ± 0.3 MPa180.1 MPa

Chiu Table 6: published spring stiffness

Source: Chiu et al., Archives of Acoustics 41 (2016), Table 6, printed p.130, 5 Hz row: spring k=65.05289 N/m, wire 0.00092 m, mean diameter 0.0246 m, Na=7. G=11×10^6 psi from Table 1. Rounded geometry gives 65.1733 N/m (0.185% higher), accommodated by 0.2 N/m absolute tolerance. The paper's pitch/free-length entries are not mutually consistent with Eq.(12); they are not used to validate geometry. doi:10.1515/aoa-2016-0012

Inputs: Wire diameter = 0.92 mm; Mean coil diameter = 24.6 mm; Active coils = 7; Free length = 80.85 mm; Minimum axial load = 0 N; Maximum axial load = 0.1 N; Shear modulus = 75.842 GPa; Young’s modulus = 199.9 GPa; Material density = 7,810 kg/m³; the others as above.

ResultSourceThis calc
Spring rate0.06505 ± 2 × 10⁻⁴ N/mm0.06517 N/mm

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...