Shaft Diameter Calculator
Minimum diameter of a rotating shaft under bending and torque by DE-Goodman fatigue with Marin factors, plus yield and static checks, or safety factors for a size.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Shaft Diameter Calculator?
Enter the bending moment and torque at a critical section of a rotating shaft, the notch there (keyseat, shoulder or groove), the steel and a design factor. The shaft diameter calculator finds the smallest diameter that survives infinite-life fatigue by the DE-Goodman criterion in Shigley's Mechanical Engineering Design (Eq. 7-8), the diameter that avoids yielding on the first load cycle, and the two classic static sizes for comparison.
The endurance limit is built from Marin factors: Se' = 0.5·Sut, then surface, size, reliability and temperature factors from the 11th edition of Shigley. The size factor depends on the diameter you are solving for, so the calculator iterates until the diameter stops changing. You can also switch to "Check a diameter" to get the fatigue and yield factors of safety for a size you already have in mind, or type a known endurance limit directly.
The default case is the output shaft of a small gearbox at its gear seat: 51.4 N·m of bending and 144.9 N·m of steady torque, an end-milled keyseat, cold-drawn AISI 1040 and a design factor of 1.5. It needs at least 27.3 mm, so a 30 mm shaft is the next practical size.
- DE-Goodman fatigue diameter with automatic iteration on the size factor
- First-cycle yield check and static Tresca and distortion-energy sizes
- Marin factors from Shigley 11th edition: surface, size, reliability, temperature
- Stress concentration presets for keyseats, shoulders and ring grooves
- Design mode and check mode, metric and US units
- Copy results and share links; nothing leaves your browser
Updated
How to use the Shaft Diameter Calculator
- Choose metric (N·m, MPa, mm) or US (lbf·in, kpsi, in) units and the mode: find the diameter or check one.
- Enter the moments and torques at the section. For a rotating shaft, a steady bending load goes in Ma (alternating) and steady drive torque in Tm (mean).
- Pick the notch at that section to fill in Kf and Kfs, or type your own values once you know the fillet radius and notch sensitivity.
- Pick a cold-drawn steel or enter Sut and Sy, then the surface finish, reliability and temperature factor, or type a known endurance limit Se.
- Enter the design factor (or the diameter, in check mode) and read the minimum diameter, the factors of safety and the Marin factors used.
Worked examples
Gearbox output shaft at the gear keyseat
Input
Ma = 51.4 N·m, Tm = 144.9 N·m, end-mill keyseat (Kf 2.14, Kfs 3.0), AISI 1040 CD (590/490 MPa), machined, 99% reliability, n = 1.5
Output
d = 27.3 mm (fatigue governs); yield needs 23.0 mm; static DE 16.2 mm
Se' = 295 MPa, ka = 0.761, kb = 0.871, ke = 0.814, so Se = 159 MPa after five iterations. A 30 mm shaft gives a fatigue factor of 1.98 and a yield factor of 3.31.
The same shaft without the keyseat
Input
As above with Kf = Kfs = 1
Output
d = 20.0 mm
The keyseat alone adds more than 7 mm to the diameter. Moving a key away from the highest moment, or using a sled-runner keyseat with a lower Kt, is often cheaper than a bigger shaft.
Shigley Example 7-1 in check mode
Input
US units, d = 1.100 in, Ma = 1260 lbf·in, Tm = 1100 lbf·in, Kf 1.58, Kfs 1.39, Sut 105, Sy 82 kpsi, Se = 29.3 kpsi entered
Output
Fatigue n = 1.62, yield n = 4.48
This reproduces the textbook DE-Goodman answer of 1.62. Switch Se to Marin factors (machined, 99%) and the 11th-edition surface factor gives Se = 27.1 kpsi and n = 1.52.
Background and insight
A rotating shaft carrying a steady sideways load, such as a gear or belt pull, sees fully reversed bending: each point on the surface goes from tension to compression and back every revolution. That is why shafts fail by fatigue, almost always at a stress raiser such as a keyseat, shoulder fillet or retaining ring groove, and why static strength formulas undersize them. In the default example, a static distortion-energy calculation suggests 16.2 mm; the fatigue answer is 27.3 mm.
Shigley combines the bending and torsional stresses with the distortion energy (von Mises) theory and then compares the alternating and mean parts with the modified Goodman line. Solving for diameter gives d = {16n/π [√(4(Kf·Ma)² + 3(Kfs·Ta)²)/Se + √(4(Kf·Mm)² + 3(Kfs·Tm)²)/Sut]}^(1/3). Ma and Ta are alternating moment and torque, Mm and Tm the mean values, and Kf and Kfs the fatigue stress concentration factors in bending and torsion. Goodman is conservative compared with Gerber or the ASME elliptic criterion, and it is the usual choice for a first design.
The endurance limit of a polished test specimen, about half the ultimate strength for steels up to 1400 MPa (200 kpsi), is reduced for the real part. The 11th edition of Shigley revised the surface factor constants in Table 6-2: for a machined or cold-drawn surface ka = 3.04·Sut^-0.217 (MPa) instead of the older 4.51·Sut^-0.265. That lowers Se for most machined shafts. Re-running Shigley's Example 7-1 (a 1.100 in shaft, Sut = 105 kpsi) with the new constants gives a DE-Goodman factor of 1.52 instead of the 1.62 printed in the 10th edition.
Common use cases
First sizing of a gearbox or pulley shaft
Turn the bending moment and torque at each shoulder and keyseat into a minimum diameter before drawing the shaft.
Checking an existing shaft
Find the fatigue and yield factors of safety for a shaft whose load has gone up, such as a bigger motor or a tighter belt.
Machine design coursework
Work Shigley and Norton style problems and see each Marin factor, the von Mises stresses and the iteration on kb.
Comparing materials and finishes
See how much a stronger steel, a ground finish or a more generous fillet radius saves in diameter.
Tips and limitations
- Check every section with a stress raiser, not only the one with the largest moment. A sharp shoulder at a smaller moment often governs.
- Use the peak loads for the yield check and the steady running loads for fatigue, and include a service factor for shock.
- Kt from the presets used as Kf is conservative. Once you know the fillet radius, use Kf = 1 + q(Kt − 1) with the notch sensitivity q from the charts in Shigley's chapter 6.
- The endurance limit model is for steel. For aluminium, which has no endurance limit, enter a fatigue strength at your design life as Se.
- Round the answer up to a stock or bearing bore size, then check deflection, bearing slope and critical speed; a strong shaft can still be too flexible.
Sources and further reading
- Shigley's Mechanical Engineering Design, 11th edition, Budynas and Nisbett, McGraw-Hill (record at Missouri S&T). Chapter 6 Marin factors and Chapter 7 shaft equations
- Tables of Material Properties, MechaniCalc. Tensile and yield strengths of common cold-drawn steels
Frequently asked questions
What is the DE-Goodman equation for shaft diameter?
d = {16n/π [√(4(Kf·Ma)² + 3(Kfs·Ta)²)/Se + √(4(Kf·Mm)² + 3(Kfs·Tm)²)/Sut]}^(1/3). It combines bending and torsion by the distortion energy theory and uses the modified Goodman line for fatigue. It is Equation 7-8 in Shigley's Mechanical Engineering Design.
Why is a rotating shaft with a steady load treated as fully reversed bending?
The load direction is fixed but the shaft turns, so each point on the surface passes through tension on one side and compression on the other every revolution. The bending stress is therefore alternating with zero mean, and the moment goes in Ma.
Why does the fatigue diameter come out so much larger than the static one?
The endurance limit of a real machined shaft is roughly a quarter to a third of its ultimate strength once surface, size and reliability factors are applied, and stress concentration at a keyseat or shoulder multiplies the stress by two or more. Static formulas ignore both.
What values of Kf and Kfs should I use for a keyseat?
For a first pass, Shigley's Table 7-1 gives Kt = 2.14 in bending and Kts = 3.0 in torsion for an end-milled keyseat with r/d = 0.02, and Kt = 1.7 in bending for a sled-runner keyseat. Using Kt as Kf is conservative; reduce it with the notch sensitivity once the geometry is known.
Which edition of Shigley do the Marin factors follow?
The 11th edition. Its Table 6-2 surface factor constants differ from the 10th and earlier editions (machined: a = 3.04, b = −0.217 in MPa, against 4.51 and −0.265 before), so results for the same shaft can differ by a few percent from older worked examples.
What design factor should I use for a shaft?
Many designers use about 1.5 to 2 when the loads and material properties are well known, and more where loads are uncertain, failure would be dangerous, or a code or customer specifies a value. The calculator shows the fatigue and yield factors separately so you can see which one limits.
Is there an in-depth guide to the Shaft Diameter Calculator?
Yes. “Shaft and Key Sizing: Torsion, Combined Loads and Keyways” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.