Skip to main content
Calcimator

Shaft Design Calculator

Design a shaft for combined bending and torsional loads using the von Mises failure criterion. Calculates minimum diameter and stresses.

About this calculator

A rotating shaft carrying both torque and a bending moment experiences a combination of shear stress (from torsion) and normal stress (from bending) at the same point on its surface, so a simple bending-only or torsion-only formula understates the real stress. This calculator combines Applied Torque (T) and Bending Moment (M) using the von Mises (maximum distortion-energy) failure criterion for ductile shafts -- a standard combined-loading equation from mechanical design references -- to solve directly for the smallest shaft diameter whose stress equals the Allowable Stress (Yield Strength divided by Safety Factor).

Because the calculator solves for that exact minimum diameter rather than checking a margin, Von Mises Stress and Allowable Stress always come out equal (aside from rounding) at the computed Minimum Shaft Diameter -- there is zero built-in margin at that exact size, which is why the standard practice is to round up to the next available stock diameter rather than machining to the calculated minimum exactly. Raising Yield Strength (choosing a stronger material) shrinks the required diameter, while raising Safety Factor grows it, since a higher safety factor lowers the allowable stress the shaft is sized against.

Inputs

in·lb
in·lb
psi

Results

Minimum Shaft Diameter

1.44 in

Von Mises Stress

18,000 psi

Shear Stress (τ)8,542 psi
Bending Stress (σ)10,251 psi
Allowable Stress18,000 psi
How to Use This Calculator
  1. Enter the Applied Torque (T) in in·lb from power transmission — use T = 63,025 × HP / RPM if starting from motor horsepower.
  2. Enter the Bending Moment (M) in in·lb from transverse loads such as gear separating forces, belt tension, or overhanging weight.
  3. Enter the material Yield Strength (Sy) in psi: 1018 steel ≈ 36,000 psi, 4140 steel ≈ 60,000 psi.
  4. Set the Safety Factor: 2.0 for well-defined static loads, 2.5–3.0 for fatigue or shock loading.
  5. Read the Minimum Shaft Diameter in inches and round up to the next standard size for keyway compatibility.
  6. Review the Von Mises Stress versus the Allowable Stress to confirm the design margin is adequate.

How the result changes with Yield Strength (Sy)

Yield Strength (Sy)Minimum Shaft DiameterVon Mises Stress
18,0001.81 in9,000 psi
27,0001.58 in13,500 psi
54,0001.26 in27,000 psi
90,0001.06 in45,000 psi

What each input means

Applied Torque (T)
Torsional load on the shaft from power transmission. T = 63,025 × HP / RPM.
Bending Moment (M)
Maximum bending moment from transverse loads such as gear forces, belt tension, or weight.
Yield Strength (Sy)
Yield strength of the shaft material. 1018 steel ≈ 36,000 psi; 4140 steel ≈ 60,000 psi; stainless 304 ≈ 31,000 psi.
Safety Factor
Design safety factor. Typical: 2.0 for static loads, 2.5-3.0 for fatigue or shock loads.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Applied Torque (T) = 5000, Bending Moment (M) = 3000, Yield Strength (Sy) = 36000, Safety Factor = 2 = 4 input(s) provided
  2. Calculate Minimum Shaft Diameter
    Minimum Shaft Diameter
    1.439 = 1.439
  3. Calculate Von Mises Stress
    Von Mises Stress
    18000 = 18000
  4. Calculate Shear Stress
    Shear Stress
    8542 = 8542
  5. Calculate Bending Stress
    Bending Stress
    10251 = 10251

Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does Von Mises Stress always come out equal to Allowable Stress?

This calculator solves directly for the SMALLEST diameter that keeps combined bending-and-torsion stress at or below the allowable limit, so by construction the resulting Von Mises Stress lands right at Allowable Stress (aside from rounding) at the computed Minimum Shaft Diameter. That means there is no built-in safety margin remaining at that exact size -- standard practice is to round up to the next available stock diameter rather than machining to the calculated minimum precisely.

Why does a higher-strength material give a smaller shaft diameter?

Allowable Stress is Yield Strength divided by Safety Factor, so a higher-strength material (higher Yield Strength) directly raises the allowable stress the shaft is sized against. Since the required diameter shrinks as allowable stress rises, switching to a stronger alloy at the same Safety Factor lets you use a smaller-diameter shaft for the same combined torque and bending load.

Why does raising the safety factor increase the required diameter?

Safety Factor divides directly into Allowable Stress (Yield Strength divided by Safety Factor), so a higher safety factor lowers the stress the shaft is allowed to reach, which in turn requires a larger cross-section -- and therefore a larger Minimum Shaft Diameter -- to keep actual stress at or below that lower allowable value for the same torque and bending moment.

Why use the von Mises criterion instead of just the torsion or bending formula alone?

A shaft carrying both Applied Torque and Bending Moment experiences shear stress from torsion and normal stress from bending simultaneously at the same surface point, and these combine in a way that a single-load formula doesn't capture. The von Mises (distortion-energy) criterion combines both effects into one equivalent stress, which is the standard approach in mechanical design references for sizing ductile shafts under combined loading.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Engineering.