Shaft Size Calculator
Table of contents
Considerations when calculating shaft designCalculating shaft diameter for torque onlyCalculating shaft design for bending moment onlyCalculating shaft design for combined twisting and bending momentCalculating shaft size for fluctuating torsion and bending momentsCalculating minimum shaft diameter for torsional rigidityUsing this shaft size calculatorFAQsWelcome to our shaft size calculator, your onestop site for designing a shaft ideal for your requirements. When designing a shaft, we start with calculating the minimum diameter the shaft must have to withstand various loads. Whether you wish to calculate the diameter of a hollow shaft or a solid shaft, our calculator can assist you.
You would be forgiven for being confused with the shaft design process, for there is much to consider. Fret not — in the article below, we shall discuss the essential fundamentals of calculating shaft design for various loads.
Considerations when calculating shaft design
A shaft is a rotating member that transmits power between two parts through a twisting moment or torque. Machine parts such as gears or pulleys can be mounted onto the shaft to transmit power from or to the shaft.
Most shafts are of circular crosssection. Hence, calculating shaft size or designing a shaft entails the calculation of shaft diameter. While designing a shaft, one has to ensure that the stresses acting on the shaft are within the permissible limits. The stresses one needs to consider for shaft design are:

Shear stress while carrying torque (torsion load).

Bending stress due to members like gears and pulleys, along with the shaft's weight.

Stresses developed due to combined torsional and bending loads.
So we must consider the types of load the shaft will undergo before calculating shaft size. We can base the shaft design on any one of the following:

Shaft transmitting torque only.

Shaft under bending moment only.

Shaft subjected to a combination of twisting and bending moments.

Shaft under fluctuating twisting and bending moments.

Shaft with a desired torsional rigidity.
In the following sections, we shall discuss the shaft design process for each case listed above one by one.
Calculating shaft diameter for torque only
Some shafts are designed for carrying torque alone from one place to another. Any effect from other loads is negligible. Calculation of propeller shaft size could fall into this category.
In such cases, we can use the torsion equation to calculate the shaft size:
where:

$T$ — Twisting moment acting on the shaft;

$J$ — Polar moment of inertia about the shaft's rotational axis;

$\tau$ — Torsional shear stress; and

$r$ — Distance from the neutral axis to the outermost fiber, equal to the shaft radius for circular crosssection.
where $d$ is the diameter of the shaft.
The polar moment of inertia $J$ for a solid circular shaft is given by:
🔎 Are you curious why this is the case? Head to our polar moment of inertia calculator.
Substituting (2) and (3) in (1), we get:
Thus, we can calculate the shaft diameter from the torque it carries and the allowable shear stress.
🙋 Remember that we just calculated the minimum shaft diameter. You can find a standardsized shaft with a diameter greater than this value.
Let's now calculate the diameter of a hollow shaft. The polar moment of inertia for a hollow shaft is given by:
where:

$d_o$ — Outer diameter of the hollow shaft; and

$d_i$ — Inner diameter of the hollow shaft.
Similarly, $r$ is given by:
Substituting (5) and (6) in (1), we arrive at:
Introducing $k = d_i / d_o$, the ratio of inner to the outer diameter, we can simplify this to:
So, in addition to torque and the allowable shear stress, we need to know $k$, the ratio between inner and outer diameter.
🙋 You can also calculate a shaft's diameter from the power it transmits. This is possible due to the relation between torque and power, given by $P = 2 \pi NT / 60$. To learn more about this torquepower conversion, visit our torque to hp calculator.
Calculating shaft design for bending moment only
Shafts are rarely designed to handle bending moment only but say you are designing a shaft with negligible torsional loads. In such cases, the allowable stress in the shaft is given by the bending equation:
where:

$M$ — Bending moment acting on the shaft;

$I$ — Moment of inertia of the shaft's crosssection;

$\sigma_b$ — Bending stress acting on the shaft; and

