Circular shaft torsion calculation

How to calculate torque, polar moment of inertia, nominal shear stress, and angle of twist for solid or hollow circular shafts. An example and the limitations of the model.

This online calculator determines the maximum nominal shear stress in a solid or hollow circular shaft. Torque can be entered directly or calculated from power and rotational speed. The calculator can also determine the angle of twist and compare the stress with a specified allowable value.

We should note at the outset: a numerical result does not prove that an actual shaft is safe. The calculator uses an idealized model of pure elastic torsion. It does not account for keyways, fillets (smooth rounded transitions between shaft steps), bending, shock loads, fatigue, or other factors that may prove decisive. A responsible structure requires a complete engineering analysis.

The formulas, a worked example, and the limitations are given below the calculator.

PLANETCALC, Circular shaft torsion calculation

Circular shaft torsion calculation

Enter torque directly or calculate it from transmitted power and rotational speed.
Positive torque magnitude; direction is not considered.
Power actually transmitted by the shaft section under consideration. Efficiency and overloads are not included automatically.
Constant shaft rotational speed.
Circular cross-section constant along the shaft; the bore is coaxial with the outside surface.
Outside diameter of the circular cross-section.
Diameter of the coaxial bore; 0 is allowed as the limiting case of a solid section.
Shaft length and material shear modulus are also required.
Length of the section with constant cross-section and internal torque.
Material shear modulus G, not Young's modulus E.
Comparison with the specified limit is not a safety assessment of the actual structure.
Selected by the user for the material, loading conditions, and applicable requirements.
Torque T, N·m
 
Polar moment of inertia J, mm⁴
 
Maximum nominal shear stress, MPa
 
Angle of twist, rad
 
Angle of twist, °
 
Ratio to allowable stress
 
Digits after the decimal point: 9
Comparison with allowable stress
 

Power, rotational speed, and torque

Torque here means the moment of force transmitted by the shaft section under consideration. If the transmitted power P and angular velocity \omega are known, torque T is obtained from1

P=T\omega.

Rotational speed n is usually given in revolutions per minute and power in kilowatts. Then

T=\frac{60\cdot1000P}{2\pi n},

where T is torque, N·m; P is power, kW; n is rotational speed, rpm.

For example, at 90 kW and 300 rpm, T=2864{,}79 N·m. A separate conversion between power, torque, and rotational speed in different units is available in the Power into torque, and vice versa calculator.

“Transmitted power” means that energy passes through the shaft from a source to a load, for example from a motor to a pump. It is not necessarily the motor's rated power. Under steady conditions, the actual torque and power depend on how difficult the load is to turn. A shaft simply rotating without a load barely twists. Connect a pump, and a resisting torque appears, along with shaft twist.

If a gearbox or another transmission sits between the motor and the shaft section under consideration, some power is lost, while torque and rotational speed change. Starting and operating overloads can also make the actual torque greater than that calculated from rated power. These installation details must be included explicitly in the input—the calculator cannot infer them.

Polar moment of inertia of the cross-section

Stress calculation requires a geometric property of the cross-section called the polar moment of inertia of area J. Put simply, it measures how well the cross-sectional shape resists twisting. Both the amount of material and its location matter: the farther material is from the shaft axis, the greater its contribution. That contribution grows with the square of the distance from the axis, so the outer layers of the section are especially important.

Do not confuse the polar moment of inertia of area with the body's mass moment of inertia: the former is measured in mm⁴, the latter, for example, in kg·m².

For a solid circle with diameter D:

J=\frac{\pi D^4}{32}.

For a hollow circle with outside diameter D and a coaxial bore of diameter d:

J=\frac{\pi\left(D^4-d^4\right)}{32}.

Here 0\leq d\lt D. When d=0, the second formula reduces to the first. Both are obtained by integrating J=\int_A r^2\,dA over the area of the circle or annulus.2

Note the fourth power of diameter. Doubling the diameter of a solid shaft increases its polar moment of inertia sixteenfold. This is why even a small change in section size noticeably affects the result.

Shear stress

Imagine dividing the shaft into very thin transverse layers, producing a stack of discs on one axis. Now imagine that they are firmly bonded rather than loose. Torque is transmitted not by friction between the discs, but by shear forces through the “bond”; in an actual shaft, internal stresses in the continuous material play this role.

Under steady conditions, all layers rotate at the same angular velocity but have slightly different rotation angles: each successive layer lags slightly in angle behind the previous one. The accumulated angle difference between the shaft ends is the angle of twist.

Shear stress describes the shear force carried per unit area of the cross-section. It is therefore measured, for example, in megapascals, that is, newtons per square millimeter. The harder the shaft is twisted and the less its cross-section resists torsion, the greater the shear stress.

For pure torsion of a circular shaft, shear stress at distance r from the axis is2

\tau(r)=\frac{Tr}{J},

where T is internal torque and J is the polar moment of inertia of the section.

In other words, stress increases linearly from the axis to the outside surface. Its maximum within the material occurs at r=D/2:

\tau_{\max}=\frac{TD}{2J}.

The outside surface is therefore the most highly stressed region: if torque becomes excessive, yielding or fracture may begin there. This does not necessarily mean that the shaft will break along a transverse plane—the nature of failure depends on the material and loading conditions.

For a solid shaft, the same expression becomes

\tau_{\max}=\frac{16T}{\pi D^3}.

For a hollow shaft:

\tau_{\max}=\frac{16TD}{\pi\left(D^4-d^4\right)}.

