Polar Moment of Inertia Calculator

Find the polar moment of inertia of a shaft cross-section and use it to get torsion shear stress and the angle of twist.

⭕ Polar Moment of Inertia Calculator
Length unit for sizes and shaft length
Outer diameter (D)
5200
Inner diameter (d), 0 for solid
Torque (T), optional
Shaft length (L)
Material (typical G)
Shear modulus (G)
GPa
Shape
Width or side (b)
Height (h)
Polar moment of inertia (J)
—
J in mm⁴
—
J in in⁴
—
J in m⁴
—
Section type
—
Polar section modulus (J/R)
—
Polar radius of gyration
—
Peak shear stress (outer surface)
—
Peak shear stress (psi)
—
Shear stress at the bore
—
Angle of twist
—
Angle of twist (radians)
—
Torsional stiffness (G J / L)
—

Polar moment of inertia (J = Ix + Iy)
—
J in mm⁴
—
J in in⁴
—
Ix about the horizontal axis
—
Iy about the vertical axis
—
Area
—
Polar radius of gyration
—

⭕ What is the Polar Moment of Inertia?

The polar moment of inertia of a cross-section, also called the second polar moment of area and written J, measures how a shape's area is distributed around a point, usually its centroid. It is defined as the integral of r squared over the area, so material far from the centre counts much more than material near it. In engineering, J is the geometric property that governs how a shaft resists twisting: for a given torque, a larger J means a lower shear stress and a smaller angle of twist.

You meet J whenever a shaft carries torque. Designers size drive shafts, axles, propeller shafts, drill rods and torsion bars with it. Machine designers compare solid and hollow shafts to save weight, and students use it in strength of materials to compute shear stress from the torsion formula and the twist from the angle formula. For a circle the answer has a clean closed form, J = pi D to the fourth over 32, and for a hollow tube you subtract the bore, J = pi (D to the fourth minus d to the fourth) over 32.

The name causes confusion. In physics, moment of inertia usually means the mass moment of inertia, measured in kg m squared, which describes how hard it is to change a body's rotational speed. The polar moment of inertia of an area is a different quantity with units of length to the fourth power, such as mm4 or in4. It contains no mass at all, only geometry. If you need the energy or acceleration of a spinning body, use the rotational kinetic energy calculator instead. For bending rather than twisting, you need the second moment of area.

This calculator handles both jobs. Circular shaft mode gives J for a solid or hollow circle in mm4, in4 and m4, and, if you enter a torque, length and shear modulus, the peak shear stress and twist angle with a plot of stress against radius. Other sections mode gives J, Ix, Iy and area for a rectangle, ellipse or equilateral triangle. Remember that the torsion equations are valid for circular shafts in the elastic range only.

📐 Formula

J  =  π ( D4 − d4 ) / 32   |   τ  =  T r / J   |   φ  =  T L / ( G J )
J = polar moment of inertia of the area (length4); d = 0 gives the solid shaft J = π D4 / 32
D, d = outer and inner diameters; r = radius at which the stress is wanted (largest at r = D / 2)
T = applied torque (N·m; lbf·in is converted at 0.1129848 N·m per lbf·in)
τ = shear stress (Pa); φ = angle of twist (radians); L = shaft length; G = shear modulus (Pa)
Other sections: J = Ix + Iy. Rectangle: b h ( b² + h² ) / 12. Ellipse with full axes b and h: π b h ( b² + h² ) / 64. Equilateral triangle of side a: √3 a4 / 48
Unit conversion: 1 in4 = 416,231 mm4, because 1 in = 25.4 mm and 25.44 = 416,231
Example: D = 40 mm, d = 35 mm gives J = π ( 2,560,000 − 1,500,625 ) / 32 = 104,004 mm4

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Circular shaft for solid or hollow circles with optional torsion, or Other sections for a rectangle, ellipse or equilateral triangle.
2
Enter the size and load. Select the length unit, type the diameters or dimensions, and for torsion add the torque, shaft length and shear modulus. Use an inner diameter of 0 for a solid shaft.
3
Read the results. Read J in your unit, mm4 and in4, then the peak shear stress and twist angle, and check the cross-section diagram and chart.

💡 Example Calculations

Example 1 — Solid Steel Shaft Under Torque

40 mm solid steel shaft, 800 mm long, 300 N·m, G = 79 GPa