$y$ — Distance from the neutral axis to the outermost fiber.
For a circular crosssection solid shaft, the moment of inertia would be:
🔎 Learn more with our moment of inertia calculator.
And $y$ would be:
Substituting (10) and (11) in (9), we get the formula to calculate shaft diameter:
Now let's calculate the diameter of a hollow shaft. The moment of inertia would be:
And $y$ would be:
Substituting (13) and (14) in (9) and using $k = d_i / d_o$, we arrive at:
Calculating shaft design for combined twisting and bending moment
When a combination of twisting and bending moments are acting on a shaft, the combined stresses must be accounted for. Two important theories for calculating these combined stresses are:
 Maximum shear stress theory (or Guest's theory) states that the maximum shear stress $\tau_{\rm max}$ in the shaft is given by:
 Maximum normal stress theory (or Rankine's theory) states that the maximum normal stress $\sigma_{\rm b(max)}$ in the shaft is given by:
Let's start with a solid shaft. Rewriting equation (4), we get:
Similarly, rewriting equation (12), we get:
Using (18) and (19) in (16), we get:
We call the expression $\sqrt{M^2 + T^2}$ the equivalent twisting moment $T_e$ in the shaft.
Let's give a similar consideration to the maximum normal stress theory. Using (18) and (19) in (17), we get:
The expression $\frac{1}{2}\left[ M + \sqrt{M^2 + T^2} \right]$ is called the equivalent bending moment $M_e$. Rearranging the above equation:
🙋 We will get two diameter values — one from equation (20) for $T_e$ and one from equation (21) for $M_e$. We must pick whichever value is larger among the two for shaft design so that the shaft can withstand the combined stresses.
For a hollow shaft, the equivalent twisting moment is given by:
Similarly, the equivalent bending moment is given by:
Again, we will obtain two outer diameter values from equations (22) and (23). We must pick whichever value is larger for our shaft design calculation.
Calculating shaft size for fluctuating torsion and bending moments
In realworld scenarios, shafts are subjected to fluctuating torque and bending moments, not constant loads. In such cases, we must account for the combined shock and fatigue factors when calculating twisting and bending moments.
The equivalent twisting moment would be:
where:
 $K_m$ — Combined shock and fatigue factor for bending; and
 $K_t$ — Combined shock and fatigue factor for torsion.
Similarly, the equivalent bending moment is given by (25):
We then use this equivalent twisting and bending moment to find the diameter value:
The recommended values for $K_m$ and $K_t$ are listed in the table below.
Load type  $K_m$  $K_t$ 

Gradually applied or steady load  1.5  1.0 
Suddenly applied load with minor shocks  1.52.0  1.52.0 
Suddenly applied load with heavy shocks  2.03.0  1.53.0 
Calculating minimum shaft diameter for torsional rigidity
Shafts, like the camshaft of an IC engine, require a maximum amount of twist angle not to be exceeded during operation. In such cases, we design the shaft to meet desired torsional rigidity.
The torsion equation gives us the following:
where:

$G$ — Modulus of rigidity of the shaft;

$\theta$ — Maximum permissible angle of twist in the shaft; and

$L$ — Shaft length.
For a solid circular shaft, using the polar moment of inertia described in (4), we get:
For a hollow circular shaft, using the polar moment of inertia described in (5), we get:
Using this shaft size calculator
If our shaft size calculator seems intimidating, don't worry! By design, it can handle all the situations we've described in this article so far, so allow us to walk you through it:

First, select your shaft's design basis. You can choose to design a shaft based on:

Twisting moment only.

Bending moment only.

A combination of twisting and bending moments.

A combination of fluctuating twisting and bending moments.

Desired torsional rigidity.


Based on your selection, enter the torque and/or bending moment values along with allowable stress values.

Tip: You can calculate shaft diameter from power instead of torque. To do this, enter the power and shaft speed in rpm in their respective fields.

For fluctuating twisting and bending loads, provide the combined shock and fatigue factors for twisting and bending.


The calculator will use the data to calculate the minimum shaft diameter of a solid shaft.

To calculate the outer and inner diameters of a hollow shaft, you must provide the ratio of inner to the outer diameter (k).
What is the shaft size required to transmit 20 kW at 200 rpm?
Assuming the shaft is mild steel, the minimum required shaft diameter is 48.7 mm. To calculate this result, follow these steps:

Calculate the torque acting on the shaft from the power and shaft speed, using T = 60⋅P/(2π⋅n) = (60 × 20 × 10^{3})/(2π⋅200) = 955 Nm.

Assume the allowable shear stress of mild steel τ = 42 MPa.

Substituting the values in the shaft diameter formula for torsion loads, T = π ⋅τ⋅d^{3}/16, we get: 955 = π × 42 × 10^{6} × d^{3}/16.

Solving this equation, we get d = 0.487 m = 48.7 mm.
What is the difference between a shaft and an axle?
A shaft is a rotating machine member transmitting torque and power from one part to another. On the other hand, an axle is a stationary member designed to support rotating bodies like car wheels by transmitting bending moment.
Why is torsional rigidity important when designing camshafts?
A camshaft in an internal combustion engine is used for timing valve opening and closing. If the angle of twist exceeds an acceptable amount of 0.25° per meter, the timing of these valves will be affected. Torsional rigidity is thus an essential factor to consider when designing camshafts.
What is the maximum permissible shear stress for a transmission shaft?
According to the American Society of Mechanical Engineers (ASME) code for transmission shaft design, the maximum permissible shear stress is:
 56 MPa without allowance for key ways.
 42 MPa with allowance for keyways.