Since the shaft is hollow, it will have both an outside diameter and an inside diameter. To distinguish between the two, the symbol D will be used for the outside diameter and the symbol d will be used for the inside diameter.

For a hollow shaft, the polar moment of inertia J is defined as:

J=π32D4-d4

where D is the outside diameter and d is the inside diameter. Factor out the term D4 and simplify to obtain:

J=π32D41-d4D4=π32D41-dD4

where (d/D) is the ratio of inside diameter to outside diameter.