1
J = π × 404 / 32 = 251,327 mm4 (0.6038 in4)
2
Peak shear stress τ = T r / J = 300 × 0.020 / 2.5133e-7 = 23.87 MPa (3,463 psi), at the outer surface
3
Twist φ = T L / (G J) = 300 × 0.8 / (79e9 × 2.5133e-7) = 0.01209 rad = 0.693°
J = 251,327 mm4, τ = 23.87 MPa, twist = 0.693°
Try this example →

Example 2 — Hollow Tube, Section Property Only

Tube with 40 mm outside and 35 mm inside diameter, no torque entered

1
D4 = 2,560,000 and d4 = 1,500,625, so D4 − d4 = 1,059,375
2
J = π × 1,059,375 / 32 = 104,004 mm4 = 0.24987 in4
3
The wall area is 294.5 mm², which is 77 percent less than the 1,256.6 mm² of a 40 mm solid bar, yet J keeps about 41 percent of the solid 251,327 mm4. The polar radius of gyration is 18.79 mm.
J = 104,004 mm4 = 0.24987 in4
Try this example →

Example 3 — Imperial Shaft in Inches and lbf·in

2 in solid steel shaft, 30 in long, 2000 lbf·in, G = 79 GPa

1
J = π × 24 / 32 = 1.571 in4, which is 653,815 mm4
2
Peak stress = 2000 × 1 / 1.571 = 1,273 psi = 8.78 MPa (the torque is 225.97 N·m)
3
Twist = 0.00333 rad = 0.191° over 30 in
J = 1.571 in4, τ = 1,273 psi, twist = 0.191°
Try this example →

Example 4 — Hollow Aluminium Shaft

50 mm outside, 40 mm inside diameter, 1000 mm long, 500 N·m, G = 26 GPa

1
J = π ( 504 − 404 ) / 32 = 362,265 mm4
2
Outer stress = 500 × 0.025 / 3.6226e-7 = 34.51 MPa, and at the bore (r = 20 mm) it is 27.60 MPa
3
Twist = 500 × 1 / (26e9 × 3.6226e-7) = 0.05308 rad = 3.042°
J = 362,265 mm4, τmax = 34.51 MPa, twist = 3.042°
Try this example →

Example 5 — Rectangular Section

Rectangle 60 mm wide and 40 mm high

1
Ix = b h³ / 12 = 60 × 40³ / 12 = 320,000 mm4
2
Iy = h b³ / 12 = 40 × 60³ / 12 = 720,000 mm4
3
J = Ix + Iy = 1,040,000 mm4, area = 2,400 mm². This is a geometric value only, not a torsion constant.
J = 1,040,000 mm4
Try this example →

Example 6 — Elliptical Section

Ellipse with full axes 80 mm and 40 mm

1
Semi-axes a = 40 mm and c = 20 mm, so Ix = π a c³ / 4 = 251,327 mm4
2
Iy = π c a³ / 4 = 1,005,310 mm4
3
J = Ix + Iy = 1,256,637 mm4 and the area is π a c = 2,513 mm²
J = 1,256,637 mm4
Try this example →

Example 7 — Equilateral Triangle

Equilateral triangle with a 100 mm side

1
Ix = Iy = √3 a4 / 96 = 1,804,220 mm4, equal about every centroidal axis
2
J = √3 a4 / 48 = 3,608,439 mm4
3
Area = √3 a² / 4 = 4,330 mm² and the polar radius of gyration is 28.868 mm.
J = 3,608,439 mm4
Try this example →

❓ Frequently Asked Questions

