Shaft Design Calculator
Design a shaft for combined bending and torsional loads using the von Mises failure criterion. Calculates minimum diameter and stresses.
About this calculator
A rotating shaft carrying both torque and a bending moment experiences a combination of shear stress (from torsion) and normal stress (from bending) at the same point on its surface, so a simple bending-only or torsion-only formula understates the real stress. This calculator combines Applied Torque (T) and Bending Moment (M) using the von Mises (maximum distortion-energy) failure criterion for ductile shafts -- a standard combined-loading equation from mechanical design references -- to solve directly for the smallest shaft diameter whose stress equals the Allowable Stress (Yield Strength divided by Safety Factor).
Because the calculator solves for that exact minimum diameter rather than checking a margin, Von Mises Stress and Allowable Stress always come out equal (aside from rounding) at the computed Minimum Shaft Diameter -- there is zero built-in margin at that exact size, which is why the standard practice is to round up to the next available stock diameter rather than machining to the calculated minimum exactly. Raising Yield Strength (choosing a stronger material) shrinks the required diameter, while raising Safety Factor grows it, since a higher safety factor lowers the allowable stress the shaft is sized against.
Inputs
Results
Minimum Shaft Diameter
1.44 in
Von Mises Stress
18,000 psi
How to Use This Calculator
- Enter the Applied Torque (T) in in·lb from power transmission — use T = 63,025 × HP / RPM if starting from motor horsepower.
- Enter the Bending Moment (M) in in·lb from transverse loads such as gear separating forces, belt tension, or overhanging weight.
- Enter the material Yield Strength (Sy) in psi: 1018 steel ≈ 36,000 psi, 4140 steel ≈ 60,000 psi.
- Set the Safety Factor: 2.0 for well-defined static loads, 2.5–3.0 for fatigue or shock loading.
- Read the Minimum Shaft Diameter in inches and round up to the next standard size for keyway compatibility.
- Review the Von Mises Stress versus the Allowable Stress to confirm the design margin is adequate.
How the result changes with Yield Strength (Sy)
| Yield Strength (Sy) | Minimum Shaft Diameter | Von Mises Stress |
|---|---|---|
| 18,000 | 1.81 in | 9,000 psi |
| 27,000 | 1.58 in | 13,500 psi |
| 54,000 | 1.26 in | 27,000 psi |
| 90,000 | 1.06 in | 45,000 psi |
What each input means
- Applied Torque (T)
- Torsional load on the shaft from power transmission. T = 63,025 × HP / RPM.
- Bending Moment (M)
- Maximum bending moment from transverse loads such as gear forces, belt tension, or weight.
- Yield Strength (Sy)
- Yield strength of the shaft material. 1018 steel ≈ 36,000 psi; 4140 steel ≈ 60,000 psi; stainless 304 ≈ 31,000 psi.
- Safety Factor
- Design safety factor. Typical: 2.0 for static loads, 2.5-3.0 for fatigue or shock loads.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersApplied Torque (T) = 5000, Bending Moment (M) = 3000, Yield Strength (Sy) = 36000, Safety Factor = 2 = 4 input(s) provided
- Calculate Minimum Shaft DiameterMinimum Shaft Diameter1.439 = 1.439
- Calculate Von Mises StressVon Mises Stress18000 = 18000
- Calculate Shear StressShear Stress8542 = 8542
- Calculate Bending StressBending Stress10251 = 10251
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does Von Mises Stress always come out equal to Allowable Stress?
This calculator solves directly for the SMALLEST diameter that keeps combined bending-and-torsion stress at or below the allowable limit, so by construction the resulting Von Mises Stress lands right at Allowable Stress (aside from rounding) at the computed Minimum Shaft Diameter. That means there is no built-in safety margin remaining at that exact size -- standard practice is to round up to the next available stock diameter rather than machining to the calculated minimum precisely.
Why does a higher-strength material give a smaller shaft diameter?
Allowable Stress is Yield Strength divided by Safety Factor, so a higher-strength material (higher Yield Strength) directly raises the allowable stress the shaft is sized against. Since the required diameter shrinks as allowable stress rises, switching to a stronger alloy at the same Safety Factor lets you use a smaller-diameter shaft for the same combined torque and bending load.
Why does raising the safety factor increase the required diameter?
Safety Factor divides directly into Allowable Stress (Yield Strength divided by Safety Factor), so a higher safety factor lowers the stress the shaft is allowed to reach, which in turn requires a larger cross-section -- and therefore a larger Minimum Shaft Diameter -- to keep actual stress at or below that lower allowable value for the same torque and bending moment.
Why use the von Mises criterion instead of just the torsion or bending formula alone?
A shaft carrying both Applied Torque and Bending Moment experiences shear stress from torsion and normal stress from bending simultaneously at the same surface point, and these combine in a way that a single-load formula doesn't capture. The von Mises (distortion-energy) criterion combines both effects into one equivalent stress, which is the standard approach in mechanical design references for sizing ductile shafts under combined loading.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Keyway Design Calculator
Design shaft keyways by calculating shear and compressive stresses in the key. Determine minimum key length and safety factor.
Mechanical EngineeringGear Ratio Calculator
Calculate gear ratio, output speed, output torque, and mechanical advantage for a simple gear pair.
Structural EngineeringWood Beam Design Calculator
Check bending adequacy of wood beams per NDS ASD: compare actual bending stress against adjusted allowable stress.
Timber FramingTimber Frame Design Calculator
Beam sizing from span, load, and wood species using NDS bending and deflection checks.
Mechanical EngineeringBelt Drive Design Calculator
Design V-belt or flat belt drives. Calculate belt length, speed ratio, belt speed, and tight/slack side tensions for power transmission.
More in Engineering.