Shaft Diameter Calculator
Free shaft diameter calculator: size solid and hollow rotating shafts for torque, power, speed and allowable shear stress per ASME B106.1M and ISO standards, with standard preferred diameters.
Shaft Diameter Calculator
Shaft Design Inputs
Transmitted rotational torque
Typically 40–55 MPa for mild steel per ASME code
Typically 1.5–2.0 for steady loads, 3.0+ for shock
79 GPa for steel, 26 GPa for aluminum
Formula
The minimum diameter comes from equating the torsional shear stress at the outer fibre to the allowable value. Hollow shafts substitute the polar moment of inertia of the annular section.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| d | Minimum shaft diameter | mm | Smallest safe outer diameter for the applied torque |
| T | Torque | N·m | Torsional moment transmitted by the shaft |
| τ_allow | Allowable shear stress | MPa | Material shear limit divided by safety factor |
| J | Polar moment of inertia | mm⁴ | Section resistance to torsion |
| k | Hollow ratio | — | Inner-to-outer diameter ratio d_i/d_o |
| P, N | Power & speed | kW, RPM | T = 9550·P/N converts them to torque |
Explanation
Torsion induces a linear shear stress distribution peaking at the surface. Setting τ_max = T·(d/2)/J equal to τ_allow and solving for d gives the classic cubic formula. Preferred Renard-series diameters are then chosen above the minimum.
Derivation
From τ = T·r/J with r = d/2 and J = πd⁴/32: τ = 16T/(πd³). Rearranging τ ≤ τ_allow yields d ≥ (16T/πτ_allow)^(1/3). For hollow sections replace J with π(d_o⁴−d_i⁴)/32.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Establish the design torque from power and speed or direct input.
Select the allowable shear stress for the material and duty.
Solve the torsion formula for the minimum diameter.
Round up to the nearest preferred Renard-series diameter and verify.
Understanding Your Result
What This Means
Your shaft needs at least 25.60 mm to carry the torque within the allowable shear stress. The next standard size, 28 mm, runs at 22.92 MPa — a safety factor of 1.96.
Why It Matters
An undersized shaft shears or twists beyond acceptable angles; an oversized one wastes material, adds bearing load and increases deflection losses elsewhere in the drivetrain.
Professional Interpretation
Section is adequate with reserve capacity — check keyways and shoulders for stress concentration before finalising.
Recommendations
- •Round up to preferred sizes (ISO 3) — custom diameters cost significantly more.
- •Account for keyways: reduce allowable stress ~25% when a keyway is present at the critical section.
- •Check combined bending + torsion with equivalent-moment methods for real driveline geometry.
Educational Content
Introduction
Shafts are the rotating backbone of every machine: they carry torque from motors to gears, pulleys and couplings. Sizing a shaft diameter correctly balances strength, stiffness, weight and cost — and a shaft diameter calculator applies the classical torsion formulas instantly.
Concept Explanation
Applied torque generates shear stress that varies linearly from zero at the centre to a maximum at the outer surface: τ = T·r/J. For a solid circular section J = πd⁴/32, so strength rises steeply with diameter — doubling d multiplies torsional strength by eight and stiffness by sixteen.
Applications
Benefits
- •Instant minimum-diameter answer from the ASME torsion formula
- •Automatic rounding to preferred ISO 3 standard diameters
- •Solid and hollow sections handled with correct section properties
- •Immediate feedback on actual stress, safety factor and angle of twist
- •Unit-aware inputs for torque, power and speed
Limitations
- •Pure torsion only — combined bending requires equivalent-moment methods
- •No keyway, shoulder or hole stress-concentration factors applied automatically
- •Static strength basis; fatigue (Goodman/Soderberg) needs separate analysis
- •Critical-speed and whirling checks are not covered
Best Practices
- •Prefer deeper analysis once a trial size is known — start here, verify with combined-load tools
- •Keep the critical section away from sharp shoulders; use generous fillet radii
- •Reduce allowable stress when keyways or cross-holes interrupt the surface fibres
- •Check twist-sensitive drives (camshafts, indexing) against °/m limits
Common Misconceptions
Practical Tips
- •Start from ASME code allowables: 55 MPa (code shafts) or 40 MPa (commercial) before applying your own factors.
- •If a keyway sits at the critical section, knock ~25% off the allowable stress.
- •Your current safety factor is 1.96 — aim for ≥ 1.5 on static duties.
- •Choose the next Renard size up rather than a non-standard diameter — bearings and hubs will thank you.
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a shaft diameter calculator?
How is shaft diameter calculated?
What is torque in shaft design?
What is allowable shear stress?
What is the polar moment of inertia?
What is the difference between solid and hollow shafts?
What is the torsion formula?
What materials are used for shafts?
What is the ASME shaft design code?
How does speed affect shaft design?
What is keyway stress concentration?
What is angle of twist?
What is shear modulus?
How do I select shaft diameter for combined loading?
What is critical speed of a shaft?
What are preferred shaft diameters?
What is the factor of safety in shaft design?
How do surface finishes affect shaft strength?
What is the effect of size on shaft strength?
What are shaft shoulders and fillets?
How do I design a shaft for fatigue?
What is a stepped shaft?
How do I calculate power transmitted by a shaft?
What is the relationship between diameter and torsional stiffness?
How do bearings support shaft loads?
What is shaft alignment?
How does temperature affect shaft design?
What is the difference between torque and power?
What is a coupling?
How do I select shaft material?
What is the hollow ratio in shaft design?
How does length affect shaft design?
What are stress concentrations in shafts?
What is the maximum allowable angle of twist?
Can I use this calculator for camshaft design?
Related Calculators
Explore more calculators related to this topic.
Next Logical Steps
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
ASME standard for shaft design — allowable stresses and design methodology.
Comprehensive shaft design formulas, torque tables, and reference data.
Free course materials covering shaft design and analysis from MIT.
Machinery Handbook sections on shaft design, keys, and couplings.
Engineering articles and reference guides on shaft design and analysis.
National Institute of Standards and Technology mechanical property data.
Engineering fundamentals reference for shaft torsion and bending analysis.
Standard shaft diameter series and tolerance information.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Torque (T)
- Rotational force applied to a shaft, expressed in newton-metres (Nm). It is computed from power and speed as T = P/ω or T = 9550·P/N.
- Allowable Shear Stress (τ_allow)
- Maximum shear stress a material can safely sustain, typically τ_allow ≈ 0.3·S_y divided by a safety factor per ASME guidelines.
- Polar Moment of Inertia (J)
- Geometric property measuring resistance to torsion. J = πd⁴/32 for solid and J = π(d_o⁴−d_i⁴)/32 for hollow shafts.
- Angle of Twist (θ)
- Rotation of one shaft end relative to the other under torque, θ = T·L/(G·J). Expressed in degrees per metre for design checks.
- Hollow Ratio (d_i/d_o)
- Inner-to-outer diameter ratio of a hollow shaft. Zero is a solid shaft; common values are 0.5–0.7 for weight savings.
- Keyway
- Longitudinal slot cut into a shaft to locate a key that transmits torque to a hub; it creates a stress concentration that lowers fatigue strength.
- Critical Speed
- Rotational speed at which a shaft resonates with its natural frequency, causing dynamic instability. Operate at least 20% below it.
- Factor of Safety (FOS)
- Ratio of allowable stress to actual stress (or material strength to demand). Typical values: 1.5–2.0 general, >3.0 for shock loads.
- Shaft
- A rotating machine element used to transmit power and torque between components such as gears, pulleys, and couplings.
- Torsion
- The twisting action produced by an applied torque, generating shear stress that increases linearly from the centre to the outer surface.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
August 2026
2.1.0
Free to use for educational and professional purposes.