Shafts · Stress and torsional-stiffness sizing

Shaft Diameter Calculator — Torsional Stress / Twist

Mechanical Engineering Calculators for sizing solid or hollow circular shaft diameter from torque, allowable nominal shear stress, allowable twist, length, shear modulus, and d/D ratio.

Reference calculator #021

Enter torsional sizing limits and shaft data

Inputs stay in your browser. Values are normalized to canonical units before calculation.

Choose a solid shaft or solve a hollow shaft at a fixed d/D ratio.

This value is ignored for a solid shaft; use k = 0 for a clean shareable state.

Enter the design torque magnitude established for the evaluated load case.

Enter a verified nominal-stress limit that already reflects the governing material data, design method, and factors. The default is illustrative.

Enter the length over which the total allowable elastic twist applies.

Verify G for the actual material condition and temperature. The default is illustrative, not a material selection.

Enter the user-established maximum elastic twist over L. The default 1° is illustrative, not universal.

Display solved stress-based, twist-based, outer, and inner diameters in the selected unit.

Calculated output

Results

shaft-diameter-torsion-sizing/1.0.0
Required continuous outer diameter D_required43.798061 mm
Governing torsional sizing constraint
Allowable angle-of-twist limit
Outer diameter required by shear stress
34.881591 mm
Outer diameter required by angle of twist
43.798061 mm
Corresponding inner diameter d_required
0 mm
Nominal stress at continuous required diameter
30.309268 MPa
Twist at continuous required diameter
1 °
Allowable nominal stress utilization
50.52%
Allowable twist utilization
100%
Polar moment at continuous required diameter
361259.644 mm⁴
Effective inner-to-outer diameter ratio
0%

Valid continuous theoretical circular-shaft diameter result

Circular shaft diameter sizing comparisonA solid or hollow circular cross-section beside bars comparing the theoretical outer diameters required by nominal shear stress and elastic angle of twist.D_required = 43.798061 mmd_required = 0 mmSolid circular shaftTContinuous diameter comparisonNominal shear-stress requirementD_stress = 34.881591 mmτ_allow = 60 MPaElastic angle-of-twist requirementD_twist = 43.798061 mmθ_allow = 1 °Governing: Allowable angle-of-twist limitStress utilization: 50.52%Twist utilization: 100%
The larger theoretical diameter governs. Round upward to a suitable available or manufactured size, then verify the actual geometry and all omitted load cases.
Scope and assumptions
  • The result is a continuous theoretical minimum diameter; select a larger available or manufactured diameter and verify that candidate separately.
  • The user-established allowable nominal shear stress already includes the governing material data, design method, safety factors, load factors, and application requirements.
  • The user-established allowable total angle of twist applies over the entered uniform shaft length.
  • The hollow-shaft calculation holds the entered concentric inner-to-outer diameter ratio k = d/D constant while solving outer diameter.
  • The shaft is straight, prismatic, circular, homogeneous, isotropic, and linear elastic under constant torque magnitude.
  • Keyways, splines, shoulders, holes, grooves, fatigue, yielding, combined loading, dynamics, critical speed, local stability, tolerances, and manufacturing acceptance are excluded.

Calculation engine: shaft-diameter-torsion-sizing/1.0.0

Diameter equations for stress and twist

For a concentric hollow circular shaft with fixed diameter ratio k = d/D:

D_stress = [16T / (πτ_allow(1 − k⁴))]^(1/3)
D_twist = [32TL / (πGθ_allow(1 − k⁴))]^(1/4)

The calculator selects:

D_required = max(D_stress, D_twist)     d_required = kD_required

Use k = 0 for a solid shaft. Both equations come from the same linear-elastic circular-shaft relationships used by the Shaft Torsional Stress / Angle of Twist Calculator.

Symbol Meaning Canonical calculation unit
T Design torque magnitude N·m
τ_allow User-established allowable nominal shear stress Pa
L Uniform shaft length m inside the formula
G Verified shear modulus Pa
θ_allow User-established allowable total elastic twist rad
k Fixed inner-to-outer diameter ratio dimensionless
D_required Larger continuous theoretical outer diameter mm

Worked solid-shaft example