Stress at the axis of a solid shaft is zero. In a hollow shaft, the region r\lt d/2 is empty, so stress at the inner surface is not zero: it equals \tau(d/2)=\tau_{\max}d/D.

The calculator determines nominal stress in a smooth circular section, without local amplification near a keyway, fillet, groove, or abrupt diameter change.

Angle of twist

If torque, cross-section, and shear modulus are constant over length L, the relative rotation of the end sections is2

\theta=\frac{TL}{JG},

where \theta is the angle of twist in radians; L is section length; G is material shear modulus. Degrees are obtained as \theta_{\deg}=\theta\cdot180/\pi.

The product GJ is called torsional stiffness. The greater it is, the less the shaft twists. Length works in the opposite direction: with everything else unchanged, doubling the length doubles the angle of twist. In this model, however, maximum stress does not depend on length or shear modulus—length and G are needed only for the angle.

Shear modulus of different materials

We will give several reference values to illustrate the orders of magnitude. These are only guides, not universal constants for every grade and material condition.

Material Approximate shear modulus G, GPa
Steel about 803
Aluminum about 253
Titanium about 454

Values depend on material composition and condition, as well as temperature. For a particular structure, use data for the actual grade and operating conditions from the applicable standard or manufacturer's property sheet. The table is nevertheless useful for orientation: 80 GPa in our example is typical of steel, not some exotic value.

Why does this matter? With identical torque, dimensions, and length, the angle of twist is inversely proportional to G. An aluminum shaft of the same geometry therefore twists about three times as much as a steel one: 80/25=3{,}2. Stress, however, remains unchanged—it is still determined by torque and section geometry.

Example

Consider a solid shaft 50 mm in diameter transmitting 1000 N·m. We will find the stress and the angle of twist over a length of 1000 mm with a shear modulus of 80 GPa.

It is convenient to use N, mm, and MPa. In these units, T=10^6 and G=80000.

Polar moment of inertia:

J=\frac{\pi\cdot50^4}{32}=613592{,}315 mm⁴.

Maximum shear stress:

\tau_{\max}=\frac{10^6\cdot50}{2\cdot613592{,}315}=40{,}743665 MPa.

Angle of twist:

\theta=\frac{10^6\cdot1000}{613592{,}315\cdot80000}=0{,}020371833 rad, or \theta=1{,}167220^\circ.

The same torque is obtained at approximately 31.415927 kW and 300 rpm. This can be checked in the calculator by changing the load input method.

These values demonstrate the arithmetic; they are not recommendations for a particular steel grade or finished design.

Allowable stress and comparison ratio

When comparison with allowable stress is enabled, the calculator determines

k=\frac{\tau_a}{\tau_{\max}},

where \tau_a is the allowable shear stress specified by the user.

When k\geq1, the condition \tau_{\max}\leq\tau_a is satisfied; when k\lt1, calculated stress exceeds the selected limit. This ratio should not automatically be equated with the classical factor of safety: it compares a user-selected allowable value with actual nominal stress. Working stress and ultimate strength are different input quantities.5

What should be used as allowable stress? The calculator deliberately does not choose it. The answer depends on the material and its condition, the nature of loading, the required margin, and applicable standards. In the example above, an allowable stress of 80 MPa gives k=1{,}9635, but this is merely a comparison of two numbers, not a certificate of shaft suitability.

Applicability

The formulas assume the following idealization:26

  1. Geometry. A straight prismatic shaft with a solid or hollow circular cross-section constant along its length. The bore is coaxial with the outside surface.
  2. Material. A homogeneous, isotropic, linearly elastic material with small deformations.
  3. Loading. Internal torque constant along the length, static or steady operation, without shocks or torsional vibration.
  4. Cross-sections. They remain plane during torsion, with no warping. Circular symmetry is what allows these formulas to be used; they do not work for rectangular or other noncircular sections.
  5. Stress. The result applies to the smooth part of the shaft away from load application points and geometric discontinuities.

Bending, axial and transverse forces, combined loading, stress concentrators, fatigue, plasticity, residual stress, and stepped or composite shafts are not included. Rotation at constant speed does not itself prevent use of the steady model, but the model does not assess the fatigue life of an actual rotating shaft.

The calculator is therefore suitable for learning, checking manual calculations, and preliminary estimation of nominal stress or elastic twist. Nothing more—but within its intended scope, the formulas are simple and entirely workable.


  1. OpenStax, University Physics Volume 1, Section 10.8, Work and Power for Rotational Motion: the relationship between power, torque, and angular velocity, Example 10.19. ↩

  2. David Roylance, MIT OpenCourseWare, Mechanics of Materials, Shear and Torsion: circular-section kinematics, polar moment of inertia, stress, and angle of twist. ↩ ↩ ↩ ↩

  3. OpenStax, College Physics 2e, Section 5.3, Elasticity: Stress and Strain, Table 5.3, Elastic Moduli: approximate average shear moduli for steel and aluminum. ↩ ↩

  4. William D. Callister Jr., David G. Rethwisch, Materials Science and Engineering: An Introduction, 8th ed., Table 6.1: a reference room-temperature shear modulus of 45 GPa for titanium. ↩

  5. M. S. Sivakumar, IIT Madras / NPTEL, Strength of Materials, Axial Deformations, Design considerations: working stress, strength, and factor of safety. ↩

  6. Marcial Gonzalez, Purdue University, ME 323, Lecture 13: Torsion (cont.): geometric and kinematic assumptions of the torsion model. ↩

URL copied to clipboard
PLANETCALC, Circular shaft torsion calculation

Comments