Diagram shows a vertical bar of length 10.00 and thickness 6. The centroid is centered on the bar.

The moment of inertia for a rectangle about its own centroidal axis is given by:

where
      b = base of the rectangle and
      h = height of the rectangle.

For example, consider the moment of inertia of the rectangle shown.

To calculate the moment of inertia about the horizontal centroidal axis,

The moment of inertia for a rectangle