Pyramid Volume

Calculate the volume of a rectangular-based pyramid from its base length, base width, and height. The volume equals one third of the base area times the height (V = length x width x height / 3). All inputs use metric units (meters) with an optional imperial conversion shown alongside.

Volume72 m³
Base Area
24 m²
Volume (cubic feet)
2,542.66 ft³

Formula: V = (base length x base width x height) / 3. Use consistent units; this calculator assumes meters and reports cubic meters, with cubic feet shown as a secondary value.

What the Pyramid Volume Calculator Does

This calculator finds the volume of a rectangular pyramid, a solid with a rectangular base and four triangular faces that meet at a single point (the apex). Enter the base length, base width, and the perpendicular height, and it returns the enclosed volume in cubic units.

It is useful for students checking geometry homework, teachers building worksheets, and anyone working on a practical project such as estimating the contents of a hopper, a tent, a roof section, or a decorative pyramid. Because every measurement uses the same unit, the result comes back in that unit cubed.

How Pyramid Volume Is Calculated (Formula)

The volume of any pyramid equals one-third of its base area multiplied by its height. For a rectangular base, the base area is length times width, so the formula simplifies to:

Volume = (length × width × height) / 3, often written V = l · w · h / 3.

The one-third factor is what separates a pyramid from a box (rectangular prism) with the same base and height. A pyramid always holds exactly one-third the volume of the prism that surrounds it, because its sides taper to a point instead of staying vertical.

Worked Example With Real Numbers

Suppose a pyramid has a base 6 m long, 4 m wide, and a height of 9 m.

First find the base area: 6 × 4 = 24 m². Multiply by the height: 24 × 9 = 216. Then divide by 3: 216 / 3 = 72.

The volume is 72 cubic metres (m³). As a check, a box with the same base and height would hold 24 × 9 = 216 m³, and 72 is exactly one-third of that, confirming the result.

Use the Perpendicular Height, Not the Slant Height

The single most common mistake is using the slant height instead of the perpendicular height. The height in the formula is the straight vertical distance from the base up to the apex, measured at a right angle to the base.

The slant height runs along a triangular face from the base edge to the apex and is always longer. Plugging it into the formula overstates the volume.

If you only know the slant height, you can recover the true height with the Pythagorean theorem: height = √(slant² − a²), where a is the horizontal distance from the base center to the midpoint of the relevant edge.

Tips and Factors That Affect the Result

A few habits keep your answers reliable:

  • Keep units consistent. Convert everything to one unit (all metres or all inches) before calculating, or your result will be wrong.
  • Apex position does not matter. Volume depends only on base area and height, so a slanted (oblique) pyramid has the same volume as a right pyramid with the same base and height.
  • Label the result in cubic units. Volume is three-dimensional, so the answer is cm³, m³, in³, or ft³, not flat square units.
  • Round at the end. Carry full precision through the steps and round only the final figure to avoid compounding errors.
  • Square base shortcut. If length equals width, the formula becomes V = side² × height / 3 — a special case of the same equation.

Frequently asked questions

What is the formula for the volume of a pyramid?

For a rectangular-based pyramid the volume is V = (base length x base width x height) / 3. More generally, V = (1/3) x base area x height for any pyramid.

What units should I use?

Enter all three measurements in the same unit. This calculator assumes meters, so the volume is given in cubic meters (and cubic feet as a secondary value).

Is the height the slant height or the vertical height?

Use the perpendicular (vertical) height from the base to the apex, not the slant height along a face. Using slant height will overstate the volume.

Does this work for square pyramids?

Yes. A square pyramid is just a rectangular pyramid where base length equals base width, so enter the same value for both.