The parallel-axis theorem

About an axis a distance $d$ from a parallel one through the centroid, $I = \bar{I} + Ad^2$, so a composite section's moment of inertia is the sum of each part's own value plus its area times its distance squared.

From Statics.