# Compression Spring Rate and Stress Calculator

> Source: https://netray.co/tools/compression-spring-rate-and-stress-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Rate, load, Wahl-corrected shear stress and solid-height safety factor for round-wire helical compression springs, with a deflection sweep.

## Category

engineering-plm

## Industry

Springs and Fasteners

## Audience

- Design engineer
- Spring estimator
- Quality engineer

## Tool

**Kind:** calculator

**Inputs:**

#### Wire diameter

**Key:** d

**Type:** number

**Default:** 0.08

**Min:** 0.005

**Max:** 0.75

**Step:** 0.001

**Unit:** in

**Help:** Round wire. Convert from mm by dividing by 25.4.

#### Mean coil diameter

**Key:** dm

**Type:** number

**Default:** 0.72

**Min:** 0.05

**Max:** 8

**Step:** 0.005

**Unit:** in

**Help:** Outside diameter minus one wire diameter.

#### Active coils

**Key:** na

**Type:** number

**Default:** 8

**Min:** 1

**Max:** 60

**Step:** 0.25

**Unit:** coils

**Help:** Coils that deflect. Total coils minus the dead coils at the ends.

#### Inactive (end) coils

**Key:** inactive

**Type:** number

**Default:** 2

**Min:** 0

**Max:** 4

**Step:** 0.5

**Unit:** coils

**Help:** About 2 for closed and ground ends, about 1 or less for open ends.

#### Free length

**Key:** l0

**Type:** number

**Default:** 2

**Min:** 0.1

**Max:** 30

**Step:** 0.05

**Unit:** in

#### Working deflection

**Key:** x

**Type:** number

**Default:** 0.8

**Min:** 0

**Max:** 20

**Step:** 0.05

**Unit:** in

#### Shear modulus G

**Key:** g

**Type:** select

**Default:** 11500000

**Options:**

##### Music wire / hard drawn / oil tempered (11.5 Mpsi)

**Value:** 11500000

##### Chrome silicon / chrome vanadium (11.2 Mpsi)

**Value:** 11200000

##### Stainless 302 / 304 / 316 (10.0 Mpsi)

**Value:** 10000000

##### 17-7 PH stainless (11.0 Mpsi)

**Value:** 11000000

##### Phosphor bronze (6.0 Mpsi)

**Value:** 6000000

**Help:** Typical values; confirm with your wire certificate or supplier data.

#### Wire tensile strength

**Key:** sut

**Type:** number

**Default:** 290000

**Min:** 20000

**Max:** 400000

**Step:** 1000

**Unit:** psi

**Help:** Use the minimum tensile for your wire diameter from the material spec table.

#### Allowable shear at solid

**Key:** pct

**Type:** slider

**Default:** 45

**Min:** 30

**Max:** 80

**Step:** 1

**Unit:** % of tensile

**Help:** About 45% to 50% for static, no set removal; up to 65% to 70% if the spring is preset (scragged).

**Outputs:**

#### Spring index C

**Key:** c

**Expr:** dm / d

**Format:** decimal

**Description:** Mean diameter over wire diameter. Between 4 and 12 is the practical manufacturing range.

#### Spring rate

**Key:** rate

**Expr:** g * pow(d, 4) / (8 * pow(dm, 3) * na)

**Format:** decimal

**Primary:** true

**Description:** k = G d^4 / (8 D^3 Na), lbf per inch.

#### Load at working deflection

**Key:** load

**Expr:** rate * x

**Format:** decimal

**Description:** Force in lbf at the working deflection.

#### Shear stress at working load

**Key:** tau

**Expr:** ((4 * c - 1) / (4 * c - 4) + 0.615 / c) * 8 * load * dm / (pi * pow(d, 3))

**Format:** integer

**Description:** Wahl-corrected torsional stress, psi.

#### Solid height

**Key:** hs

**Expr:** (na + inactive) * d

**Format:** decimal

**Description:** Total coils times wire diameter, inches. Add a few percent for ground-end spring tolerance.

#### Shear stress at solid

**Key:** tau_solid

**Expr:** ((4 * c - 1) / (4 * c - 4) + 0.615 / c) * 8 * rate * (l0 - hs) * dm / (pi * pow(d, 3))

**Format:** integer

**Description:** Stress if the spring is compressed fully solid, psi.

#### Safety factor at solid

**Key:** sf_solid

**Expr:** pct / 100 * sut / tau_solid

**Format:** decimal

**Primary:** true

**Description:** Allowable shear divided by stress at solid. Below 1.0 the spring will take a set when closed solid.

#### Slenderness L0 / Dm

**Key:** slender

**Expr:** l0 / dm

