The volume of a pyramid is given by:
olume = A
rea of base x H
where A is the area of the base of the pyramid and H is the height.
The rule for finding the volume of a pyramid is the same no matter what polygon forms the base. Of course, how you find the area of the base will depend on the polygon that forms the base.