What is the formula for the polar moment of inertia of a circle?+
For a solid circular section J = pi D^4 / 32 = pi r^4 / 2. For a 40 mm diameter shaft this gives 251,327 mm4, which is 0.6038 in4. The polar moment is the sum of the second moments about two perpendicular centroidal axes, Ix + Iy.
How do you calculate the polar moment of inertia of a hollow shaft?+
Use J = pi (D^4 - d^4) / 32, where D is the outer and d the inner diameter. A tube with a 40 mm outside and 35 mm inside diameter has J = 104,004 mm4. The bore removes a large share of J even though it removes less area.
What are the units of polar moment of inertia?+
The area polar moment has units of length to the fourth power, such as mm4, cm4, in4 or m4. One in4 equals 416,231 mm4. The mass moment of inertia used in rotational dynamics has different units, kg m2.
What is the difference between polar moment of inertia and mass moment of inertia?+
The polar moment of inertia of an area, in mm4, measures a cross-section's resistance to twisting. The mass moment of inertia, in kg m2, measures a body's resistance to changes in rotational speed. They share a name and a form, but not a meaning or a unit.
How do you find shear stress in a shaft from torque?+
The shear stress at radius r is tau = T r / J, largest at the outer surface where r = D/2. A 40 mm solid steel shaft carrying 300 N m has J = 251,327 mm4, giving a peak stress of 23.87 MPa.
How do you calculate the angle of twist of a shaft?+
The twist angle in radians is phi = T L / (G J), where L is the length and G is the shear modulus. For the 40 mm shaft with L = 800 mm, T = 300 N m and G = 79 GPa the twist is 0.01209 rad, which is 0.693 degrees.
What is the shear modulus of steel and aluminium?+
Typical values are about 79 GPa for steel and about 26 GPa for aluminium alloys, but they vary by grade and temperature. The presets use these typical values, so use the figure from your material datasheet when accuracy matters.
Does the J formula work for square or rectangular shafts?+
The geometric J = Ix + Iy can be computed for any section, but the torsion formulas tau = T r / J and phi = T L / (G J) only apply to circular sections. Non-circular sections warp when twisted and need a different torsion constant.
Why does a hollow shaft transmit torque efficiently?+
Shear stress is highest at the outer radius and zero at the centre, so core material does little work. A hollow shaft puts material where it matters, giving a high J for its weight. For the same outer diameter it needs less material than a solid shaft.
How does the polar moment relate to the second moment of area?+
The polar moment J about the centroid equals the sum of the second moments of area about two perpendicular axes in the plane, J = Ix + Iy (the perpendicular axis theorem). For a circle Ix = Iy = pi D^4 / 64, so J = pi D^4 / 32.
Can I use inches and lbf in with this calculator?+
Yes. Choose inches as the length unit and lbf in as the torque unit. The unit selects only change how your typed numbers are read, so set them before typing. J is shown in in4, mm4 and m4, and stress in both MPa and psi.

What is the formula for the polar moment of inertia of a circle?

For a solid circular section J = pi D^4 / 32 = pi r^4 / 2. For a 40 mm diameter shaft this gives 251,327 mm4, which is 0.6038 in4. The polar moment is the sum of the second moments about two perpendicular centroidal axes, Ix + Iy.

How do you calculate the polar moment of inertia of a hollow shaft?

Use J = pi (D^4 - d^4) / 32, where D is the outer and d the inner diameter. A tube with a 40 mm outside and 35 mm inside diameter has J = 104,004 mm4. The bore removes a large share of J even though it removes less area.

What are the units of polar moment of inertia?

The area polar moment has units of length to the fourth power, such as mm4, cm4, in4 or m4. One in4 equals 416,231 mm4. The mass moment of inertia used in rotational dynamics has different units, kg m2.

What is the difference between polar moment of inertia and mass moment of inertia?

The polar moment of inertia of an area, in mm4, measures a cross-section's resistance to twisting. The mass moment of inertia, in kg m2, measures a body's resistance to changes in rotational speed. They share a name and a form, but not a meaning or a unit.

How do you find shear stress in a shaft from torque?

The shear stress at radius r is tau = T r / J, largest at the outer surface where r = D/2. A 40 mm solid steel shaft carrying 300 N m has J = 251,327 mm4, giving a peak stress of 23.87 MPa.

How do you calculate the angle of twist of a shaft?

The twist angle in radians is phi = T L / (G J), where L is the length and G is the shear modulus. For the 40 mm shaft with L = 800 mm, T = 300 N m and G = 79 GPa the twist is 0.01209 rad, which is 0.693 degrees.

What is the shear modulus of steel and aluminium?

Typical values are about 79 GPa for steel and about 26 GPa for aluminium alloys, but they vary by grade and temperature. The presets use these typical values, so use the figure from your material datasheet when accuracy matters.

Does the J formula work for square or rectangular shafts?

The geometric J = Ix + Iy can be computed for any section, but the torsion formulas tau = T r / J and phi = T L / (G J) only apply to circular sections. Non-circular sections warp when twisted and need a different torsion constant.

Why does a hollow shaft transmit torque efficiently?

Shear stress is highest at the outer radius and zero at the centre, so core material does little work. A hollow shaft puts material where it matters, giving a high J for its weight. For the same outer diameter it needs less material than a solid shaft.

How does the polar moment relate to the second moment of area?

The polar moment J about the centroid equals the sum of the second moments of area about two perpendicular axes in the plane, J = Ix + Iy (the perpendicular axis theorem). For a circle Ix = Iy = pi D^4 / 64, so J = pi D^4 / 32.