Geometry

Volume of a square pyramid

To calculate the volume of a square pyramid, multiply the base area (a² by the perpendicular height (h), then divide the result by 3.

Formula

V=\frac{a^{2} h}{3}

V is volume, a is base side length, and h is vertical perpendicular height

How to Calculate the Volume

A square pyramid consists of a flat square base and four triangular faces meeting at an apex. To find its capacity or volume, first calculate the area of the base by squaring the base side length: a².

Next, multiply this base area by the vertical height (h) running from the center of the base directly to the apex. Finally, divide by 3 because a pyramid occupies exactly one-third the space of a square prism with identical base dimensions and height.

For example, if a pyramid has a base side length of 4 cm and a height of 9 cm, the base area is 4 · 4 = 16 cm². Multiplying 16 by 9 gives 144, and dividing 144 by 3 yields a final volume of 48 cm³.

Where This Formula Is Used

You will encounter this formula in middle school and high school geometry (such as GCSE Maths and US Geometry courses). Exam questions frequently test your ability to distinguish between vertical height and slant height.

Outside the classroom, architects, engineers, and construction workers use pyramid volume formulas to calculate concrete, roofing materials, and structural loads for pyramid-shaped roofs and monuments.

It also appears in packaging design and 3D printing when estimating the amount of material or resin needed to manufacture tapered geometric objects.

Common Mistakes to Avoid

The most common error is confusing perpendicular height (h) with the slant height (s) along the triangular face. The slant height is the hypotenuse of a right-angled triangle formed inside the pyramid and is always longer than the true vertical height.

If a question gives you the slant height instead of the vertical height, use the Pythagorean theorem: h = √(s² - (a/2)² before applying the volume formula.

Another frequent mistake is forgetting to divide by 3 at the end. Multiplying base area by height gives the volume of a full rectangular box or prism, not a pyramid.

Quick Mental Trick and Estimation Check

To quickly check your answer or do mental math, divide the height by 3 first if the height is a multiple of 3. In the example where a = 4 and h = 9, compute 9 / 3 = 3 first, then simply multiply 16 · 3 = 48.

You can also use a bounding box check: imagine a rectangular prism with the same base and height. Your pyramid volume must always be exactly one-third of that box.

Always double-check your units. If dimensions are in centimeters, the volume must be in cubic centimeters (cm³; if in meters, cubic meters (m³.

Worked examples

Example 1a is the side of the square base and h is the perpendicular height. a=4,\;h=9. Find V.

  1. Write the relationship for the requested quantity.

    V=\frac{a^{2} h}{3}
  2. Substitute each value, keeping its sign.

    \frac{\left(\left(4\right)^{2}\cdot 9\right)}{3}
  3. Simplify the expression to obtain the exact result.

    48
Answer48Verified by computation

Example 2a is the side of the square base and h is the perpendicular height. a=5,\;h=12. Find V.

  1. Write the relationship for the requested quantity.

    V=\frac{a^{2} h}{3}
  2. Substitute each value, keeping its sign.

    \frac{\left(\left(5\right)^{2}\cdot 12\right)}{3}
  3. Simplify the expression to obtain the exact result.

    100
Answer100Verified by computation

Example 3a is the side of the square base and h is the perpendicular height. a=9,\;h=4. Find V.

  1. Write the relationship for the requested quantity.

    V=\frac{a^{2} h}{3}
  2. Substitute each value, keeping its sign.

    \frac{\left(\left(9\right)^{2}\cdot 4\right)}{3}
  3. Simplify the expression to obtain the exact result.

    108
Answer108Verified by computation

Questions and answers

What is the formula for the volume of a square pyramid?

The formula is V = (a² · h) / 3, where a is the length of one side of the square base and h is the vertical height from the base to the top vertex.

How do you find height if you only have slant height?

Use the Pythagorean theorem with the vertical height, half the base side length, and the slant height: h = √(slant_height² - (a/2)².

Why is pyramid volume divided by 3?

Three pyramids of equal base and height fit perfectly inside a prism of the same base and height, meaning a pyramid always takes up exactly one-third of that prism's volume.

What is the difference between slant height and pyramid height?

Pyramid height is the vertical line from the base center straight to the apex, whereas slant height is the distance measured along the outside surface from the edge of the base up to the apex.

Solve your own problem

Different numbers or a harder variant? Type it in and get the steps.

Enter solves, Shift+Enter adds a line