ShaftLab shaft design & fatigue
Open the interactive version →

This is a static copy of the chapter for search engines. The interactive version has animated figures, check questions, and buttons that load the example into the calculator.

What makes a shaft different

A shaft is a rotating bar that carries torque from one place to another and, almost always, bending on the way. It is the most ordinary machine element there is — and the one that fails most instructively, because a shaft almost never fails the way a beam does.

keyway ring groove bore fillet radius r sharp corner — do not bearing A bearing B gear total length six steps: bearing seat · shoulder · gear seat · body · gear seat · bearing seat
Everything on a real shaft is there for a reason: shoulders locate the bearings and gears axially, keyways carry the torque, ring grooves hold things in place — and every single one of them is a notch.

Three things at once

A shaft is loaded by torsion (the useful part), bending (the unavoidable consequence of the gears, pulleys and couplings hanging off it) and sometimes an axial force (helical gears, thrust). None of these can be designed in isolation, because they all act at the same cross-section.

It is a fatigue problem

Here is the part people get wrong. A shaft under a constant bending moment does not have a constant stress. As the shaft turns, a given fibre on the surface travels from the tension side to the compression side and back once per revolution. A perfectly steady load therefore produces a fully reversed stress cycle. At 1500 rpm that is 2.16 million cycles a day.

Meanwhile the torque, if it is steady, produces a genuinely steady shear stress. So the typical shaft has a fully reversed bending component and a steady torsional component — which is exactly the loading the design equations in chapter 6 are built for.

And it is a notch problem

Every useful feature on a shaft is a stress raiser: shoulders, keyways, ring grooves, cross holes, press fits. In fatigue, a notch does not just raise the stress locally, it eats into the fatigue strength itself. In practice the question is never "is the shaft strong enough" but "which notch will it break at", and the answer is rarely the section with the biggest bending moment.

💡 ShaftLab evaluates the fatigue safety factor at every cross-section along the shaft, with that section’s own diameter, its own notch factor and its own size factor. The output that matters is the n(x) curve and its minimum — not a single number for the whole shaft.
Example

A gearbox countershaft with two gears, two bearings, two keyways and two retaining-ring grooves. Look at where the safety factor bottoms out — and compare that with where the bending moment peaks.