Shaft Diameter Calculator

This shaft diameter calculator finds the minimum diameter a solid shaft needs to carry a given torque without exceeding the allowable shear stress. Enter the torque and the stress and the shaft diameter calculator returns the diameter in millimeters. It applies the standard torsion shaft diameter formula, so you can size a drive shaft for strength before you machine or order it.

N·m
MPa

Results

Enter your values and press Calculate to see results.

The Shaft Diameter Calculator is part of our Machinery collection. Browse more machinery to size, convert, and check your work alongside this tool.

What the shaft diameter calculator does

A rotating shaft twists under torque, and if it is too thin the shear stress inside it exceeds what the material can take and it fails. This shaft diameter calculator finds the smallest safe diameter for a given torque and allowable shear stress. Enter the two values and it returns the minimum diameter, applying the same shaft diameter formula used in machine design, so the shaft size calculation takes one step instead of rearranging the torsion equation.

The shaft diameter formula

For a solid circular shaft in torsion, the shaft diameter formula comes from setting the shear stress equal to its allowable value:

d = (16 × T ÷ (π × τ))^(1/3)

where T is the torque and τ is the allowable shear stress. The shaft diameter calculator converts your torque and stress into consistent units, evaluates the cube root, and returns the diameter in millimeters. Because diameter enters as the cube, torque has a strong effect: doubling the torque raises the required diameter by only about 26%, which is why the shaft size calculation is not linear.

Shaft diameter formula example

A shaft carrying 500 N·m with an allowable shear stress of 40 MPa. The shaft diameter formula gives:

d = (16 × 500 ÷ (π × 40,000,000))^(1/3) ≈ 39.9 mm

So a 40 mm shaft is the minimum, and you would round up to the next standard size. Enter your own torque and stress and the shaft diameter calculator returns the minimum diameter for that drive shaft diameter calculation.

How to use the shaft diameter calculator

Enter the torque the shaft must carry in newton meters and the allowable shear stress of the material in megapascals. The shaft diameter calculator applies the torsion formula and returns the minimum diameter. For a drive shaft diameter calculation, use the peak torque the shaft sees, not the average, and pick an allowable stress well below the material yield for a safety margin. As a shaft diameter torque calculator it links the two directly.

Reading the shaft diameter calculator result

The result is the minimum diameter for strength in pure torsion, so treat it as a floor, not the final size. Round up to the next standard shaft size, and go larger if the shaft also carries bending, if it must limit deflection or vibration, or if there are keyways and steps that concentrate stress. The allowable shear stress you entered already carries a safety factor if you chose it below yield. For a critical drive, the shaft diameter calculator gives the starting point that a full shaft sizing then refines.

When to use the shaft diameter calculator

  • Sizing a solid drive shaft with the shaft diameter formula
  • Finding the minimum shaft diameter for a given torque
  • Doing a quick drive shaft diameter calculation before detailed design
  • Linking torque and size with a shaft diameter torque calculator

Common shaft diameter calculator mistakes

  • Using average torque. Size on the peak torque, or the shaft diameter formula underestimates the minimum shaft diameter.
  • Ignoring bending. This is a torsion-only shaft size calculation; combined loading needs a larger shaft.
  • Forgetting stress raisers. Keyways and steps concentrate stress above the value the calculator assumes.

Tips for accurate results

  • Enter the peak torque, not the average, in the shaft diameter calculator.
  • Choose an allowable shear stress well below yield for a safety margin.
  • Round up and add margin for bending, keyways, and fatigue.

Why the shaft diameter formula uses a cube root

The cube root in the shaft diameter formula is the key to understanding shaft sizing. A shaft resists torsion through its polar section modulus, which grows with the cube of the diameter, so a small increase in diameter gives a large increase in strength. That is why doubling the torque needs only about a 26% larger shaft, and why over-sizing a shaft wastes material and weight for little gain. When you run a shaft size calculation, this relationship tells you that the cheapest way to add torsional strength is a modest diameter increase, not a jump to the next size up, unless other factors like bending or deflection push you there.

Beyond pure torsion in a real drive shaft diameter calculation

The shaft diameter calculator sizes for torsion alone, which is the right first step, but a real shaft rarely sees only twist. Most carry bending loads from gears, pulleys, and their own weight, and those combine with torsion to raise the stress, so a genuine drive shaft diameter calculation checks combined loading and often lands on a larger size. Stress concentrations matter too: a keyway, a shoulder, or a sharp step locally raises the stress far above the average the formula assumes, which is why designers add fillets and derate at those points. Use the minimum shaft diameter here as the strength floor, then add margin for bending, fatigue, and features before you commit to a size.

Shaft diameter formula chart

Minimum solid shaft diameter for common torques at 40 MPa allowable shear stress, from the shaft diameter calculator:

Torque (N·m)Minimum diameterNext standard size
5018.6 mm20 mm
10023.4 mm25 mm
25031.7 mm32 mm
50039.9 mm40 mm
100050.3 mm55 mm

Shaft Diameter Calculator FAQ

What is the shaft diameter formula?

For a solid shaft in torsion the shaft diameter formula is d = (16T / (π·τ))^(1/3), with T the torque and τ the allowable shear stress. The shaft diameter calculator evaluates it directly.

What allowable shear stress should I use?

Use a value well below the material yield, often a third to a half, to build in a safety factor. The shaft diameter calculator returns the minimum diameter for whatever stress you enter.

Does it account for bending?

No, this is a pure-torsion shaft size calculation. If the shaft also bends, size up, since the combined loading needs a larger minimum shaft diameter than torsion alone.

Why does doubling torque barely change the diameter?

Because diameter enters the shaft diameter formula as a cube root, so torque has a weak effect on size. Doubling torque raises the diameter by only about 26%.

Related Calculators