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.

The base is the dimension that is parallel to the axis being considered. The height is the dimension that is perpendicular to the axis being considered.

The moment of inertia for a rectangle