Use the default inputs: T = 500 N·m, τ_allow = 60 MPa, L = 1,000 mm, an illustrative entered G = 79.3 GPa, θ_allow = 1°, and k = 0.

  1. Stress sizing gives D_stress = 34.881591 mm.
  2. Twist sizing gives D_twist = 43.798061 mm.
  3. The angle-of-twist limit governs, so D_required = 43.798061 mm.
  4. A forward calculation at that continuous diameter gives τ = 30.309268 MPa and θ = 1°.
  5. Stress utilization is 50.52%; twist utilization is 100% at the unrounded theoretical diameter.

The example does not recommend 60 MPa, , or 79.3 GPa for a particular shaft. Replace all three with verified project values.

Select allowable values before using the result

This calculator does not derive an allowable stress from yield strength, ultimate strength, hardness, or a material name. The entered τ_allow must already reflect the governing design approach, load factors, safety factors, stress concentration treatment, fatigue basis, reliability requirement, environment, and company or code rules.

Likewise, θ_allow is a functional requirement. Couplings, gears, encoders, seals, controls, alignment, backlash, and torsional dynamics may impose a much tighter limit than material strength. Enter the total allowable twist over the same length L used by the calculator.

Hollow-shaft ratio behavior

For a hollow shaft, the calculator holds k = d/D constant. Both diameter equations include 1 − k⁴, but the stress diameter uses a cube root while the twist diameter uses a fourth root. The result is exact for the ideal concentric circular tube model; it is not a thin-wall approximation.

The calculation does not check wall-thickness tolerances, ovality, local instability, machining access, joining, surface defects, or whether the solved inner and outer diameters form a practical tube or bored shaft.

Round upward and verify the actual shaft

D_required is not a preferred stock diameter, finished size, minimum material condition, or drawing dimension. Select a larger candidate consistent with procurement and manufacturing constraints. For a hollow shaft, define an actual D and d rather than assuming the exact ratio will be preserved after rounding.

The related link transfers the continuous result to Calculator #020. Replace the transferred diameters with the actual candidate before relying on its nominal stress and twist outputs.

Engineering scope and limitations

This calculator covers a straight, uniform, solid or concentric hollow circular shaft in linear-elastic Saint-Venant torsion under constant torque magnitude. It excludes:

  • derivation or approval of allowable stress, allowable twist, material properties, load factors, or safety factors;
  • keyways, splines, cross-holes, shoulders, grooves, threads, fillets, welds, fits, notches, and other stress concentrations;
  • fatigue, variable amplitude, mean stress, shock, reversal, impact, yielding, plastic torsion, fracture, wear, and surface condition;
  • combined bending, axial force, transverse load, thermal load, gear and belt reactions, bearing span, or deflection;
  • critical speed, lateral whirl, torsional vibration, resonance, damping, transient response, coupling stiffness, and system compliance;
  • local tube stability, tolerances, minimum wall, corrosion allowance, machining, heat treatment, inspection, stock availability, cost, certification, and final engineering approval.

Use the governing shaft-design standard or company method, verified project data, and qualified engineering review before releasing a drawing or selecting a safety-critical shaft.

Frequently asked questions

How does the calculator choose the required shaft diameter?

It independently calculates the outer diameter required by the entered allowable nominal shear stress and by the entered allowable total angle of twist. The larger continuous diameter governs.

What does d/D mean for a hollow shaft?

The ratio k = d/D fixes the concentric inner diameter as a fraction of the solved outer diameter. The calculator holds that ratio constant while solving both stress and twist constraints.

Does the calculator choose an allowable shear stress?

No. Enter a verified nominal-stress limit derived from the governing material data, load case, design method, stress concentrations, safety factors, and application requirements.

Why can the twist requirement produce a larger diameter than the stress requirement?

Nominal stress for a solid shaft varies with D cubed, while elastic twist varies with D to the fourth power and also depends on length and shear modulus. A stiffness-sensitive system can therefore require a larger shaft even when stress is below its limit.

Should I manufacture the exact calculated diameter?

No. Treat it as a continuous theoretical minimum. Select or manufacture a suitably larger candidate, account for tolerances and features, then verify nominal stress, twist, fatigue, combined loads, dynamics, and the governing design method.

References and review status

Reviewed . References support circular-shaft elastic torsion, stiffness-based sizing, and unit conversion; they do not establish allowable stress, allowable twist, material suitability, or shaft approval.