Shaft Size Interactive Calculator

← Back to Engineering Library

If you don't know the minimum shaft diameter needed for your application, you're asking for trouble: fatigue cracks, excess deflection, or the classic torsional snap—especially where loads cycle or spike, as in most actual machines. The calculator below helps pin down the basics: minimum diameter, how much torque you can safely push, stress at the surface, power limits, twist under load, and when the shaft will try to resonate. Enter key info: power, RPM, shaft material, and your chosen safety factor. Sizing shafts right makes the difference between reliable machines and sudden failures, especially in drive systems or anything running at speed. Practical design equations, an example, and some theory are covered below so you can see the reasoning, not just the answer.

What is shaft sizing?

Shaft sizing is about working out the least diameter your shaft can be to transfer the torque without yielding, cracking from fatigue, or twisting more than you can accept. Get the calculation wrong and the shaft usually fails without much warning.

Simple Explanation

Picture a shaft as a spinning steel bar inside your machine. As it passes on power, it twists—much like wringing a towel. More torque or slower RPM means more twist. Push it too far and the shaft will either crack or snap outright. The job of sizing is to determine how thick that bar needs to be to carry the load with a margin, considering the real limits of your material.

📐 Browse all 1000+ Interactive Calculators

How to Use This Calculator

  1. Pick what you want to solve for: shaft diameter, torque rating, surface stress, power, deflection, or critical speed.
  2. Fill in the main data for your scenario—power, RPM, torque, diameter, shaft length, or density, as prompted.
  3. Choose your shaft material from the dropdown, or enter your own allowable shear stress, shear modulus, and safety factor.
  4. Click Calculate to get your result.

Shaft Loading Diagram

Shaft Size Interactive Calculator Technical Diagram

Shaft Size Interactive Calculator

Engineering calculation notice

This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.

Found a calculation error? Message us

YouTube video player

Shaft Size Interactive Calculator

This tool handles the core numbers for shaft sizing—diameter, torque, and shear limits. Notice how boosting the shaft diameter quickly cuts shear stress, and torque capacity goes up with the cube of diameter.

Power (kW) 50 kW
RPM 1000 RPM
Shaft Diameter (mm) 40 mm
Safety Factor 2.5

TORQUE

477 N·m

SHEAR STRESS

24.0 MPa

MIN DIAMETER

32.1 mm

FIRGELLI Automations — Interactive Engineering Calculators

Design Equations

Use the formula below to calculate torsional shear stress in a circular shaft.

Torsional Shear Stress Equation

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

Where:

  • τ = Maximum shear stress (Pa or MPa)
  • T = Applied torque (N·m)
  • d = Shaft diameter (m or mm)
  • π = 3.14159...

Use the formula below to calculate the minimum shaft diameter from an allowable shear stress.

Minimum Diameter from Allowable Stress

d = ∛[(16 · T) / (π · τallow)]

Where:

  • d = Minimum required diameter (mm)
  • T = Design torque (N·m)
  • τallow = Allowable shear stress accounting for safety factor (MPa)

Use the formula below to calculate torque from power and rotational speed.

Torque from Power and Speed

T = (P · 60) / (2π · n)

Where:

  • T = Torque (N·m)
  • P = Power (W)
  • n = Rotational speed (RPM)

Use the formula below to calculate the torsional deflection angle of a shaft under load.

Torsional Deflection Angle

θ = (T · L) / (G · J)

Where:

  • θ = Angle of twist (radians)
  • T = Applied torque (N·m)
  • L = Shaft length (mm)
  • G = Shear modulus of elasticity (GPa)
  • J = Polar moment of inertia = πd⁴/32 (mm⁴)

Use the formula below to calculate the first-mode critical speed of a simply supported shaft.

Critical Speed (First Mode)

ncritical = (π / L²) · √(E · I / m)

Where:

  • ncritical = Critical angular velocity (rad/s)
  • L = Shaft length between supports (m)
  • E = Young's modulus (Pa)
  • I = Area moment of inertia = πd⁴/64 (m⁴)
  • m = Mass per unit length (kg/m)

Simple Example

A motor delivers 10 kW at 1000 RPM through a mild steel shaft (allowable shear stress 60 MPa, safety factor 2.0).

  • Torque: T = (10,000 × 60) / (2π × 1000) = 95.5 N·m
  • Design stress: 60 / 2.0 = 30 MPa
  • Minimum diameter: d = [(16 × 95.5) / (π × 30)]^(1/3) = 32.1 mm
  • Select standard size: 35 mm

Theory & Practical Applications

Fundamental Mechanics of Torsional Loading

When a shaft sees torque, the shear stress runs zero at the center and ramps up to maximum right at the surface. You work all this out assuming sections stay basically flat as they twist (which is decent for most round shafts longer than 10 diameters). Torsional resistance depends on the polar moment of inertia—which goes up with the fourth power of diameter—so even a small bump in diameter multiplies your torque capacity. Swap 25 mm for 35 mm, and capacity more than doubles even though mass goes up by about half.

The classic τ = Tr/J equation tells a simple story: most of the shaft’s material is wasted in the middle for transmitting torque; the outer surface does all the work. That’s why hollow shafts are common where weight matters. Say you take out the core so the inner diameter is 0.6 times the outer—you keep about 87% of the strength but drop the mass by nearly two thirds. That’s not theory: it's normal in aircraft drive shafts and performance car axles where every bit of weight matters.

