Torsion & twist calculator
Calculate torsional shear stress and angle of twist of straight bars under a torque per Saint-Venant torsion theory. Choose the cross-section - solid circle, circular tube, thin-walled closed Bredt section, rectangle or open thin-walled section made of I, U, L and slit tube -, enter torque, length and material, and the calculator returns W_t, I_t, τ and φ, the shear check against the yield limit and the specific twist against the stiffness guide value, both with traffic-light rating, live with every input.
Calculation
Model: straight, prismatic bar, pure torsion per Saint-Venant (free warping, linear-elastic). No restrained warping, no superimposed bending, no notch effect, no buckling or fatigue check. For rotating shafts additionally use DIN 743 (shaft calculator).
Results
Calculating …
Calculation in your browser, inputs go to our server only when you export or save.
Formulas and fundamentals
Basic torsion equations
The basis is Saint-Venant torsion theory of pure torsion with free warping: the torque T produces a shear stress and twists the bar over its length L:
W_t is the torsional section modulus (governs the stress), I_t the torsion constant (governs the twist), G the shear modulus (steel ≈ 81000 N/mm²). Only for the circle and circular tube does I_t equal the polar second moment of area I_p; for all other sections I_t is smaller because the cross-section warps.
Section properties: circle, tube and Bredt section
For circular sections the properties follow from closed-form expressions:
Thin-walled closed hollow sections are computed with the two Bredt formulas; there the shear stress is approximately constant across the wall:
A_m is the area enclosed by the wall centreline and U its perimeter - both belong to the centreline, not to the outer contour. For a rectangular tube you therefore enter the raw dimensions: outside width b, outside height h and wall thickness t. The centreline runs t/2 further in within every wall, so its sides are b − t and h − t:
Exactly this conversion is the classic misuse of the Bredt formulas. For an 80 × 40 × 4 rectangular tube the outer contour yields A_m = 3200 mm² instead of 2736 mm², 17 percent too much; the shear stress then comes out 14.5 percent too low and the twist 21.7 percent too small - both on the unsafe side. If you have A_m and U from your own source, for a triangular or special section for instance, enter them directly via the second input mode.
Solid rectangular section
There is no elementary solution for the twisted rectangle, which is why textbooks print coefficients over the aspect ratio. The calculator instead evaluates the Saint-Venant series solution those tables are derived from:
summed over the odd k = 1, 3, 5 …, with long side a and short side b. The series matches every row of the classical coefficient table (Dubbel, Hütte, Läpple, Böge) to within 0.3 percent, that is within the three-digit rounding of the table itself: for a/b = 2 it gives W_t = 0.246·a·b² and I_t = 0.229·a·b³. The widespread approximation W_t = a²·b²/(3·a + 1.8·b), by contrast, only matches the limiting cases square and narrow strip; at a/b = 2 it is 4.3 percent too high and the stress accordingly too low. For a 60 × 30 solid rectangular section in S235 under 1250 Nm that is the difference between S = 1.50 and S = 1.44, i.e. between a check that passes and one that does not. The largest shear stress is at the edge in the middle of the long side; at the corners τ = 0.
Open thin-walled section
An open section - I, U, L, T, cruciform, slit tube or a plain flat bar - cannot form a closed shear flow loop. It is computed as the sum of its rectangular parts, each with developed length h_i and thickness t_i:
How the parts are arranged does not enter this formula - only how long and how thick they are. The input nevertheless asks for a named profile shape with a fixed number of parts: flat bar one part, L, T and cruciform two, U, I and IPB three. The reason is the scope of the formula - it holds for simply bounded, that is one-piece, cross-sections (Hütte, 33rd ed., p. E 81). A loose stack of plates is therefore not a case for this calculator, because its plates do not form a one-piece cross-section.
The parts are measured without overlap per Dubbel, 22nd ed., p. C 27, table 6, row 11: one part runs through and takes the corner, the other starts at its inner face. For an I-section, h of the web is therefore the clear height between the flanges and not the section depth; for an angle, the upright leg takes the full height and the horizontal one starts at its inner face. The cruciform is the exception: there the two webs interpenetrate, each is entered at its full size, and the doubly counted crossing area is contained in η = 1.17.
The rolling factor η is the allowance for the rigid shear connection - and not, tempting as that reading is, an allowance for the extra material in the fillets at the junctions. The summation formula treats the individual rectangles as independent; it assumes that no shear stresses are transferred between the parts of the cross-section (Wriggers/Nackenhorst/Beuermann/Spiess/Löhnert, Technische Mechanik kompakt, 2nd ed. 2006, p. 235). A rolled section violates exactly that: its parts are rigidly connected and can no longer warp freely, and restrained warping increases the torsion constant (ibid., pp. 235/236, table 13.3). For the flat bar this gives η = 1.00, and there it is not merely conservative but correct: a single rectangle has no neighbouring part that could restrain its warping.
The numbers themselves are measured, not derived. Hirschfeld, Baustatik, 5th ed., p. 127, eq. (22), lists them as test values by Föppl for rolled sections, with a size range per row (L 40/50 to 80/120 mm, U and T 80 to 300 mm, I 100 to 300 mm, IPB 160 to 240 mm); Dubbel and Hütte print the same values without a range: 0.99 for L, 1.12 for U and T, 1.17 for cruciform, 1.29 for IPB/HEB and 1.31 for I. Two discrepancies between the sources, so nobody takes them for typos: Holzmann/Meyer/Schumpich give 1.32 instead of 1.31 for I, and Hirschfeld gives 1.03 for the equal-leg angle while 0.99 applies to unequal-leg ones. The calculator always takes the smaller value - it yields the smaller I_t and hence the larger twist and stress.
W_t = I_t/t_max gives the nominal value of the largest shear stress; it sits in the middle of the long side of the thickest rectangle. The true maximum is elsewhere, namely at the re-entrant corner where web and flange meet (Dubbel, fig. 36 c, the flow analogy on an angle section; Läpple, fig. 11.7; Hütte, p. E 91: re-entrant corners of a cross-section contour). Hütte quantifies it on p. E 83 as τ_max = τ·[c + √(1+c²)] with c = t/(4·r) and the fillet radius r: t/r = 1 gives a factor of 1.28, r = t/2 a factor of 1.62, r = t/4 a factor of 2.41, and for a sharp corner it grows without bound. For an IPE with t_web = 5.6 mm and r = 12 mm it is 1.12. The calculator does not apply this factor - anyone with a sharply folded or welded inner corner has to add it.
The summation formula assumes slender rectangles. Dankert/Dankert, Technische Mechanik, 4th ed. 2006, p. 360, puts the deviation at a thickness ratio t/h = 0.1, that is exactly at h/t = 10, at about 6 percent for I_t as well as for W_t. The direction is on the same side: the approximation overestimates the stiffness by 6 percent and underestimates the stress by 10 percent, so for the stress it is on the unsafe side. Below this ratio the calculator says so.
Shear check and stiffness check
The shear check compares the maximum torsional shear stress with the shear yield limit per the distortion energy hypothesis (von Mises):
What is rated is the utilisation S_req/S: above 1.0 the check is not satisfied and the light is red; between 0.9 and 1.0 it is satisfied but without meaningful reserve, and the light is amber. As a second step comes the stiffness check via the specific twist, the angle of twist per metre of bar length:
The calculator reports it in degrees per metre and compares it with a guide value: Roloff/Matek gives 0.25 to 0.5 degrees per metre for gearbox and machine shafts. That is serviceability and not a code check, so the specific twist is rated separately from the stress check and in its own words. For long shafts, and even more so for open sections, stiffness almost always governs rather than stress.
Worked example
The calculator starts with this default: solid shaft d = 65 mm in S355 (G = 81000 N/mm², R_e = 355 N/mm²), torque T = 500 Nm over a length of L = 1000 mm, required safety factor S_req = 1.5 and a guide value for the specific twist of 0.25 degrees per metre. The section properties are W_t = π·65³/16 = 53922 mm³ and I_t = π·65⁴/32 = 1752481 mm⁴.
This gives a torsional shear stress τ = T/W_t = 500000/53922 = 9.27 N/mm² and an angle of twist φ = T·L/(G·I_t) = 500000·1000/(81000·1752481) = 0.00352 rad = 0.202°. The shear yield limit is τ_F = 355/√3 = 205 N/mm², hence the allowable stress τ_allow = 205/1.5 = 136.6 N/mm² and the available safety factor S = 205/9.27 = 22.1. The specific twist is 0.202 degrees per metre and uses up 81 percent of the guide value. Both ratings are green.
That the safety factor comes out at 22 is not a sign of an oversized shaft but the central message of the calculator: stiffness governs, not stress. The same shaft at d = 40 mm would still have S = 5.15, but it would twist by 1.407 degrees per metre - 5.6 times the guide value. The reason is the exponent: the specific twist falls with the fourth power of the diameter and the stress only with the third.
A thin-walled closed square tube 100 × 100 × 5 mm is entered by its raw dimensions; the calculator derives the wall centreline 95 × 95 mm from them, so A_m = 9025 mm² and U = 380 mm. Even under twice the torque, 1000 Nm, the shear stress per Bredt is only τ = T/(2·A_m·t) = 1000000/(2·9025·5) = 11.08 N/mm², and with I_t = 4·A_m²·t/U = 4286875 mm⁴ the tube twists by 0.165 degrees per metre - a good eight times less than the 40 mm solid shaft under half the torque. At 14.9 kg per metre it does weigh more than that shaft (9.9 kg/m), but it is 17 times stiffer in torsion.
What a single longitudinal slit does to that is shown by the third case. A tube 84 × 76 mm (centreline diameter d_m = 80 mm, wall thickness s = 4 mm) carries 500 Nm at τ = 13.0 N/mm² and twists by 0.22 degrees per metre. Slit open it is an open section made of a single rectangle, so the flat bar shape in the calculator: developed length h = π·80 = 251.3 mm, thickness t = 4 mm, η = 1.00. That gives W_t = 1340 mm³ and I_t = 5362 mm⁴ - the shear stress jumps to 373 N/mm², far above τ_F = 205 N/mm², and the twist to 66 degrees per metre. The ratios are already in the formulas: for the thin-walled tube, W_t closed to open is (3/2)·(d_m/s) and I_t closed to open is (3/4)·(d_m/s)², so 30 and 300 at d_m/s = 20 (Läpple, solutions volume, problem 11.4); with the exact circular-tube formula of the calculator they are 28.6 and 301.
A rolled section shows the same weakness. An IPE 200 is entered as an I-section with three parts: top and bottom flange 100 mm wide and 8.5 mm thick each, between them the web with the clear height 200 − 2·8.5 = 183 mm at 5.6 mm thickness, rolling factor η = 1.31. This gives I_t = (1.31/3)·(2·100·8.5³ + 183·5.6³) = 67667 mm⁴ and W_t = I_t/8.5 = 7961 mm³; the table value I_T = 6.98 cm⁴ is a good 3 percent higher - η is a test value averaged over the whole profile series (Hirschfeld gives 100 to 300 mm for I) and does not match the individual section exactly. Under 500 Nm that is τ = 62.8 N/mm² and 5.23 degrees per metre - the very beam that offers I_y = 1943 cm⁴ in bending twists 26 times more than the 65 mm solid shaft under the same torque. Entering the section depth of 200 mm for the web instead of the clear height gives an I_t that is 1.9 percent too large: not much, but on the unsafe side.
Frequently asked questions
What is the difference between the torsion constant I_t and the polar moment I_p?
Only for the circle and circular tube are the two equal, because these sections do not warp under torsion. For all other sections (rectangle, open and closed profiles) the I_t that governs the twist is smaller than I_p. Using I_p for a rectangle or hollow section significantly overestimates the stiffness - the calculator always uses the correct I_t.
What do the two Bredt formulas mean?
They apply to thin-walled closed hollow sections. The first Bredt formula gives the shear stress that is constant across the wall, τ = T/(2·A_m·t), with A_m the area enclosed by the wall centreline. The second Bredt formula gives the twist via I_t = 4·A_m²/(∫ds/t), for constant wall thickness I_t = 4·A_m²·t/U. Note that A_m is the centreline area, not the outer contour.
How do I obtain A_m and U for a rectangular tube?
You do not - you enter the raw dimensions. For the closed section choose the input via outside dimensions, enter outside width b, outside height h and wall thickness t, and the calculator derives the wall centreline itself: A_m = (b − t)·(h − t) and U = 2·((b − t) + (h − t)). That is the standard route because A_m and U describe the same centreline and, entered as two free numbers, can be detuned against each other unnoticed. Using the outer contour flatters the result: for an 80 × 40 × 4 rectangular tube it gives A_m = 3200 instead of 2736 mm², the shear stress comes out 15 percent too low and the twist 22 percent too small. Direct entry of A_m and U remains for sections that are not rectangular tubes; there the calculator at least checks whether the perimeter you entered can enclose the area you entered.
Does the calculator cover open sections, and why are they so much worse?
Yes, open thin-walled sections are a cross-section type of their own: I, U, L, T, cruciform, slit tube or flat bar. What you enter is a named profile shape with a fixed number of parts - flat bar one part, L, T and cruciform two, U, I and IPB three - and no longer a freely extendable list of loose rectangles: the summation formula holds for simply bounded, that is one-piece, cross-sections (Hütte, 33rd ed., p. E 81). The difference from a closed section remains dramatic all the same. In a closed section the shear flow runs as a loop around the cavity and produces a large internal moment (Bredt); an open section cannot form that loop, every rectangle has to close the shear flow within itself. For a slit tube with centreline diameter d_m and wall thickness s the closed tube carries (3/2)·(d_m/s) times the torque at the same stress and is (3/4)·(d_m/s)² times stiffer - at d_m/s = 20 that is 30 times stronger and 300 times stiffer. A slit one millimetre wide is enough, because it interrupts the loop completely.
What is the rolling factor η, and which one do I take?
It appears in I_t = (η/3)·Σ h_i·t_i³ and is the allowance for the rigid shear connection between the parts - not, tempting as that reading is, an allowance for the extra material in the fillets at the junctions. The summation formula treats the individual rectangles as independent and assumes that no shear stresses are transferred between them (Wriggers/Nackenhorst/Beuermann/Spiess/Löhnert, Technische Mechanik kompakt, 2nd ed. 2006, p. 235). A rolled section violates exactly that: its parts are rigidly connected and can no longer warp freely, and the restrained warping increases the torsion constant (ibid., table 13.3). The numbers are test values for rolled sections (Hirschfeld, Baustatik, 5th ed., p. 127, eq. (22), from tests by Föppl; likewise Dubbel and Hütte): 0.99 for L, 1.12 for U and T, 1.17 for cruciform, 1.29 for IPB/HEB and 1.31 for I. You do not pick the factor separately but through the profile shape - it follows from it. For the flat bar η = 1.00 applies, and there that is not merely conservative but correct: a single rectangle has no neighbouring part that could restrain its warping. For welded or folded sections, pick the shape of the same family; the calculator does not accept a free sum of several flat bars, because the formula presupposes a one-piece cross-section. Bear in mind that η comes from tests on ROLLED sections: for a welded or sharply folded inner corner without a fillet it is on the unsafe side - the rolled-series factor is too favourable there.
Where does the largest shear stress in an open section really sit?
Not where the table formula puts it. W_t = I_t/t_max gives the nominal value in the middle of the long side of the thickest rectangle; the true maximum sits at the re-entrant corner, that is where web and flange meet. The flow analogy shows it clearly (Dubbel, fig. 36 c, on an angle section; Läpple, fig. 11.7), and Hütte on p. E 91 explicitly names the re-entrant corners of a cross-section contour. It is quantified there on p. E 83 as τ_max = τ·[c + √(1+c²)] with c = t/(4·r), where r is the fillet radius: at t/r = 1 the factor is 1.28, at r = t/2 already 1.62, at r = t/4 then 2.41, and for a sharp corner without any fillet it grows without bound. For a rolled IPE with t_web = 5.6 mm and r = 12 mm it stays at 1.12. The calculator does not apply this factor - it reports the nominal stress. For rolled sections with a generous radius the increase is small; for welded or sharply folded inner corners it belongs in the calculation, either via this formula or via a notch-effect check.
When does the calculation for an open section become unsafe?
In two places, and the calculator points out both. First, the summation formula assumes slender rectangles. Dankert/Dankert, Technische Mechanik, 4th ed. 2006, p. 360, puts the deviation at a thickness ratio t/h = 0.1, that is exactly at h/t = 10, at about 6 percent for I_t as well as for W_t; the approximation overestimates the stiffness by 6 percent and underestimates the stress by 10 percent, so for the stress it is on the unsafe side. A flange 100 mm wide and 10 mm thick is thus exactly the borderline case, and anything stockier is below it - a rolled flange like that of an IPE 200 at 100 × 8.5 mm sits just above at h/t = 11.8, while the legs of channel and angle sections regularly fall below. Second, the calculator covers only Saint-Venant torsion with free warping. Open sections warp strongly, and as soon as that warping is restrained - a fixed end, a welded end plate, load introduction through a gusset - warping torsion contributes as well. For short open members held at their ends it can take the larger share, and this calculator cannot estimate it; that needs a check per warping torsion theory with the warping constant C_M. The warping note also appears for the rectangle, because it follows from the section not being circular, not from the section being open.
Which shear yield limit is used for the check?
You choose it. The default is the distortion energy hypothesis (von Mises) with τ_F = R_e/√3 ≈ 0.577·R_e; the shear stress hypothesis (Tresca) with τ_F = R_e/2 can be selected instead, which is 15.5 percent lower and therefore on the safe side. Läpple sizes torsion with R_e/2 throughout. Which hypothesis was used is stated in the input list of the report. From it follow the allowable shear stress τ_allow = τ_F/S_req and the available safety factor S = τ_F/τ, which is compared with the required safety factor S_req.
Which required safety factor should I choose?
On offer are 1.2 / 1.35 / 1.5 / 1.7 / 2.0 and a custom value; the default is 1.5, the single best-documented value (Roloff/Matek, Böge, Tabellenbuch Metall). The grading follows the consequences of failure and how well the load is known: 1.2 for a well-known load with minor consequences, 1.35 for a well-known load with severe consequences, 1.7 for preliminary sizing with the section still open, 2.0 where people are at risk or the load assumption is uncertain. There is no grading by static, pulsating or alternating load - the load case sits in the material property, not in the safety factor. Cyclic loading needs a fatigue check (DIN 743 shaft calculator), not a larger factor. The series applies to ductile materials against the yield strength; brittle materials are checked against tensile strength with 4.0 to 9.0 (Läpple, table 2.2).
Where do the shear modulus and yield strength of the material list come from?
They are published guide values from the product standards: EN 10025-2 for the structural steels S235 and S355 as well as E295, EN 10083-2/-3 for C45 and 42CrMo4, EN 10088-2 for the stainless X5CrNi18-10 and EN 755-2 for the aluminium alloys. The yield strengths apply to product thicknesses up to 16 mm; thicker material is lower, for S355 per EN 10025-2 for example 345 N/mm² up to 40 mm and 335 N/mm² up to 63 mm. The shear modulus is taken as 81000 N/mm² for steel, 77000 N/mm² for the austenitic steel and 26000 N/mm² for aluminium. If you have an inspection certificate, a data sheet or a different material, pick the custom entry in the list and enter G and R_e yourself.
What is the specific twist, and when is it too large?
It is the angle of twist per metre of bar length, φ' = T/(G·I_t), reported in degrees per metre. Roloff/Matek (18th edition, p. 358) gives 0.25 to 0.5 degrees per metre for gearbox and machine shafts and treats the stiffness check explicitly as the second step after the stress check. Three levels are on offer - 0.25 for gearbox and machine-tool shafts, 0.35 for general mechanical engineering, 0.5 for secondary shafts - plus any value of your own. It is a serviceability guide value and not a code check; what matters is what the function tolerates. Where the twist itself is disturbing - indexing of a rotary table, angular position of a measuring system, torsional vibration in a drive train - your own, usually stricter value applies. Because φ' falls with the fourth power of the diameter while the stress falls only with the third, stiffness almost always governs on long shafts, not strength. For an open section the traffic light is therefore red with the starting values, and that is not a mistake: an IPE 200 twists by 5.2 degrees per metre under 500 Nm, a U 200 by 3.1 - the shaft guide value of 0.25 degrees per metre is the wrong yardstick for such a section. If you load an open section in torsion, check what the function tolerates and set the guide value accordingly; where torsional stiffness matters, a closed section belongs there anyway.
I only know power and speed - how do I get the torque?
Via T = 9550·P/n with P in kW, n in revolutions per minute and T in Nm. The number is 30000/π = 9549.3 and follows from P = T·ω with ω = 2·π·n/60. Example: 7.5 kW at 1450 rpm gives 49.4 Nm. Downstream of a gearbox use the output speed, otherwise the motor speed; the torque, speed & power calculator does the conversion including units for you. Mind the difference between rated and peak torque: what counts for a check against the yield strength is the largest torque that occurs - starting, braking, stalling - not the continuous torque in service.
What do green, amber and red mean?
The calculator rates two things separately. For the shear check the utilisation counts, that is the required safety factor divided by the available one. Red means: the check is not satisfied - the torsional shear stress exceeds τ_allow = τ_F/S_req. Amber means: satisfied, but with less than 10 percent reserve. An available safety factor below the required one is therefore red and not amber, because a check that is not satisfied is not borderline, it has failed. The specific twist follows the same direction, only against a guide value instead of a yield limit: red means the guide value you set is exceeded, amber means it is used up by more than 90 percent. If you want more reserve, raise S_req or tighten the guide value instead of interpreting the light.
What does the calculation cover - and where are its limits?
Straight, prismatic bars under pure torsion (Saint-Venant) with free warping, linear-elastic. Not included are restrained warping (e.g. at fixed ends of open sections), superimposed bending, notch effects at shoulders and keyways, and local buckling of thin-walled sections. For rotating, fatigue-loaded shafts an additional fatigue check per DIN 743 is required.
Related tools
Shaft strength DIN 743
Pro exportCalculate the safety verification for shafts and axles per DIN 743.
Equivalent Stress (von Mises)
Pro exportCalculate equivalent stress online by the von Mises (distortion energy), Tresca (maximum shear) and Rankine (maximum principal stress) theories: plane stress state or combined shaft loading, principal stresses, Mohr's circle and a safety check with traffic-light rating.
Area Moment of Inertia & Section Modulus
Free reportCalculate area moment of inertia and section modulus of common cross-sections: rectangle, circle, tube, I- and U-profile.
Torque, Speed & Power
Pro exportConvert between torque, speed and power: P = M·ω for rotating drives.