**Format:** decimal

**Description:** Above about 4 the spring needs a guide rod or bore to avoid buckling.

**Chart:**

#### Load and shear stress vs deflection

**Type:** line

**X:** x

**From:** 0.05

**To:** 1.6

**Steps:** 32

**Series:**

- load
- tau

**Disclaimer:** Round-wire helical compression spring, static loading, room temperature. Fatigue life, buckling stability, surge and set removal are not evaluated. Allowables are rules of thumb; confirm against your spring maker and the governing spec.

## Content

**Intro:** This calculator returns spring rate, load, Wahl-corrected shear stress and solid-height safety factor for a round-wire helical compression spring. Enter the wire and coil geometry, pick the material modulus and see in seconds whether the spring survives being closed solid.

**Sections:**

#### How to use it

**Body:** Start with the drawing dimensions: wire diameter, mean diameter (outside diameter minus one wire diameter), active coils and free length. Active coils are total coils minus the dead end coils, so a closed and ground spring with 10 total coils usually has 8 active. Pick the modulus that matches the wire, then enter the tensile strength from the wire table for that diameter. The calculator returns rate, load at the working deflection and the stress at both the working point and solid. Use the chart to see how load and stress climb with deflection and where the working point sits against your allowable.

**Bullets:**

- Use mean diameter, not outside diameter, in every formula.
- Check solid height against the space in the assembly, not just the working length.
- A safety factor under 1.0 at solid means the spring sets if anyone closes it fully.

#### The formulas and where they come from

**Body:** Rate follows k = G d^4 / (8 D^3 Na), the standard helical spring equation found in Shigley's Mechanical Engineering Design and the Spring Manufacturers Institute handbook. Shear stress is tau = Kw x 8 F D / (pi d^3) with the Wahl factor Kw = (4C - 1) / (4C - 4) + 0.615 / C, which corrects for direct shear and wire curvature. Solid height is total coils times wire diameter. Units are inches, pounds-force and psi. Allowable stress is taken as a percentage of minimum tensile strength; typical practice is 45% to 50% for a static spring that has not been preset.

#### Worked example

**Body:** With the defaults (0.080 in music wire, 0.720 in mean diameter, 8 active coils, 2.0 in free length) the index is 9.0, the rate is about 19.7 lbf per inch, and 0.8 in of deflection gives roughly 15.8 lbf and about 66,000 psi of shear stress. Solid height is 0.80 in, so closing the spring solid means 1.2 in of deflection, about 23.7 lbf and 98,600 psi, which is a safety factor near 1.3 against 45% of a 290 ksi tensile. Increase free length to 3.0 in and the safety factor at solid drops below 1.0, which is the classic reason springs take a set in the field.

#### Common mistakes

**Body:** Most spring complaints trace back to a few repeat errors that this tool makes visible before drawings are released.

**Bullets:**

- Counting every coil as active; end coils that touch do not deflect.
- Ignoring the tolerance on wire diameter: stress scales with d cubed and rate with d to the fourth.
- Designing the working point near solid height with no travel allowance.
- Using this static check for a cycling spring, which needs a fatigue check with a Goodman or Zimmerli approach.

**Cta:** If spring quotes and drawing checks live in spreadsheets, we can connect your ERP item and drawing data to a private, read-only assistant that runs these checks when an RFQ arrives.

**Faq:**

#### What is a good spring index for a compression spring?

**Answer:** Most makers prefer a spring index between 6 and 12. Below 4 the wire is hard to coil and residual stress is high. Above 12 the spring tangles easily and is hard to hold to tolerance. This calculator flags the index so you can adjust wire or mean diameter early.

#### What is the Wahl factor and why is it needed?

**Answer:** The Wahl factor corrects the simple torsion formula for two effects: direct shear through the wire and the higher stress on the inside of the coil because of wire curvature. It matters most at low spring index, where the correction can be 20% or more.

#### Why does safety factor at solid matter if the spring never goes solid?

**Answer:** Springs get overtravelled during assembly, shipping and maintenance. If the stress at solid is below the allowable, a spring that is accidentally closed returns to its free length. If not, it takes a permanent set and loses load, which shows up as a field failure.

#### Can I use this for conical, rectangular wire or fatigue duty?

**Answer:** No. This is a static check for constant-diameter round wire. Conical, variable pitch and rectangular wire springs need different formulas, and cyclic duty needs a fatigue analysis against the wire's endurance data and surface condition such as shot peening.

## Search terms

compression spring rate calculator, compression spring stress calculator, spring rate formula, wahl factor calculator, spring solid height calculator, helical spring design calculator, spring index calculator, compression spring load at deflection

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