Material Selection and Allowable Stress Determination

Picking allowable stress isn’t just about yield. For ductile materials, yield in pure torsion happens at τy = σy/2 (Tresca) or about σy/√3 (von Mises). Designers typically use Tresca for a safety margin. For AISI 4140 at σy = 415 MPa, τy = 207 MPa. With a 2.5 safety factor typical of rotating equipment, τallow = 83 MPa.

But real shafts often fail from fatigue, not yield. The practical torsional endurance limit for machined steel is about 0.29σult, and that drops once you factor in surface finish and size. For example: 4140 at 655 MPa ultimate—after surface and size corrections—lands at a fatigue strength of roughly 121 MPa. If you use a safety factor of 2, you end up with 60 MPa allowable, which is much lower than the static yield number. This is why service failures happen when only static strength was checked and fatigue ignored.

Automotive Driveline Applications

Half-shafts in cars transfer both steady and shock torque to the wheels. For a front-drive car at 180 kW, 5800 RPM, and 3.73 final drive, you’re transmitting 1096 N·m per shaft. Aggressive driving or launches can push that to 1644 N·m with typical overload factors.

With AISI 4140 heat-treated (τallow = 120 MPa and SF 2.5), the formula gives you about 36 mm needed, usually rounded to 38 mm standard. But that’s not the only check. Stiffness matters: too much twist (often over 1° is a warning sign), and the car’s driveline starts vibrating or the CV joint binds. For a 650 mm shaft at this load, an 0.46° twist is safe. Once you approach 1°, start looking for a bigger shaft or alternative geometry.

Industrial Power Transmission

In long line shafts across a plant, it isn’t always strength that gets you but resonance. For a 6 meter shaft at 75 kW, 720 RPM, torque leads you to about 52 mm diameter for mild steel. But mass starts to matter. Run the numbers for critical speed—find it’s only about 208 RPM for that size and length. Running at 720 RPM is asking for resonance and likely failure. Best fix is a much larger shaft or extra bearing blocks to shorten the unsupported length.

Marine Propulsion Shafts

Prop shafts on boats don’t just see torque—they bend under the propeller’s weight and get pounded by cyclic water loads. With 450 kW from a 1800 RPM diesel, and a prop torque including shock at 4774 N·m, stainless steel gets you to 89 mm minimum. Class societies always round you up—so you pick the next size. But ignore the bending moment from the prop weight and you risk local over-stress; check combined stress every time. In the worked example provided, both torsion and bending remain within rough working limits for 95 mm shaft size.

Thermal Effects and Material Degradation

High-speed shafts heat up from bearing losses and internal friction. A 30 mm shaft at 12,000 RPM can build up substantial heat—up to 85 W lost to internal friction, not a trivial number without cooling. As temperature goes up, both yield strength and bearing lubricant life go down, so don’t ignore this for high speed or continuous-duty designs.

Keyway and Coupling Stress Concentrations

Keyways are an unavoidable vulnerability—typical stress concentration factors are between 2 and 2.5 for sharp roots, which can drive local stress above yield. You can help by using larger fillet radii, process-hardened keyways, or with some effort, switch to interference or spline connections that distribute stress more evenly. Field failures trace back to sharp corners or overlooked stress raisers at these locations.

Worked Engineering Example: Servo Motor Coupling Design

In precision tools, like CNCs, accuracy is king and shafts are sized for stiffness, not just strength.

Step 1: Calculate Design Torque
Servo torque can spike several times the nominal. For a 5.2 kW servo at 4750 RPM, that means design with 2.5x nominal torque for a real-world number.

Step 2: Calculate Minimum Diameter from Strength
The strength limit on paper is just over 12 mm diameter for 7075 aluminum in this application.

Step 3: Calculate Required Diameter from Stiffness
But to hold the required tight angular deflection (0.001°), you actually need closer to 18 mm. The stiffness limit rules, not strength, for accurate motion.

Step 4: Select Standard Size and Verify
With 18 mm shaft, deflection and actual stress are both within spec with a huge safety factor on stress—expected for motion control work.

Step 5: Critical Speed Check
Final check: make sure RPM isn’t near resonance. With the geometry given, actual running speed is nowhere near the critical speed, so no vibration danger.

Lesson: For high-precision jobs, stiffness usually drives your shaft size, not strength, which means safety factors on stress can be huge—sometimes over 20 by the numbers. This is completely normal in servo coupling and motion control.

For more calculators on mechanical and motion system engineering, see the engineering calculator library.

Frequently Asked Questions

Q: Why do hollow shafts provide better strength-to-weight ratios than solid shafts?
Q: How does shaft critical speed relate to operating speed limits?
Q: What safety factor should I use for automotive driveshaft design?
Q: How do I account for combined torsion and bending in shaft design?
Q: What causes shaft fatigue failure and how can it be prevented?
Q: When should I use interference fits versus keyways for torque transmission?

Free Engineering Calculators

Explore our complete library of free engineering and physics calculators.

Browse All Calculators →

About the Author

Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Wikipedia · Full Bio

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags: