Volume of a Square Pyramid Calculator

Published on: November 19, 2026
Final Answer: Free | Full Steps: Plus

This Volume of a Square Pyramid Calculator finds the space inside a square pyramid from its base edge and its height, and shows the working line by line. A pyramid fills exactly a third of the box with the same square base and height, so the box's volume is worked out and divided by three. The answer is written in cubic units.

b h

In the diagram, the base edge is \(b\) and the height \(h\) is measured straight up from the centre of the base to the tip.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the base edge and the height into the formula.
  4. Work out the volume.

Formula: Volume of a Square Pyramid

This formula gives the space inside a square pyramid. It is a third of the box with the same square base b² and height h.

\(V = \tfrac{1}{3} b^{2} h\)

Required knowledge

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(b = 6, h = 4\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the base edge and the height into the formula.
  4. Work out the volume.

Formula

Formula: Volume of a Square Pyramid

This formula gives the space inside a square pyramid. It is a third of the box with the same square base b² and height h.

\(V = \tfrac{1}{3} b^{2} h\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the volume of a square pyramid whose square base has edge \(b = 6\) and whose height is \(h = 4\). The height is measured straight up from the centre of the base to the tip.

\(b = 6,\; h = 4\)
6 4

Step 2

Step 2 - Write the formula.

In this problem: A pyramid fills exactly a third of the box with the same square base and height. That box has volume \(b^{2} h\), so the pyramid is a third of it.

\(V = \tfrac{1}{3} b^{2} h\)

Step 3

Step 3 - Substitute the base edge and the height into the formula.

In this problem: Replacing \(b\) with \(6\) and \(h\) with \(4\) in \(V = \tfrac{1}{3} b^{2} h\) gives \(V = \tfrac{1}{3} \times 6^{2} \times 4\).

\(V = \tfrac{1}{3} \times 6^{2} \times 4\)

Step 4

Step 4 - Work out the volume.

In this problem: Squaring the base edge gives \(6^{2} = 36\). Multiplying by the height gives \(36 \times 4 = 144\), and a third of that is \(144 \div 3 = 48\).

\(\begin{aligned} V &= \tfrac{1}{3} \times 6^{2} \times 4 \\ &= \tfrac{1}{3} \times 36 \times 4 \\ &= \tfrac{1}{3} \times 144 \\ &= 48 \end{aligned}\)

Final Answer

\(V = 48\)
See Example 2 Hide Example 2

Problem

\(b = 5, h = 9\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the base edge and the height into the formula.
  4. Work out the volume.

Formula

Formula: Volume of a Square Pyramid

This formula gives the space inside a square pyramid. It is a third of the box with the same square base b² and height h.

\(V = \tfrac{1}{3} b^{2} h\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the volume of a square pyramid whose square base has edge \(b = 5\) and whose height is \(h = 9\). The height is measured straight up from the centre of the base to the tip.

\(b = 5,\; h = 9\)
5 9

Step 2

Step 2 - Write the formula.

In this problem: A pyramid fills exactly a third of the box with the same square base and height. That box has volume \(b^{2} h\), so the pyramid is a third of it.

\(V = \tfrac{1}{3} b^{2} h\)

Step 3

Step 3 - Substitute the base edge and the height into the formula.

In this problem: Replacing \(b\) with \(5\) and \(h\) with \(9\) in \(V = \tfrac{1}{3} b^{2} h\) gives \(V = \tfrac{1}{3} \times 5^{2} \times 9\).

\(V = \tfrac{1}{3} \times 5^{2} \times 9\)

Step 4

Step 4 - Work out the volume.

In this problem: Squaring the base edge gives \(5^{2} = 25\). Multiplying by the height gives \(25 \times 9 = 225\), and a third of that is \(225 \div 3 = 75\).

\(\begin{aligned} V &= \tfrac{1}{3} \times 5^{2} \times 9 \\ &= \tfrac{1}{3} \times 25 \times 9 \\ &= \tfrac{1}{3} \times 225 \\ &= 75 \end{aligned}\)

Final Answer

\(V = 75\)
b h

Example Problems

Click one to load it into the box and solve it.