Shaft Analysis Calculator — Fatigue, Deflection & Critical Speed
Governing standard: DIN 743 · Shigley · Roark · Peterson· DIN 743:2012 fatigue and static proof at shoulders, keyways and retaining-ring grooves · combined bending/torsion von Mises · modified Goodman with Marin factors (Shigley 10e) · Peterson Chart 3.11 notch factors · Timoshenko beam FEM for deflection and critical speed
Page last updated
Video walkthrough (4:12)
- 0:00 Strong enough — and still fails?
- 0:17 Why shafts fail: rotating bending
- 0:32 Step 1 — Geometry & material
- 1:01 Step 2 — Supports & bearing stiffness
- 1:21 Step 3 — Loads, speed & torque signs
- 2:01 Step 4 — Goodman, Miner & DIN 743
- 2:37 Step 5 — Deflection & critical speed
- 2:54 Step 6 — Checks: why it fails
- 3:38 The fix
- 3:56 PDF report
Read the transcript
This gearbox shaft is strong enough to carry its load more than three times over. And it still fails.
This is the MechanixCalc shaft calculator: stresses, fatigue, the DIN 743 proof, deflection and critical speed. Let's go through it, field by field.
A rotating shaft bends a little with every turn. One side is stretched, half a turn later it is squeezed — millions of times.
So a shaft rarely breaks from one big load. It breaks from fatigue — and it starts where a notch concentrates the stress.
Step one: geometry. One row per diameter step — length, diameter and material. Four segments of C45, quenched and tempered.
Open a row for its fillet radius and its feature — here a keyway under the gear and under the pulley. A step's fillet belongs to the smaller segment.
The strength is the standard's guaranteed minimum for the bar the shaft is turned from — 370 MPa yield for a 48 mm bar — not a small test-piece value.
Step two: the supports. Fixed bearing at 20 mm, floating at 160 — the gear sits between them, the pulley hangs outside.
Bearing stiffness matters for the critical speed. Enter it from the bearing maker — or leave it blank, and the speed check is also graded on soft bearings.
Step three: the loads. The gear: 6 kN radial and 300 N·m of torque. The pulley: a 3.5 kN belt pull at 90 degrees — so both planes are solved and combined.
Each load can carry its mass — a gear lowers the critical speed. The shaft runs at 1450 rpm.
Torque signs: the gear puts 300 N·m in, the pulley takes it out. Unticked, the tool checks every section for the larger torque on either side — a safe bound, but past the pulley it counts 600.
Tick the box, and the torque is exact: static safety goes from 1.83 to 3.40.
Step four: stresses and fatigue. Modified Goodman works at every section: bending alternates with each turn, the torque is the steady mean — each through its own notch factor.
K_A is the application factor for shocks — 1.25 here. The surface finish sets the endurance limit.
The load spectrum feeds Palmgren–Miner damage. Until you enter your own, it is built from the design loads — and marked ASSUMED. Starts and stops add their own torque cycles.
Then the DIN 743 proof: fatigue and static safety at every shoulder, keyway and plain section, each required to reach 1.2.
Step five: deflection and critical speed. 30 µm against a limit of 467 — and the first critical at 79 000 rpm, far above 1450.
The slope at each bearing is shown too — compare it with the misalignment your bearing allows.
Step six: the checks. Static yield: safety 3.4. Fine.
But modified Goodman: 1.11, against a target of 1.5. FAIL — at the keyway on the 32 mm pulley seat.
Why there? The keyway's notch, the overhung belt pull and the full torque all meet on the smallest diameter.
DIN 743 passes here, at 2.07: it gives the steady torque no notch effect. Goodman puts the keyway's notch on the torque too — so it is the stricter of the two, and the verdict takes the worse.
And what the tool does not check is listed — press-fit seats, splines, hollow shafts, torsional vibration — so silence never reads as a pass.
So how do you fix it? A bigger fillet helps a little — the keyway governs. A bigger diameter does it: a 36 mm pulley seat, with a 42 mm shoulder.
Goodman 1.56 — PASS. Same loads, same material: four millimetres on one seat.
Every input, formula and check goes into a PDF report your reviewer can follow.
That's shaft design, checked end to end. Try it on your own shaft at mechanixcalc.com.
The MechanixCalc shaft analysis calculator sizes and verifies rotating shafts in one pass. Enter a multi-segment stepped geometry, the bending and torsional loads, and the material, and the tool returns the static (von Mises yield) safety factor, the modified-Goodman fatigue safety factor, the bending deflection line, the torsional stress and the first critical (whirling) speed.
It is built for machine-design and drivetrain engineers who need a defensible number for a gearbox shaft, pump or compressor rotor, or any power-transmission shaft — and who need to hand a reviewer a worked calculation with every formula and reference shown, rather than a spreadsheet.
Alongside the classical textbook methods it performs a DIN 743:2012 proof — the safety against fatigue fracture S_D and against permanent deformation S_F, each required to reach 1.2 — at every shoulder, keyway, retaining-ring groove and the weakest plain section of each segment, for steels without a hard surface layer, with every factor shown. It does not check press-fit seats (bearing and hub fits), splines, cross holes, rounded grooves or threads, hollow or surface-hardened shafts — every result says so — and it performs no ANSI/ASME B106 check. The Goodman, static and deflection targets are MechanixCalc defaults for general rotating machinery; only the DIN 743 proof applies a standard's own minimum.
What this calculator does
- Static von Mises yield safety factor at the most-stressed section
- Modified-Goodman fatigue safety factor with a Marin-corrected endurance limit
- Stress-concentration factors (Kt, Kf) for shoulder fillets from the Peterson/Pilkey Chart 3.11 curves, and first-iteration estimates for keyways, grooves and threads
- Timoshenko beam-FEM bending deflection of multi-segment stepped shafts, including overhangs
- Torsional shear stress and angle of twist
- First and second critical (whirling) speeds from a beam-FEM modal solve
- Palmgren–Miner cumulative damage over a user-defined load spectrum
- DIN 743:2012 proof — fatigue safety S_D and static safety S_F at every shoulder, keyway and retaining-ring groove, with K1, K2, K_F, α, n, β, ψ and the permissible amplitude shown per section
- Ten shaft materials — the steels, stainless, aluminium and titanium at their delivery standard's guaranteed minimum for the heat-treated size, the case-hardening steels at DIN 743-3's size-scaled core strength, grey cast iron at a typical value — or, beyond the standard's size table, a certified strength you enter; with Marin surface, size and reliability factors
- Branded PDF engineering report with the full method shown
Method & formulas
Static strength (von Mises)
At every section the tool combines the bending, axial and torsional stresses into the von Mises equivalent stress and reports the yield safety factor against that segment's material yield strength — for the steels, stainless, aluminium and titanium the delivery standard's guaranteed minimum for the diameter the material was heat-treated at (by default the bar it is turned from: its largest diameter plus an assumed machining stock), not a small-bar or typical value; case-hardening steels use DIN 743-3's size-scaled core strength and grey cast iron a typical value. Bending moments are evaluated in Macaulay (singularity-function) form using both bearing reactions, so overhung loads carry their true moment, and the section is checked at every kink in the moment diagram rather than on a fixed grid.
σ_vM = √((σ_b + σ_ax)² + 3·τ²) ; SF = S_y / σ_vMwhere σ_b = bending stress M/W; σ_ax = axial direct stress F/A; τ = torsional shear T/W_t; S_y = yield strength for the heat-treated size (the standard's guaranteed minimum where one exists; beyond the standard's size table, a certified value)
Fatigue safety factor (modified Goodman)
A rotating shaft sees fully reversed bending, so the bending stress is the alternating component and the steady torque supplies the mean. The alternating stress is amplified by the fatigue stress-concentration factor Kf at the governing notch, so a notched shaft is never shown infinite life on its nominal stress alone. Kt comes from the Peterson/Pilkey shoulder-fillet chart as a function of both r/d and the step ratio D/d, and is converted to Kf through the Peterson notch-sensitivity relation.
The endurance limit is the Marin-corrected value: Se = ka·kb·ke·Se′, with the surface factor ka = a·Su^b, the size factor kb from the shaft diameter, and the reliability factor ke = 0.814 at 99%. Se′ = 0.5·Su, capped at 700 MPa for ultimate strengths above 1400 MPa where that correlation stops holding. Wrought aluminium has no endurance limit: for it Se′ is an estimated 5×10⁸-cycle fatigue strength of 0.35·Su, and a result inside the Goodman line means beyond 5×10⁸ cycles, not infinite life. Grey cast iron uses an estimated 0.4·Su.
σ_a / S_e + σ_m / S_u = 1 / SFwhere σ_a = alternating stress Kf·σ_b; σ_m = mean stress √((Kf,ax·σ_ax)² + 3·(Kfs·τ)²) — the steady thrust and torque through their own notch factors (Kf,ax an estimate); S_e = Marin-corrected endurance limit; S_u = ultimate strength; SF = fatigue safety factor
S_e = k_a · k_b · k_e · S_e′ , S_e′ = min(0.5·S_u, 700 MPa) (aluminium: 0.35·S_u at 5×10⁸ cycles; grey iron 0.4·S_u — estimates)where k_a = surface finish; k_b = size; k_e = reliability. The load factor k_c = 1 for bending — torsion already enters through the 3·τ² term of the mean stress.
DIN 743:2012 proof (fatigue S_D and static S_F)
The proof is built on the 2012-12 editions of DIN 743-1, -2 and -3. Part 3 (the material strengths) is now DIN 743-3:2024-07, with an updated material table and strength values, and this implementation has not been checked against it or against the 2014 correction to Part 3.
At every shoulder, keyway, retaining-ring groove and at each segment's weakest plain section, the tool runs the DIN 743 proof on nominal stresses at the notch root, taken from the same bending moment as the rest of the calculation and from the same section torque and axial force as the static check (the thrust may be located at either bearing or by a coupling at either end; torque signs are used only when the user asks for them). The smooth-specimen fatigue strength is reduced to the component's by the technological size factor K1 (from the diameter that governed heat treatment), the geometric size factor K2, the roughness factor K_F and the notch factor β — at a shoulder β = α/n, the form factor over the support factor from the stress gradient; at a keyway or ring groove, DIN 743-2's measured notch factor scaled to the actual diameter. No credit is taken for surface strengthening (K_V = 1).
The mean stress enters through the material's mean-stress sensitivity ψ, in load case 2 (mean and amplitude rise together — the default, and DIN 743's advice when in doubt) or load case 1 (mean held constant), with the yield line taking over beyond each case's limit. An application factor K_A scales every stress to its peak — rotating bending fully reversed at that peak, the torque and axial force fluctuating by (K_A − 1) times their nominal — and sets the peak loads for the static proof. A keyway, ring groove or plain section is proven at every candidate place along its segment (its ends and every load and bearing) and reported where it is weakest, because a feature's exact position along the segment is not an input.
S_D = 1 / √((σ_zda/σ_zdADK + σ_ba/σ_bADK)² + (τ_ta/τ_tADK)²) ≥ 1.2where σ_zda, σ_ba, τ_ta = nominal stress amplitudes (tension, bending, torsion); σ_ADK, τ_ADK = permissible amplitudes of the component, built from K1, K2, K_F, β and ψ for the chosen load case
S_F = 1 / √((σ_zdmax/σ_zdFK + σ_bmax/σ_bFK)² + (τ_tmax/τ_tFK)²) ≥ 1.2where σ_max, τ_max = peak nominal stresses (K_A times the entered loads); σ_FK, τ_FK = component yield limits from K1, the static support factor K2F and the yield increase γ_F at circumferential notches
Deflection (beam FEM)
Deflection is solved with a Timoshenko beam finite-element model of the stepped geometry exactly as entered: exact nodes are placed at every segment boundary, bearing and load, so bearing position is a live input rather than one snapped to a mesh grid, and the answer does not depend on how the shaft happens to be subdivided. Timoshenko elements include shear flexibility, which Euler–Bernoulli omits — negligible for a slender shaft but 26% of the total deflection at L/d = 2.5 and 58% at L/d = 1.25.
Deflection is reported relative to the line through the two bearings — what a dial indicator referenced to the journals would read. Supports are modelled as near-rigid: real bearing compliance is not included and would increase deflection and lower the critical speed.
Φ = 12·E·I / (κ·G·A·L²) ; k = E·I / ((1 + Φ)·L³)where κ = 0.886 (Cowper, solid circular section, ν = 0.3); Φ → 0 recovers the Euler–Bernoulli element exactly
Critical (whirling) speed
The lateral critical speeds are the eigenvalues of the same beam model — det(K − ω²·M) = 0 — with the shear-deformable element's own consistent mass and rotary inertia, at the same shear parameter as its stiffness. Because the mode shapes come from the actual stepped geometry, the second critical speed is computed rather than assumed: for a uniform simply-supported shaft the ratio f₂/f₁ approaches the classical 4, but for a typical stepped spindle with overhangs it is nearer 2.7–3.3.
The mass of a gear, pulley or hub is included only where it is entered at its load station (as a point mass); a station left blank is a BARE station, the result says so, and above 35 % of that bare critical the speed check reads REVIEW until the masses are entered — attached masses can only lower the critical speed.
The analysis is undamped and does not model gyroscopic stiffening, so it is a screening calculation. For a damped, gyroscopic Campbell analysis with bearing stiffness, use the Rotor Dynamics tool.
det(K − ω²·M) = 0 ; n_c = 60·ω₁ / (2π) [rpm]where K = shear-corrected beam stiffness plus support springs; M = the Timoshenko element's consistent mass including rotary inertia (same Φ as K)
Torsion and cumulative damage
Torsional shear stress follows from the transmitted torque and the polar section modulus, with the angle of twist summed per segment from each segment's shear modulus and polar moment. A user-defined load spectrum is assessed with the Palmgren–Miner linear damage rule against a Wöhler line anchored on the endurance limit.
τ = 16·T / (π·d³) ; φ = Σ T·L_i / (G_i·J_i)where T = torque; d = diameter; J = π·d⁴/32; G = shear modulus
Worked example
Find the maximum bending deflection of a 200 mm long, 80 mm diameter steel shaft on bearings at each end, carrying a 20 kN radial load at midspan (L/d = 2.5 — a stubby spindle section where shear matters).
Given
- Span L200 mm
- Diameter d80 mm
- Radial load F20 kN at midspan
- Young's modulus E210 000 MPa
Result
- Bending only (Euler–Bernoulli)7.89 µm
- Total including shear (Timoshenko)10.67 µm
- Second moment of area: I = π·d⁴/64 = π·80⁴/64 = 2 010 619 mm⁴; area A = π·d²/4 = 5026.5 mm².
- Bending deflection (Roark, central point load): δ_b = F·L³/(48·E·I) = 20000·200³/(48·210000·2010619) = 0.007895 mm.
- Shear deflection: δ_s = F·L/(4·κ·G·A) with κ = 0.886 and G = E/2.6 = 80 769 MPa, giving 20000·200/(4·0.886·80769·5026.5) = 0.002780 mm.
- Total: δ = δ_b + δ_s = 0.010675 mm = 10.67 µm.
Shear contributes 26% of the deflection at this L/d — omitting it under-predicts the deflection, which is the unsafe direction for a stiffness check. The calculator includes it automatically and solves the full stepped geometry rather than this single uniform span.
Frequently asked questions
Which methods does this shaft calculator use?
Static strength is the von Mises combination of bending, axial and torsional stress against the yield strength for its heat-treated size — the delivery standard's guaranteed minimum for the steels and alloys (EN 10083 for 42CrMo4 and C45, EN 10025-2 for S275), DIN 743-3's core value for the case-hardening steels, a typical value for grey cast iron — or, beyond the standard's size table, a certified value you enter. Fatigue uses the modified-Goodman criterion with a Marin-corrected endurance limit and Peterson/Pilkey stress-concentration factors (Shigley's Mechanical Engineering Design, 10th ed.). Deflection and critical speed come from a Timoshenko beam finite-element model of your stepped geometry. Separately, a DIN 743:2012 proof (S_D and S_F ≥ 1.2) runs at every shoulder, keyway, retaining-ring groove and plain section. Every formula and reference is printed in the generated PDF report.
Does it perform a DIN 743 check?
Yes, for the notch types it covers. It runs the DIN 743:2012 proof — safety against fatigue fracture S_D and against permanent deformation S_F, each required to reach 1.2 — at every shoulder, keyway, retaining-ring groove and the weakest plain section of each segment, with the standard's size factors K₁ and K₂, roughness factor K_F, notch factors β_σ and β_τ (through the support factor at shoulders, DIN 743-2's measured values at keyways and ring grooves) and the mean-stress sensitivity ψ in load case 1 or 2. Every factor is shown per section and printed in the PDF report. It does not check press-fit seats (bearing and hub fits), splines, cross holes, rounded grooves, threads, hollow or surface-hardened shafts, takes no credit for surface strengthening (K_V = 1), and a section it cannot assess is listed as such — the shaft is then reported as not proven.
Does it account for stress concentration at keyways and shoulders?
Yes. The calculator applies a fatigue stress-concentration factor Kf at each feature — shoulder fillets (from the Peterson/Pilkey Chart 3.11 D/d and r/d curves), keyways, grooves and threads — and folds Kf into the alternating stress before computing the safety factor, so a notched shaft is never reported as infinite-life on its nominal stress. Keyway and groove values are first-iteration estimates from Shigley Table 7-1, and the thread value is Shigley Table 8-16’s cut-thread figure; all three are independent of the actual notch radius, so refine them against the specific geometry before a final design. The separate DIN 743 proof uses the standard's own notch factors instead: the form factor and support factor at shoulders, and DIN 743-2's measured factors at keyways and retaining-ring grooves.
Can it analyse a stepped shaft with several diameters?
Yes — you define each segment (diameter, length, fillet and feature), and the finite-element model places exact nodes at every segment boundary, bearing and load. The result is the same whether you enter one long segment or twenty short ones describing the same shaft, and overhung loads outside the bearing span are handled correctly.
What is the critical speed and why does it matter?
The critical (whirling) speed is the rotational speed at which the shaft resonates in bending. Running at or near it causes large whirl deflections and vibration, so the operating speed should sit comfortably below — or deliberately above — the first critical speed. The calculator reports the first and second critical speeds from an undamped modal solve on near-rigid supports, carrying the gear or pulley masses you enter at the load stations (without them it is the bare shaft, and says so); bearing compliance and gyroscopic effects will shift them, so use the Rotor Dynamics tool for a full damped analysis.
Is the shaft calculator free?
You can use it during a free 30-minute preview with no sign-up, and a free 14-day account trial unlocks every calculator with no credit card. The branded PDF report and saved calculations are included in the free 14-day trial and in every paid plan.
Related calculators
- Bearing Analysis (ISO 281)Carry the shaft reactions into bearing L10 life.
- Rotor DynamicsDamped critical-speed map, gyroscopic effects and Campbell diagram.
- Shaft KeysSize the key for the transmitted torque.
- Shaft CouplingsSelect a coupling for torque and misalignment.
- Fatigue AnalysisDetailed S-N / Goodman life under cyclic loading.
Run the Shaft Analysis on your own numbers
Free 30-minute preview — no sign-up. A free 14-day account trial unlocks every tool and the branded PDF report, no credit card required.
Start freeUsing MechanixCalc at work? See plans & pricing — one subscription unlocks all 50+ calculators, PDF reports and saved projects.