The general formula for the volume of a pyramid is:
[tex] \frac{Area of the basex height}{3} [/tex]
There are other kinds of pyramid such as square pyramid and triangular pyramids where they have different formulas for their bases such that:
Area of the base of a square pyramid: side²
Area of the base of a triangular pyramid: [tex] \frac{base x height of the base}{2} [/tex]