Bending stresses in a flanged shape

The distance from the reference axis (i.e., the top of the flange) to the centroid is 1.974 in. Since the overall height of the tee shape is 8 in., the distance from the bottom of the stem to the centroid is 6.026 in.

Now that the centroid location has been determined, the moment of inertia of the tee shape about this z centroidal axis can be calculated.