B = area of one base · P = perimeter of the base · h = height (length) of the prism. The 2B covers both bases, and Ph wraps around all the side faces.