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.
Once again, remember that the base b is the dimension that is parallel to the axis being considered.
The height h is the dimension that is perpendicular to the axis being considered.