Picking the wrong spring geometry or material for a load-carrying job often leads to short service life, set, or outright failure, sometimes a lot sooner than you'd expect. This Spring Interactive Calculator lets you check spring rate, deflection, coil stress, natural frequency, and stored energy. You just need to enter the wire diameter, coil diameter, active coils, shear modulus, and applied load. These are the numbers that count in places like car suspension, valve actuation, lab mechanisms, and aerospace hardware—jobs where the force/deflection curve can't be left to guesswork. You'll find the core formulas, a detailed worked example, notes on the Wahl factor and fatigue, and an FAQ below.
What is a spring calculator?
A spring calculator works out how stiff a spring is, how much it moves for a given force, what kind of stress appears in the coil, and how it will react dynamically, all from key dimensions and material specs.
Simple Explanation
A spring is really just a piece of wire wound into a coil that resists force. If you make the wire thicker or the coil diameter smaller, you'll get a stiffer spring. This calculator turns those dimensions into numbers, so you can find out if your chosen spring will do the job—or fail in service.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
Spring Diagram
Spring Interactive Calculator
How to Use This Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
- Pick a calculation mode—spring rate, deflection, force, coil stress, natural frequency, or stored energy—from the dropdown.
- Fill in the relevant fields. Depending on mode, you'll need things like wire diameter, mean diameter, active coils, shear modulus, force, deflection, or mass.
- Double-check your units: mm for dimensions, N for force, kg for mass, MPa for modulus.
- Hit Calculate to get your answer.
Spring Interactive Calculator
You can see how changing the wire diameter, coil diameter, and material type changes the spring rate, stress, and deflection. The animation gives an immediate look at compression and whether you're within typical design margins.
SPRING RATE
7.26 N/mm
DEFLECTION
6.89 mm
SHEAR STRESS
189 MPa
FIRGELLI Automations — Interactive Engineering Calculators
Spring Equations
Here's the formula for spring rate, using the main geometry and the shear modulus.
Compression/Extension Spring Rate
k = Gd4 / 8D3Na
Where:
k = Spring rate (N/mm)
G = Shear modulus of material (MPa)
d = Wire diameter (mm)
D = Mean coil diameter (mm)
Na = Number of active coils
This is how you work out the force for a given deflection, or vice versa.
Spring Force and Deflection
F = kδ
Where:
F = Applied force (N)
δ = Deflection from free length (mm)
Use this version to get shear stress, including the Wahl correction factor for real-world coils.
Shear Stress with Wahl Correction
τ = 8FDKw / πd3
Kw = (4C - 1) / (4C - 4) + 0.615 / C
Where:
τ = Maximum shear stress (MPa)
Kw = Wahl correction factor (dimensionless)
C = Spring index (D/d, dimensionless)
This is the usual formula for the natural frequency of a spring-mass system.
Natural Frequency
fn = 1 / 2π √k/m
Where:
fn = Natural frequency (Hz)
m = Attached mass (kg)
This is how you estimate the energy stored in a spring at deflection.
Elastic Potential Energy
U = ½kδ2 = F2 / 2k
Where:
U = Stored elastic energy (N·mm or J)
Simple Example
Spring rate mode — wire diameter d = 3 mm, mean coil diameter D = 24 mm, active coils Na = 8, shear modulus G = 79,300 MPa (steel):
k = (79,300 × 3⁴) / (8 × 24³ × 8) = (79,300 × 81) / (8 × 13,824 × 8) = 6,423,300 / 884,736 = 7.26 N/mm
Spring index C = 24 / 3 = 8 — within the optimal 4–12 range. Green status.
Theory & Practical Applications
Fundamental Spring Mechanics
Most coil springs (compression or extension) run within the elastic range and follow Hooke’s law until you get close to coil bind or over-stress. The spring rate comes down to wire diameter, coil diameter, number of active coils, and the shear modulus of the material. It's not a linear trade-off: wire diameter is to the fourth power, coil diameter is to the third. So increasing wire diameter even slightly makes the spring dramatically stiffer, while increasing the coil diameter drops the rate quickly. This is why wire diameter tolerances matter and why changing d by a fraction of a millimeter is noticeable in the finished spring.
Shear modulus depends on the material you pick. Typical numbers: 79,300 MPa for music wire, 69,000 MPa for 302/304 stainless, 41,400 MPa for phosphor bronze, 41,000–45,000 MPa for titanium alloys. If you swap steel for phosphor bronze and leave the geometry alone, the spring will be about half as stiff. In hot jobs (over 150°C) the modulus drops, sometimes by more than 10% at 250°C, depending on the alloy.
Spring Index and the Wahl Correction Factor
The spring index, C = D/d, tells you how tight the coil is wound. Keep C between 4 and 12 if you want good stress distribution and straightforward winding. Go below C=4 and the inner edge carries much more stress, which can cause brittle failure and pushes up cost since it needs special winding mandrels. Above C=12, expect handling issues, tangling, and even buckling on compression.
The Wahl factor adjusts simple torsion theory to reality. The actual stress in the wire is higher than simple theory predicts, mostly due to direct shear and the curvature of the coil. You’ll get (4C-1)/(4C-4) from curvature effects, and 0.615/C for direct shear. Skipping this factor means you'll badly underestimate peak stress—springs intended for millions of cycles will often fail after tens of thousands if you ignore it.
Stress Limits and Fatigue Considerations
For springs under static load, it's common to limit stress to 45-60% of the wire’s tensile strength for compression types, slightly less for extension types because the hooks are the weak link. A drawn music wire at 1800-2100 MPa means static limits of 810-1260 MPa. But for springs loaded repeatedly, the max alternating stress is much lower—typically below 140-210 MPa at a million cycles, and depends on surface finish or shot peening. Run a spring beyond these values and you'll get early fatigue failure.
When you "set" a spring past its elastic limit on the first load, the spring loses some free length but can handle higher stress later. Industrial spring shops will sometimes compress springs to solid intentionally (“presetting”) to improve fatigue life, especially for mission-critical or heavy-cycle applications.
Dynamic Behavior and Natural Frequency
Natural frequency calculations assume a simple mass on a spring, but real springs can go into “surge” at high speed—waves travel down the coil, causing parts of the spring to see much higher forces for brief moments. For car or engine valve springs running at high RPM, you want the surge frequency to be well above your max operating frequency, often by a factor of four or five. Not every design hits this with just the basic equations. In lightweight structures or motorsports, damping is low, so when you hit resonance, motion gets amplified hugely unless you tune things out of range or use extra damping. If you've got the opportunity to measure natural frequency directly (say, with a vibration test rig), you can back-calculate spring rate if the mass is known.
Industrial Applications Across Sectors
Car suspensions use springs rated from roughly 18–35 N/mm in family cars up to 150 N/mm in high-performance types. Rally cars tend to have variable-rate springs that start soft and ramp up hard, useful for both comfort over small bumps and to avoid bottoming out. For comparison, a standard car spring at 50 N/mm and 60 mm deflection stores about 90 J of energy—about the kinetic energy in dropping a 25 kg mass from 36 cm.
Microsprings used in instruments or medical gear often run wire diameters under 0.4 mm, and spring rates as low as 0.08 N/mm. In these cases, precision winding and tight diameter control are key—variance as small as 0.01 mm can matter.
In things like industrial valves in power plants or oil & gas, springs may see extreme cold or over 500°C. High-temperature alloys (like Inconel) are common here, but even then, G can drop by almost 20% across their range. Design margins need to swallow that drop, so best practice is to set the spring preload well above expected max force.
Worked Example: Suspension Spring Design for Light Commercial Vehicle
Design Scenario: Design a compression spring for the rear suspension of a light commercial delivery vehicle (payload capacity 850 kg per axle). The spring must support a static load of 4165 N (425 kg quarter-vehicle mass × 9.81 m/s²) with 82 mm deflection from free length, provide 38 mm additional travel before solid height, and survive 500,000 loading cycles with stress levels appropriate for shot-peened chrome-silicon steel wire (ASTM A401).
Part A: Determining Required Spring Rate
The spring rate necessary to support the static load with the specified deflection is:
k = F / δ = 4165 N / 82 mm = 50.79 N/mm
Rounding to standard manufacturing: k = 51 N/mm
Total working deflection (static + dynamic) = 82 + 38 = 120 mm. Maximum force at full compression: Fmax = 51 × 120 = 6120 N.
Part B: Geometric Design for Target Spring Rate
Initial design selection: Chrome-silicon steel wire with G = 77,200 MPa, target spring index C = 7 (optimal for this load class), wire diameter d = 12 mm (common stock size).
From C = D/d, the mean coil diameter is: D = 7 × 12 = 84 mm
Rearranging the spring rate equation to solve for active coils:
Na = Gd⁴ / (8D³k) = (77,200 × 12⁴) / (8 × 84³ × 51)
Na = (77,200 × 20,736) / (8 × 592,704 × 51) = 1,600,819,200 / 241,705,344 = 6.62 coils
Selecting Na = 6.5 active coils (practical for ground ends), the actual spring rate becomes:
kactual = (77,200 × 20,736) / (8 × 592,704 × 6.5) = 1,600,819,200 / 30,845,568 = 51.9 N/mm
This represents a +1.8% deviation from target, which is acceptable within manufacturing tolerance.
Part C: Stress Analysis at Maximum Compression
At maximum compression (120 mm deflection), the applied force is Fmax = 51.9 × 120 = 6228 N.
Wahl correction factor for C = 7:
Kw = (4×7 - 1)/(4×7 - 4) + 0.615/7 = 27/24 + 0.0879 = 1.125 + 0.088 = 1.213
Maximum shear stress:
τmax = (8 × Fmax × D × Kw) / (π × d³) = (8 × 6228 × 84 × 1.213) / (π × 1728)
τmax = 5,075,078 / 5428.67 = 934.8 MPa
Part D: Fatigue Life Assessment
For ASTM A401 chrome-silicon steel with ultimate tensile strength of approximately 1930 MPa (for 12 mm wire), the static stress ratio is:
Stress ratio = 934.8 / 1930 = 0.484 = 48.4% of tensile strength
This falls within the acceptable 45-60% range for static loading. For cyclic loading, calculate stress variation:
At static load (82 mm): τstatic = (8 × 4165 × 84 × 1.213) / (π × 1728) = 625.2 MPa
Stress amplitude: τa = (934.8 - 625.2) / 2 = 154.8 MPa
Mean stress: τm = (934.8 + 625.2) / 2 = 780 MPa
For shot-peened chrome-silicon steel springs, the modified Goodman criterion with a safety factor of 1.3 for 500,000 cycles requires:
τa / τendurance + τm / τtensile ≤ 1 / SF
Using τendurance ≈ 310 MPa for shot-peened springs at 5×10⁵ cycles:
154.8 / 310 + 780 / 1930 = 0.499 + 0.404 = 0.903
Required value: 1 / 1.3 = 0.769
The calculated ratio of 0.903 exceeds the safe limit of 0.769, indicating potential fatigue failure. To address this, we must reduce stress amplitude by either: (1) increasing wire diameter to 13 mm (reduces stress by 26%), (2) increasing spring index to C = 8 (reduces Kw to 1.189), or (3) limiting dynamic travel to 32 mm instead of 38 mm (reduces stress amplitude to 130 MPa, giving ratio 0.419 + 0.404 = 0.823, still marginal). The optimal solution combines increasing d to 13 mm and limiting travel to 35 mm, providing adequate safety margin while maintaining packaging constraints.
Part E: Free Length and Solid Height Calculation
Total coils = Na + 2 (for ground ends) = 6.5 + 2 = 8.5 coils
Solid height = d × Ntotal = 12 × 8.5 = 102 mm
Free length = Solid height + Maximum deflection + Safety clearance = 102 + 120 + 6 = 228 mm
The 6 mm safety clearance prevents solid-height operation under worst-case loading, which would cause stress concentration and potential wire deformation.
Energy Storage and Dynamic Loading
The energy stored in a coil spring can be significant. In the commercial vehicle example above, max compression stores about 374 J in each spring—so four of them could store as much energy as a small vehicle moving at modest speed. In practice, on a hard bump, much of this turns to rebound and then gets managed (or mishandled) by the dampers. The way this energy is moved around strongly affects ride and handling; if the system is overdamped or underdamped, you'll notice in either harshness or poor road contact.
For more spring design tools and mechanical engineering calculations, visit the FIRGELLI Engineering Calculator Hub.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
- Spring Energy Storage Calculator
- Natural Frequency Calculator — Mass-Spring System
- Constant Force Spring Calculator
- Spring Constant Calculator — Hooke's Law
- Spring Rate Calculator
- Hookes Law Calculator
- Joint Friction & Damping Coefficient Calculator
- Trajectory Planner: Trapezoidal Velocity Profile
- Momentum and Impulse Calculator
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Video Walkthrough - How to Use This Calculator
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
