Shaft Torsion Calculator

Introduction to shaft torsion

This shaft torsion calculator estimates two quantities that matter whenever a round shaft is asked to carry torque: the maximum shear stress at the outer surface and the angle of twist over the shaft length. Those results answer different design questions. Stress tells you whether the material is being loaded too hard. Twist tells you whether the shaft is stiff enough for alignment, transmission accuracy, or smooth control. A shaft can look fine on strength alone and still feel too flexible in service, so it is useful to check both responses together.

The calculator is aimed at a solid circular shaft with constant diameter, one material, and elastic behavior. That is the classic first-pass torsion model used for drive shafts, test fixtures, lab problems, and early machine design comparisons. It is especially helpful when you are choosing between diameters or checking whether a proposed shaft will remain calm under torque. Because torsion scales so strongly with geometry, a small change in diameter can have a much larger effect than the same-looking change in length or material.

How to use the shaft torsion calculator

Enter the shaft diameter in millimeters, the shaft length in meters, the applied torque in newton-meters, and the shear modulus G in gigapascals. When you click Calculate Torsion, the page converts those inputs internally and evaluates the standard solid-shaft torsion equations. If you are pulling values from a drawing or a material sheet, double-check that the length is the span over which twist accumulates and that the modulus really is shear modulus, not Young’s modulus. In torsion, those two moduli do not mean the same thing.

After the calculation, read the outputs as a pair. The shear stress shows how heavily the outer fibers of the shaft are loaded. The angle of twist shows how far one end rotates relative to the other over the entered length. A negative torque will produce a negative sign on the response, which can be useful if you are tracking direction in a larger mechanism. For most sizing decisions, though, the magnitude is what matters when you compare the result against an allowable stress or a twist limit.

A practical way to use this shaft torsion calculator is to start with a guessed diameter, evaluate the response, and then adjust the diameter until both the stress and the twist land where you want them. Because the polar moment of inertia grows with the fourth power of radius, diameter changes are unusually powerful. That is why a shaft that is only a little larger can end up much stiffer and much less stressed than the first option you tried.

How shaft torsion affects a solid circular shaft

In shaft torsion, a circular cross-section gives the cleanest case because the stress field is easy to describe and the equations stay compact. When torque T acts on a solid circular shaft, the shear stress starts at zero at the center and increases linearly with radius until it reaches its maximum at the outer surface. The shaft also twists through an angle θ over its length L. This calculator applies the classical Saint-Venant torsion relationships for that solid-shaft case, which makes it a reliable first model for many drivetrain and machine-element checks.

Shaft torsion inputs and units

Unit consistency is a big deal in shaft torsion because the formulas blend geometry, torque, and material stiffness. This calculator accepts familiar engineering units and converts them internally so the equations run in SI base units. Diameter goes in millimeters, length in meters, torque in newton-meters, and shear modulus in gigapascals. If your source values come from an inch-based drawing or a mixed-unit material table, convert them before entering them here. One unit slip can easily change the answer by orders of magnitude.

  • Shaft diameter is entered in mm and converted to meters internally.
  • Shaft length is entered in m.
  • Applied torque is entered in N·m.
  • Shear modulus G is entered in GPa and converted to pascals internally.

Typical shear modulus values are a quick reality check when you use the shaft torsion calculator. Steel is often around 79 to 82 GPa, aluminum alloys around 26 to 28 GPa, and many polymers are much lower. Since angle of twist is inversely proportional to G, a value that is too high can make a flexible shaft look unrealistically stiff, while a value that is too low can make a solid design appear misleadingly soft.

Shaft torsion formulas used

For a solid circular shaft with radius r, where r = d/2, the polar moment of inertia is:

J = π r4 2

The same geometry term appears in both the stress and twist equations, which is why diameter has such a dramatic effect in shaft torsion problems. In plain text, the calculator uses these relationships:

  • J = π r4 / 2
  • τmax = T r / J
  • θ = T L / (J G)

The first expression measures how strongly the shaft resists twisting. The second gives the maximum shear stress at the outside of the shaft. The third gives the total angle of twist across the entered length. Because J contains r4, small diameter changes get amplified: a modest increase in radius produces a large rise in torsional stiffness and a large drop in both stress and twist.

Interpreting shaft torsion results

Shear stress check for the shaft surface

Compare the computed τmax with an allowable shear stress from your material data and design standard. What counts as acceptable depends on yield strength, ultimate strength, fatigue requirements, temperature, surface finish, safety factor, and features such as keyways, splines, shoulders, or grooves. If nominal stress is too high, the usual remedies are a larger diameter, a lower applied torque, a stronger material, or a layout change that shortens the torque path. In many cases, diameter is the most effective lever because of the fourth-power dependence hidden inside J.

Angle of twist and serviceability

Even when the stress result is acceptable, too much twist can still be a problem. A shaft that rotates too far can reduce positioning accuracy, soften control response, disturb gear meshing, raise vibration sensitivity, or create alignment trouble between connected parts. Some applications limit the total twist across a span, while others limit twist per unit length. That makes the angle-of-twist output a stiffness or serviceability check rather than a pure strength check, and it often becomes important in precision machinery or long slender shafts.

Why shaft diameter dominates torsion response

