Introduction
This shaft torsion calculator estimates two of the most important responses in a round shaft under torque: the maximum shear stress at the outer surface and the angle of twist over the shaft length. In plain terms, it answers two practical questions engineers ask all the time. First, is the shaft strong enough that the torsional stress stays within a safe range? Second, is it stiff enough that it will not twist so much that the machine feels soft, loses accuracy, or creates alignment problems? Those are related questions, but they are not the same. A shaft can pass a stress check and still twist more than the application allows.
The calculator is intended for a solid circular shaft with constant diameter, uniform material, and linearly elastic behavior. That is the standard textbook torsion model used for many machine design checks, drivetrain sizing studies, and early design comparisons. It is especially useful when you are comparing diameters, checking a proposed shaft layout, or learning how torque, length, material stiffness, and geometry work together. The result is quick, but the physics underneath it is important: a longer shaft twists more, a softer material twists more, and a larger diameter can dramatically reduce both stress and twist.
How to use
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 press Calculate Torsion, the page converts the units internally and evaluates the standard solid-shaft torsion formulas. If you are working from a machine layout, the length should usually be the distance over which the torque is carried and twist accumulates. If you are checking a material property sheet, make sure you use shear modulus rather than Young’s modulus; they are not interchangeable in torsion.
After calculation, read the two outputs together. The shear stress tells you how heavily the shaft surface is loaded. The angle of twist tells you how much one end rotates relative to the other. If the torque is entered with a negative sign, the calculated twist and stress also carry that sign convention, which can be helpful when you are tracking direction in a larger system. In most design checks, however, the magnitude is what matters for comparison with allowable values or performance limits.
A good workflow is to start with an estimated diameter, calculate the response, and then adjust the diameter until both stress and twist are acceptable. Because the polar moment grows with the fourth power of radius, small diameter changes can have a surprisingly large effect. That is why torsion sizing often feels nonlinear: a shaft that seems only slightly larger can be much stiffer and much less stressed than the original option.
How torsion affects a solid circular shaft
Circular shafts are widely used to transmit torque in rotating machinery such as drive shafts, couplings, gear trains, mixers, conveyors, and test rigs. When a torque T acts on a circular shaft, the material develops shear stress that increases linearly from the center, where it is zero, to the outer surface, where it reaches its maximum value. At the same time the shaft twists by an angle θ over its length L. This calculator applies the classical Saint-Venant torsion relationships for a solid circular shaft with constant diameter and a linearly elastic material. For many engineering problems that is the right first model, and it gives a very useful picture of both strength and stiffness.
Inputs and units
Unit consistency matters in torsion problems because the formulas mix geometry, material stiffness, and torque. This calculator accepts practical engineering units and converts them internally so the equations work in SI base units. The diameter is entered in millimeters, the length in meters, the torque in newton-meters, and the shear modulus in gigapascals. If your source data comes from a drawing in inches or a material table in ksi-based units, convert those values before entering them. A single unit mistake can change the result 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 help provide a quick reality check. Steel is often around 79 to 82 GPa, aluminum alloys around 26 to 28 GPa, and many polymers are far lower. Because the angle of twist is inversely proportional to G, using a value that is too high can make a flexible shaft appear much stiffer than it really is.
Key formulas used
For a solid circular shaft with radius r, where r = d/2, the polar moment of inertia is:
The same geometry term appears in both the stress and twist equations, which is why diameter influences both results so strongly. In plain text, the calculator uses these relationships:
- J = π r4 / 2
- τmax = T r / J
- θ = T L / (J G)
The first formula measures the cross-section’s resistance to torsion. The second gives the maximum shear stress at the outer surface. The third gives the total angle of twist over the entered length. Because J contains r4, diameter changes are amplified: if the radius increases slightly, J increases a lot, and both stress and twist drop.
Interpreting the results
Shear stress check
Compare the computed τmax to an allowable shear stress from your material and design standard. A safe limit depends on yield strength, ultimate strength, fatigue requirements, surface condition, temperature, safety factor, and details such as keyways, splines, or shoulders. If the nominal stress is too high, the usual fixes are increasing diameter, lowering torque, choosing a stronger material, or redesigning the shaft layout. Diameter is often the most effective lever because of the fourth-power relationship hidden inside J.
Angle of twist check
Even when stress is acceptable, excessive twist can still cause trouble. A shaft that twists too much can reduce positioning accuracy, soften control response, disturb gear meshing, increase vibration sensitivity, or create alignment issues between components. Some applications limit total twist over a span, while others specify twist per unit length. This is a serviceability or stiffness check rather than a pure strength check, and it often governs in precision machinery or long slender shafts.
Why diameter matters so much
Because the polar moment scales with the fourth power of radius, small diameter increases produce outsized improvements. Increasing diameter by 10% increases radius by 10%, which increases J by about 1.14 ≈ 1.46. For the same torque, length, and material, both the maximum shear stress and angle of twist then fall to roughly 1 / 1.46, or about 68% of the original value. That is why modest diameter adjustments are such a powerful design tool in torsion problems.
Worked 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. Then it computes the polar moment J = πr4/2, which is about 6.14 × 10−7 m4.
Next, it evaluates the maximum shear stress: τmax = Tr/J. Using the numbers above gives about 40.7 MPa. Finally, it calculates the twist angle with θ = TL/(JG), which gives about 0.0413 rad, or roughly 2.37° over the 2-meter length. If your result is close to those values, the calculator is behaving consistently with the standard torsion equations. Small differences are usually just rounding.
Solid vs hollow shafts
This page is specifically for a solid shaft. Hollow shafts often give better torsional stiffness and strength for a given mass because more of the material is placed farther from the center, where it contributes more to J. The stress and twist equations still use 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
Like any compact calculator, this one is only as good 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 deformations remain small. Those assumptions are reasonable for many metal shafts in ordinary service, but they do not capture every real-world feature.
- 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 geometry is non-circular, if the shaft includes strong stress raisers, or if loading varies sharply along the length, treat this calculator as a first-pass estimate rather than a final design verification.
FAQ
Is the reported shear stress the maximum?
Yes. For a solid circular shaft in elastic torsion, the shear stress varies linearly with radius and reaches its largest value at the outer surface.
Why does the calculator ask for shear modulus G instead of Young’s modulus E?
Torsional twist depends directly on the 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 for a hollow shaft?
Not directly with the built-in inputs, because the page computes J for a solid circular shaft. The general stress and twist relationships stay the same, but you must replace J with the hollow-shaft form that uses inner and outer radii.
What if torque changes along the shaft?
Break the shaft into segments. For each segment, use its local torque, length, and geometry, then add the twist contributions together. That piecewise approach is the standard extension when torque is not constant along the shaft.
