Packet from Virginia Tech for the Center of the Known ...

The volume can be calculated by the formula V equals H over 3 times the quantity A squared plus AB plus B squared, where H is the vertical height, A is the length of a side of the base, and B is the length of a side of the top; if B equals zero, then the volume of a regular square pyramid results. ................
................