Skip to main content
⚙️ Machine Design

Shaft Diameter Calculator

From transmitted power and shaft speed, get the torque and the minimum solid-shaft diameter for your allowable shear stress — plus the next standard size and its resulting stress.

Torque from power
Min diameter
Standard size
Service factor
100% Free
⚙️ Open Full Mechanical Calculator 📖 Read the Guide

Shaft sizing — Quick answer

Turn power into torque, then size the shaft so its torsional shear stress stays under the allowable. Diameter goes as the cube root of torque.

T = 9550 · P(kW) / N(rpm)  [N·m]
d = (16·T / (π·τallow))1/3

Worked example: P = 15 kW, N = 1500 rpm, τ = 40 MPa. T = 9550×15/1500 = 95.5 N·m; d = (16×95500/(π×40))1/323 mm → use 25 mm.

Min diameter vs power (1500 rpm, τ=40 MPa)

PowerTorqueMin d
5 kW31.8 N·m15.9 mm
15 kW95.5 N·m23.0 mm
30 kW191 N·m29.0 mm

Used for: drive shafts, gearbox shafts, pump/fan shafts, couplings, line shafts.

⚙️ Shaft Diameter Calculator

Enter power, speed and allowable shear stress. A service factor multiplies the torque for shock duty.

Design torque
Minimum diameter
Next standard size
Shear at that size

⚠️ Pure-torsion sizing for a solid shaft. Real shafts also see bending and stress concentrations at keyways and shoulders — do a combined-stress fatigue check (e.g. ASME / Soderberg) for critical designs.

A power-transmitting shaft is sized by the twist it carries. First the power and speed are turned into torque — the same power at a lower speed means more torque, which is why slow, heavy machines have fat shafts. Then the shaft diameter is set so the torsional shear stress stays below an allowable value. Because stress depends on diameter cubed, the diameter only grows as the cube root of torque, so shafts are forgiving of load increases but unforgiving of being undersized at a keyway.

Reviewed: June 19, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: classic torsion theory / ASME shaft practice.

The shaft equations

Torque from power
T = 9550 × P(kW) / N(rpm)  [N·m]  (= 60·P / 2πN in SI)
Torsional shear stress
τ = 16·T / (π·d³)
Minimum diameter
d = (16·Kt·T / (π·τallow))1/3

Keep units consistent: with torque in N·mm and stress in MPa (N/mm²), the diameter comes out in millimetres. The service factor Kt scales the mean torque up to a design torque before sizing, covering starting shock and uneven loads. Choosing the next standard shaft size up then leaves a little extra margin, which the calculator reports as the actual stress at that diameter.

Worked example — a 15 kW gearbox input shaft

Scenario: 15 kW at 1500 rpm, keyed steel shaft (τ_allow = 40 MPa), steady duty (Kt = 1).

Torque
T = 9550 × 15 / 1500 = 95.5 N·m = 95,500 N·mm
Diameter
d = (16 × 95,500 / (π × 40))1/3 = (12,160)1/3 ≈ 23.0 mm

The minimum is 23 mm, so the next standard size of 25 mm is selected. At 25 mm the actual shear stress drops to about 31 MPa, leaving comfortable margin below the 40 MPa allowable. If the drive were shock-loaded, applying a service factor of 1.5 would push the design torque to 143 N·m and the minimum diameter to ~26 mm, bumping the choice to a 28 mm shaft.

Frequently Asked Questions

How do you calculate shaft diameter from power?

T = 9550·P/N (kW, rpm → N·m), then d = (16T/(π·τ_allow))^(1/3). Diameter grows as the cube root of torque.

What allowable shear stress for a shaft?

~40 MPa for keyed commercial steel shafting, ~55 MPa without a keyway (classic ASME practice). Alloy steels allow more.

What is the torsion formula?

τ = 16T/(π·d³) for a solid shaft, from τ = T·r/J with J = π·d⁴/32. Assumes pure torsion.

Why add a service/shock factor?

Peak torque exceeds the average during starts and jams. Multiply mean torque by ~1.25–3.0 before sizing to avoid fatigue at keyways.

Should I use a hollow shaft?

Hollow shafts save weight by removing low-stress core material, at higher cost and slightly larger OD. This tool sizes a solid shaft.

Ready to perform complete calculations?

Use the full AI Calculator suite for shaft and machine design with a professional PDF report.

⚙️ Open Full Calculator — Free

No registration required · 350+ engineering calculators · PDF report export