MECHANICSMachines and MechanismsPhysics Calculator
⚙️

Shaft Design for Torque and Bending

Shaft diameter is determined by shear stress (τ = Tr/J) for torsion and bending stress (σ = Mc/I) for bending. Combined loading uses equivalent torque T_e and equivalent moment M_e. ASME and SAE provide design codes.

Did our AI summary help? Let us know.

Solid shaft: τ_max = 16T/(πd³); J = πd⁴/32. Hollow shaft reduces weight; same J with larger outer diameter. Combined loading: use von Mises or max shear theory. Torsional rigidity: θ = TL/(GJ); stiffer for larger J.

Key quantities
d = (16T/(πτ))^(1/3)
Torsion
Key relation
d = (32M/(πσ))^(1/3)
Bending
Key relation
T_e = √(T² + M²)
Combined
Key relation
J = πd⁴/32 (solid)
Polar J
Key relation

Ready to run the numbers?

Why: Undersized shafts fail by fatigue or yielding; oversized shafts waste material and add weight. Design codes (ASME, SAE) include stress concentration and fatigue factors.

How: Enter torque (or power and speed), bending moment, allowable stresses, and optional K_m, K_t factors. For hollow shafts, specify inner/outer ratio. For rigidity, enter length and max twist angle.

Solid shaft: τ_max = 16T/(πd³); J = πd⁴/32.Hollow shaft reduces weight; same J with larger outer diameter.
Sources:ASMESAE International

Run the calculator when you are ready.

Calculate Shaft DiameterTorque, bending, combined loads, and torsional rigidity

⚡ Motor Shaft

20 kW at 200 RPM, mild steel

🔧 Combined Loading

500 N·m torque, 300 N·m bending

🔩 Hollow Shaft Design

k=0.6, 800 N·m torque

⚠️ Fluctuating Loads

Heavy shock conditions

🚗 Camshaft Design

Torsional rigidity, 0.25°/m max

For educational and informational purposes only. Verify with a qualified professional.

🔬 Physics Facts

⚙️

T = P/ω for power P and angular speed ω.

— ASME

📐

Polar moment J = π(D⁴-d⁴)/32 for hollow shaft.

— SAE

🔧

K_m, K_t account for stress concentration in keyways.

— Engineering Toolbox

💎

G (shear modulus) ≈ 80 GPa for steel.

— MIT OCW

📋 Key Takeaways

  • • Shaft diameter from torsion: d = ∛(16T/(πτ)) for solid shafts—torque and allowable shear stress determine size
  • • Combined loading uses equivalent torque Tₑ = √(T² + M²) or equivalent moment Mₑ for bending and torsion
  • • Hollow shafts save weight; inner/outer ratio affects strength—same outer diameter, hollow has lower weight
  • • Power and speed: T = P/ω converts rotational power to torque for diameter calculation
  • • Safety factors and stress concentration (Kt, Km) must be applied for fluctuating or impact loads

What is Shaft Size Calculation?

Shaft size calculation is a fundamental aspect of machine design that determines the minimum diameter a rotating shaft must have to safely transmit power and withstand applied loads. A shaft is a rotating member designed to transmit torque and rotational motion between machine components like gears, pulleys, sprockets, and couplings. Proper shaft sizing ensures structural integrity, prevents failure, and optimizes material usage.

Key Concepts

  • Torque transmission capability
  • Bending stress resistance
  • Torsional rigidity requirements
  • Fatigue life considerations
  • Critical speed analysis

Design Considerations

  • Solid vs hollow shaft selection
  • Material strength properties
  • Load type classification
  • Standard size availability
  • Safety factor requirements

How Does Shaft Design Work?

Shaft design involves analyzing the stresses acting on the shaft and ensuring they remain within permissible limits. The design process varies based on the primary loading condition - whether the shaft experiences pure torque, pure bending, combined loading, or requires specific torsional rigidity.

1. Torque Analysis

When torque is the primary load, we use the torsion equation relating torque to shear stress and shaft diameter. The formula is derived from the polar moment of inertia of the circular cross-section.

T = (π/16) × τ × d³

2. Bending Analysis

For bending loads from mounted components like gears and pulleys, we use the bending equation. This considers the moment of inertia and distance from the neutral axis.

M = (π/32) × σ × d³

3. Combined Loading

Most real shafts experience combined torque and bending. We calculate equivalent moments using maximum shear stress theory (Guest's) or maximum normal stress theory (Rankine's).

Te = √(M² + T²)

Stress Theories for Combined Loading

Maximum Shear Stress (Guest's Theory)

τmax = ½√(σb² + 4τ²)

Used for ductile materials, provides equivalent twisting moment Te.

Maximum Normal Stress (Rankine's Theory)

σmax = ½(σb + √(σb² + 4τ²))

Used for brittle materials, provides equivalent bending moment Me.

When to Use Different Design Approaches?

The choice of design approach depends on the loading conditions the shaft will experience in service. Different applications require different design considerations.

Design BasisWhen to UseTypical Applications
Torque OnlyPure power transmission with negligible bendingPropeller shafts, short coupling shafts
Bending OnlyNegligible torsional loadsAxles, idler shafts
Combined LoadingSignificant torque and bending presentMachine tool spindles, gearbox shafts
Fluctuating LoadsVariable loads with shocksPunch press, rolling mills
Torsional RigidityMaximum twist angle must be controlledCamshafts, control shafts

Essential Shaft Design Formulas

Solid Shaft - Torque

T = (π/16) × τ × d³

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

Where T = torque, τ = allowable shear stress, d = shaft diameter

Solid Shaft - Bending

M = (π/32) × σb × d³

d = (32M / πσb)^(1/3)

Where M = bending moment, σb = allowable bending stress

Hollow Shaft Factor

T = (π/16) × τ × do³ × (1 - k⁴)

k = di / do

Where do = outer diameter, di = inner diameter, k = diameter ratio

Torsional Rigidity

θ = TL / (GJ)

J = πd⁴/32 (solid)

Where θ = angle of twist, L = length, G = modulus of rigidity, J = polar moment

Combined Shock and Fatigue Factors

For shafts subjected to fluctuating loads, shock and fatigue factors (Km and Kt) are applied to account for dynamic loading effects. These factors increase the equivalent moments used in calculations.

Load TypeKm (Bending)Kt (Torsion)
Gradually applied or steady load1.51.0
Suddenly applied with minor shocks1.5 - 2.01.5 - 2.0
Suddenly applied with heavy shocks2.0 - 3.01.5 - 3.0

Common Shaft Materials

Mild Steel

General purpose, economical

τ allowable: 42 MPa (with keyway)

σ allowable: 84 MPa

G: 80 GPa

Medium Carbon Steel

Higher strength applications

τ allowable: 56 MPa

σ allowable: 112 MPa

G: 80 GPa

Alloy Steel

High performance, critical applications

τ allowable: 84 MPa

σ allowable: 168 MPa

G: 80 GPa

Solid vs Hollow Shaft Comparison

Solid Shaft

  • Simpler manufacturing
  • Lower cost for small diameters
  • Higher torsional strength per unit volume
  • Heavier for same strength
  • More material required

Hollow Shaft

  • Lighter weight (20-40% savings)
  • Better strength-to-weight ratio
  • Can pass coolant/lubricant through
  • More complex manufacturing
  • Higher cost for small quantities
Design Tip:

A hollow shaft with k = 0.6 (inner/outer diameter ratio) can have 44% less weight than a solid shaft while maintaining the same torsional strength. However, larger outer diameter is needed.

ASME Code Guidelines

According to the American Society of Mechanical Engineers (ASME) code for transmission shaft design:

  • 1Maximum permissible shear stress: 56 MPa without keyways
  • 2Maximum permissible shear stress: 42 MPa with keyways
  • 3Reduction of 25% for keyways accounts for stress concentration
  • 4Maximum twist for transmission shafts: 0.25° per meter length

Industrial Applications

Power Transmission

  • Motor shafts
  • Gearbox shafts
  • Line shafts
🚗

Automotive

  • Drive shafts
  • Camshafts
  • Crankshafts
🚢

Marine

  • Propeller shafts
  • Rudder shafts
  • Pump shafts
🏭

Industrial

  • Conveyor drives
  • Mixer shafts
  • Spindles

Frequently Asked Questions

What is the difference between solid and hollow shafts?

Solid shafts are simpler to manufacture but heavier. Hollow shafts offer significant weight savings (20-40%) while maintaining similar strength. The choice depends on weight requirements, manufacturing capabilities, and cost constraints.

How do I account for keyways in shaft design?

Keyways create stress concentrations. ASME recommends reducing allowable shear stress by 25% (from 56 MPa to 42 MPa) when keyways are present. Always verify keyway dimensions meet standard specifications.

What safety factor should I use?

Safety factors depend on application: 2-3 for steady loads, 3-5 for fluctuating loads, and 5-10 for shock loads. Critical applications (aerospace, medical) may require higher factors. Always consult relevant codes and standards.

When should I design for torsional rigidity instead of strength?

Torsional rigidity is critical for precision applications like camshafts, control shafts, and machine tool spindles where angular deflection must be minimized. ASME recommends maximum twist of 0.25° per meter for transmission shafts.

How do fluctuating loads affect shaft design?

Fluctuating loads require shock and fatigue factors (Km and Kt) that increase equivalent moments. These factors account for dynamic loading effects and help prevent fatigue failure. Values range from 1.5-3.0 depending on load severity.

What material properties are most important for shaft design?

Allowable shear stress (τ) and modulus of rigidity (G) are primary considerations. Yield strength determines allowable stress, while G affects torsional stiffness. For fatigue applications, endurance limit is also critical.

Can I use this calculator for non-circular shafts?

This calculator is designed for circular cross-sections. Non-circular shafts (square, rectangular, etc.) require different formulas for polar moment of inertia and stress calculations. Consult specialized references for non-circular sections.

📚 Official Data Sources

ASME (American Society of Mechanical Engineers)

ASME standards for machine design and shaft sizing

Last Updated: 2026-01-15

SAE International

SAE standards for automotive and aerospace shaft design

Last Updated: 2025-12-10

Engineering Toolbox

Engineering reference data and formulas for shaft design

Last Updated: 2025-11-20

MIT OpenCourseWare Mechanical Engineering

MIT mechanical engineering courses including machine design

Last Updated: 2025-10-15

⚠️ Disclaimer: This calculator provides theoretical estimates based on standard shaft design formulas. Actual performance may vary due to manufacturing tolerances, surface finish, stress concentrations, fatigue effects, and environmental conditions. Always verify calculations with finite element analysis (FEA) for critical applications. Consider factors such as keyways, fillets, and surface treatments that affect stress distribution. This tool is for preliminary design and educational purposes only. Professional engineering review is recommended for production designs, especially for safety-critical applications.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators