Skip to main content
engineering

Shaft Design Calculator

Design solid and hollow shafts under combined bending and torsion using ASME distortion energy criteria

Reviewed by Christopher FloiedUpdated

This free online shaft design calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.

Shaft Design Calculator

Design solid or hollow shafts under combined bending and torsion using the ASME distortion energy criterion.

Formula (ASME)

d³ = (16/π·τ_allow) · √(M² + T²)  (solid)
d_o³ = (16/π·τ_allow) · √(M²+T²) / (1−c⁴)  (hollow, c=d_i/d_o)
τ_allow ≈ 0.4·S_y (ASME) or 0.3·S_ut

Typically 0.3–0.4 × S_y

Minimum Required Diameter

Solid Shaft d_min

36.35 mm

Stress Check at d = 50.0 mm

Shear Stress τ_actual

32.59 MPa

Von Mises σ_VM

69.62 MPa

Factor of Safety (τ)

3.068

Combined Load

√(M²+T²) = √(500²+800²) = 943.40 N·m

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Shaft Design Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Shaft Design Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Shaft Design Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Shaft Design Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
  • Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
  • Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
  • Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
  • Use it in the field when a quick estimate is needed and a full engineering software package is not available.

About This Calculator

The Shaft Design Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Design solid and hollow shafts under combined bending and torsion using ASME distortion energy criteria All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.

The Theory Behind It

Shaft design involves sizing a rotating shaft under combined loading of bending and torsion to prevent fatigue failure. The ASME code for shaft design uses the formula d³ = (16/π·σ_all) × √[(K_b·M)² + (K_t·T)²], where d is shaft diameter, σ_all is the allowable shear stress, M is the bending moment, T is the torque, and K_b, K_t are shock and fatigue factors (typically 1.5-2.0 for rotating shafts under varying loads). The maximum shear stress criterion combines bending and torsion into an equivalent loading, and the diameter is sized to keep this stress below the fatigue allowable. Standard shaft sizes are selected from available stock to simplify procurement. For hollow shafts with outer diameter D_o and inner diameter D_i, the polar moment of inertia is J = π(D_o⁴ − D_i⁴)/32, and the bending moment of inertia is I = π(D_o⁴ − D_i⁴)/64. Hollow shafts are more efficient per unit mass but more expensive to manufacture. Common design constraints include: deflection limit (typically L/1000 to L/500 of the span), critical speed (operating below 75% of first natural frequency), bearing loads, and end-fitting geometry. The calculator supports solid and hollow shafts with combined bending and torsion loading.

Real-World Applications

  • Power transmission shafts in gearboxes, motors, pumps, and compressors under combined torque and bending from attached gears or couplings.
  • Automotive drivetrain: axles, driveshafts, and transmission shafts transmit engine torque to wheels while supporting gear reactions and bending from suspension loads.
  • Wind turbine main shaft: carries large torque from rotor blades to gearbox while supporting bending loads from rotor weight and aerodynamic forces.
  • Machine tool spindles: require high stiffness to prevent deflection during cutting operations, with fatigue life considerations for continuous service.
  • Pump impeller shafts: short shafts with concentrated loads at impeller end, often cantilevered with bearings at the dry end only.

Frequently Asked Questions

What's the formula for shaft diameter under combined loading?

ASME formula: d³ = (16/(π·τ_all)) × √((K_b·M)² + (K_t·T)²), where τ_all is allowable shear stress, M is bending moment, T is torque, and K_b, K_t are shock/fatigue factors (1.5-2.0 for typical applications). Solve for d to get the minimum diameter required.

What allowable stress should I use?

For ASME code, use 0.3 × S_y or 0.18 × S_u (tensile), whichever is smaller, for unkeyed shafts. For keyed shafts, reduce these values by 25% to account for the stress concentration at the keyway. Typical: carbon steel shaft with S_y = 400 MPa gives allowable shear of about 120 MPa.

Solid or hollow shaft?

Hollow shafts have better stiffness-to-weight ratio — an hollow shaft with D_o/D_i = 2 has only 25% less torsional stiffness than a solid shaft of diameter D_o, but 75% less mass. Hollow shafts are standard for aerospace and automotive applications where weight matters. Solid shafts are simpler to manufacture and are standard in industrial machinery where weight is not critical.

Why include fatigue factors?

Rotating shafts experience alternating stress as the shaft rotates under a fixed bending load — the outer fibers see +σ and −σ each revolution. This cyclic loading causes fatigue failure at stresses much lower than static yield. Fatigue factors K_b and K_t increase the design loads to account for this reduction in allowable stress. Typical values are 1.5-2.0 for smooth shafts, 2.5-3.5 for shafts with keyways or grooves.

What about deflection limits?

Beyond strength, shafts must meet deflection criteria to prevent binding in bearings or misalignment at couplings. Typical limits: 0.5° slope at bearings, L/500 to L/1000 lateral deflection. Check using beam deflection formulas after sizing for strength, and increase diameter if deflection governs.

Related Calculators

References & Further Reading