Shaft Analysis Calculator — Fatigue, Deflection & Critical Speed
Governing standard: Shigley · Roark · Peterson· 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
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.
This is an engineering calculation, not a code-compliance check. The methods are the classical textbook ones cited below; the tool does not perform a DIN 743, ANSI/ASME B106 or other shaft-code assessment, and the safety-factor targets it shows are MechanixCalc defaults for general rotating machinery.
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
- 40+ built-in materials with 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. 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
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 Neuber 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.
σ_a / S_e + σ_m / S_u = 1 / SFwhere σ_a = alternating stress Kf·σ_b; σ_m = mean stress √3·τ; 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)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·τ combination.
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 consistent mass including rotary inertia. 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.2.
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 = consistent mass including rotary inertia
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 material yield. 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. Every formula and reference is printed in the generated PDF report.
Does it perform a DIN 743 check?
No. DIN 743 is the German standard for the fatigue strength of axles and shafts, and a DIN 743 proof requires its own endurance values (σ_bW, σ_zdW, τ_tW), the technological and geometric size factors K₁ and K₂, notch factors β_σ and β_τ derived through the support figure, and a minimum safety of S = 1.2. This calculator implements none of those — it uses the classical Shigley/Peterson/Roark methods described above. Use it as an engineering calculation and design review aid, not as evidence of DIN 743 compliance.
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.
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; 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.