The volume of a square pyramid defines the total space occupied by the pyramid in three-dimensional space. The measure of this volume is obtained by multiplying the area of the base of the pyramid by its height and dividing the product by three. The base is a square, so we find its area by squaring one of its side lengths. Volume is a three-dimensional measure, so we use cubic units to represent it.

Here, we will learn about the formula that we can use to calculate the volume of square pyramids. Then, we will use this formula to solve some practice problems.

## Formula to find the volume of a square prism

The volume of any pyramid is found by multiplying the area of its base times the length of its height and dividing by three. This means that we have the following formula:

We know that the base of a square pyramid is a square. Furthermore, we also know that the area of a square is found by squaring one of its side lengths. Therefore, we have the following formula:

where, *l* is the length of one side of the square base, and *h* is the height of the pyramid.

## Volume of a square pyramid – Examples with answers

The following examples can be used to practice applying the formula for the volume of square pyramids. Try to solve the examples yourself before looking at the answer.

**EXAMPLE 1**

What is the volume of a square pyramid that has a height of 5 m and sides of length 4 m?

##### Solution

We have the following lengths

- Sides of the square,
- Height of pyramid,

Therefore, we use these values in the volume formula:

The volume is equal to 26.67 m³.

**EXAMPLE 2**

If we have a pyramid with a height of 6 m and a square base with sides of 5 m, what is its volume?

##### Solution

From the question, we get the following information:

- Sides of the square,
- Height of pyramid,

By substituting these values into the volume formula, we have:

The volume is equal to 50 m³.

Start now: Explore our additional Mathematics resources

**EXAMPLE 3**

What is the volume of a pyramid that has a height of 9 m and a square base with sides of length 8 m?

##### Solution

We observe the following information:

- Sides of the square,
- Height of pyramid,

Using these values in the volume formula, we have:

The volume is equal to 192 m³.

**EXAMPLE 4**

A square pyramid has a volume of 96 m³. If its sides are 6 m long, what is the length of its height?

##### Solution

We have the following values:

- Sides of the square,
- Volume,

In this case, we have the volume and we want to find the length of the height of the pyramid. Therefore, we use the volume formula and solve for *h*:

The length of the height is equal to 8 m.

**EXAMPLE 5**

If a square pyramid has a volume of 75 m³ and a height of 9 m, what is the length of its height?

##### Solution

We have the following information:

- Height,
- Volume,

We use the volume formula and solve for it:

The length of the sides is equal to 5 m.

## Volume of a square pyramid – Practice problems

Use the formula for the volume of square pyramids to solve the following practice problems. If you need help with this, you can look at the solved examples above.

## See also

Interested in learning more about geometric pyramids? Take a look at these pages:

- Surface Area of a Square Pyramid – Formulas and Examples – Mechamath
- Volume of a Hexagonal Pyramid – Formulas and Examples – Mechamath
- Surface Area of a Hexagonal Pyramid – Formulas and Examples – Mechamath
- Volume of a Pentagonal Pyramid – Formulas and Examples – Mechamath
- Surface Area of a Pentagonal Pyramid – Formulas and Examples – Mechamath
- Parts of a Geometric Pyramid – Mechamath

### Learn mathematics with our additional resources in different topics

**LEARN MORE**