Because the polar moment scales with the fourth power of radius, small diameter changes produce outsized results. If the radius increases by 10%, the polar moment increases by about 1.14 ≈ 1.46. For the same torque, length, and material, both the maximum shear stress and the angle of twist then fall to roughly 1 / 1.46, or about 68% of their original values. That is why diameter tuning is such a powerful move in shaft torsion design.

Worked shaft torsion example

Suppose the shaft diameter is 50 mm, the length is 2 m, the applied torque is 1000 N·m, and the shear modulus is 79 GPa. The calculator first converts diameter to meters and finds the radius: d = 0.05 m and r = 0.025 m. It then calculates the polar moment J = πr4/2, which comes out to about 6.14 × 10−7 m4.

Next, it evaluates the maximum shear stress using τmax = Tr/J. With the numbers above, that gives about 40.7 MPa. Finally, it computes the twist angle with θ = TL/(JG), which gives about 0.0413 rad, or roughly 2.37° across the 2-meter shaft. If your result is close to those values, the calculator is consistent with the standard torsion equations. Small differences are usually just rounding.

Solid vs hollow shafts in torsion

This calculator is specifically for a solid shaft, but comparing it with a hollow shaft helps explain why tube-like drivetrain parts are so common. Hollow shafts often deliver better torsional stiffness and strength for the same mass because more material sits farther from the center, where it contributes more to J. The stress and twist formulas keep the same overall structure, but the geometry term changes. For a hollow circular shaft with outer radius ro and inner radius ri, the polar moment is J = π(ro4 − ri4)/2.

Item Solid circular shaft Hollow circular shaft
Polar moment, J J = π r4 / 2 J = π(ro4 − ri4)/2
Max shear location Outer surface at r Outer surface at ro
Strength/stiffness per weight Baseline Often better because more material sits farther from the center
Typical use case Short, compact shafts and simpler manufacturing Drive shafts, rotating tubes, and weight-sensitive systems

Assumptions and limitations for shaft torsion

Like any compact engineering tool, this shaft torsion calculator is only as broad as the assumptions behind it. The equations assume a homogeneous, isotropic, linearly elastic material with a uniform solid circular cross-section. They also assume the torque is applied in a way that matches classical Saint-Venant torsion and that the resulting deformations stay small. Those assumptions are reasonable for many metal shafts in normal service, but they do not cover every real structure.

  • Linear elastic material: the shaft does not yield and G remains constant.
  • Homogeneous and isotropic material: one shear modulus represents the entire shaft.
  • Uniform circular cross-section: the shaft diameter is constant along the analyzed length.
  • No major warping restraint effects: circular shafts fit the standard torsion model well, but unusual end conditions can change behavior.
  • Uniform torque over the span: if torque changes with position, analyze the shaft in segments and sum the twist.
  • Stress concentrations excluded: keyways, splines, shoulders, grooves, holes, and notches can raise peak stress above the nominal value reported here.
  • Temperature and time effects ignored: elevated temperature, creep, and viscoelastic behavior can alter stiffness and long-term twist.

If your shaft is non-circular, if it contains strong stress raisers, or if torque varies sharply along the length, treat this calculator as a first-pass estimate rather than a final design check. The tool is best for getting a quick, transparent torsion estimate before you move on to more detailed analysis.

Shaft torsion FAQ

Is the reported shear stress the maximum at the shaft surface?

Yes. In elastic torsion of a solid circular shaft, shear stress rises linearly from the center to the outside and reaches its maximum at the outer surface.

Why does the calculator ask for shear modulus G instead of Young’s modulus E?

Torsional twist depends on shear modulus G. If you only know Young’s modulus E and Poisson’s ratio ν, you can estimate G = E / (2(1+ν)) for an isotropic material.

Can I use this calculator for a hollow shaft?

Not directly with the built-in inputs, because the calculator uses the solid-shaft polar moment. The stress and twist relationships stay the same, but J must be replaced with the hollow-shaft form that uses the inner and outer radii.

What if torque changes along the shaft?

Break the shaft into segments. Use the local torque, length, and geometry for each segment, then add the twist contributions to get the total rotation.

Calculator inputs
Input values to evaluate torsional response.

Torque Tuner Mini-Game

This optional mini-game turns shaft torsion into a quick tuning challenge. Each order gives you a torque, shaft length, material shear modulus, a target twist band, and a stress cap. Your job is to choose a diameter before the timer runs out. It is the same tradeoff you face in the calculator: too slim and stress or twist climbs, but a smart diameter choice improves both at once. The game is meant to be fun, but it also reinforces the core lesson of torsion sizing: geometry matters a lot.

Score0
Time75.0s
Streak0
Stability3
Best0

Torque Tuner

Set the diameter so the shaft’s predicted angle of twist lands in the green band while shear stress stays below the red limit. You are not catching objects or dodging walls here; you are tuning a shaft design under live torque orders.

  • Drag or tap the lower diameter rail to size the shaft.
  • Click the glowing coupling on the canvas, or press Space, to lock your design.
  • Shock loads and tighter targets appear as the run goes on, so keep an eye on both twist and stress.

Embed this calculator

Copy and paste the HTML below to add the Shaft Torsion Calculator for Twist and Shear Stress to your website.