The volume of a pyramid is one third the volume of a prism with the same base and perpendicular height.

V = x Area of base x Height

V = Ah

For example, a pyramid has a rectangular base 30 cm x 10 cm and perpendicular height 25 cm.

Area of base = 30 x 10 = 300 cm^{2}

Volume = x Ah

= x 300 x 25

= 3750 cm^{3}

**Example 1**** :** Calculate the volume of a rectangular pyramid with base 30 cm x 15 cm and a perpendicular height of 16 cm.

Volume = x Ah

= x 30 x 15 x 16

= 2400 cm^{3}

**Example 2**** :** Calculate the volume of a square pyramid (i.e. pyramid with a square base) with base edge 9 cm and perpendicular height 14 cm.

Volume = x Ah

= x 9 x 9 x 14

= 378 cm^{3}

Sometimes instead of the height, you are given the slant height, i.e. the length along the side face of the pyramid.

In that situation, you will need to use Pythagoras Theorem to first find the height of the pyramid, and then apply it to the volume formula to obtain the volume of the pyramid.

**Example 3**** :** Calculate the volume of a square pyramid with base edge 24 cm and slant height 20 cm.

Here we need to first find the height of the pyramid.

Height =

= (the base of this right-angled triangle is half the length of the base of the pyramid)

=

= 16 cm

Volume of a square pyramid = x Ah

= x 24 x 24 x 16

= 3072 cm^{3}

**Example 4**** :** Calculate the volume of a rectangular pyramid with the dimensions in this diagram (correct to 1 decimal place).

Given slant height 14 cm, we have to first work out the height of the pyramid.

Note the base of the triangle is half the length of the side (here 30 cm).

Height of pyramid =

=

= 21.2 cm

Volume of pyramid = x Ah

= x 14 x 30 x 21.2

= 2968 cm^{3}