Pyramid Volume Calculator

Enter a pyramid's base length, base width, and perpendicular height to get its volume (V = ⅓lwh), base area, and equivalent prism volume.

Quick Facts

Volume formula
V = ⅓ × l × w × h
One-third of the base area times the perpendicular height.
Base area formula
A = l × w
For a square pyramid, set l = w.
Pyramid vs. prism
V(pyramid) = ⅓ × V(prism)
A box with the same base and height splits into 3 equal pyramids.

Your Results

Calculated
Volume
-
V = ⅓ × base area × height
Base Area
-
A = l × w
Equivalent Prism Volume
-
Same base and height, no ⅓ factor
Volume Ratio
-
Pyramid volume vs. prism volume

Ready

Enter base length, base width, and height, then press Calculate.

Formula and Method for Pyramid Volume

A pyramid is a solid with a polygonal base and triangular faces that meet at a single point called the apex. For a pyramid with a rectangular (or square) base, the volume is one-third of the base area times the perpendicular height: V = (1/3) × l × w × h, where l and w are the base length and width, and h is the vertical distance from the apex straight down to the plane of the base. This calculator also reports the base area and the volume of the equivalent prism (a box with the same base and height) so you can see the 1/3 relationship directly.

How the calculation works

Enter the base length, base width, and perpendicular height, then choose the unit they're measured in. The calculator multiplies base length by base width to get the base area (A = l × w, in square units such as ft² or m²), then multiplies the base area by the height and divides by 3 to get the volume (V = (1/3) × A × h, in cubic units such as ft³ or m³). For a square pyramid, enter the same value for base length and base width so the formula reduces to V = (1/3) × s² × h. The equivalent prism volume (A × h, with no 1/3 factor) is shown for comparison — a pyramid always occupies exactly one-third the volume of a prism sharing the same base and height, because that prism can be partitioned into three pyramids of equal volume.

Common mistakes

  • Slant height instead of vertical height: the h in V = (1/3)lwh must be the perpendicular height from the apex to the base plane, not the slant height along a triangular face. Using slant height overstates the volume.
  • Forgetting the 1/3 factor: multiplying base area by height alone gives the volume of a prism, not a pyramid — that result is exactly three times too large.
  • Mixing units: keep base length, base width, and height in the same unit before entering them; convert inches to feet or centimeters to meters first.

Real-world applications

  • Architecture and construction use pyramid volume to estimate material quantities for roofs, spires, and pyramidal structures.
  • Engineering and earthworks use it to estimate the volume of stockpiles, embankments, or excavation spoil that approximate a pyramid or cone shape.
  • Geometry and archaeology use it to estimate the volume of pyramidal monuments from base and height measurements.
  • Packaging and product design use it to size pyramid-shaped containers or displays.

Frequently Asked Questions

What is the formula for the volume of a pyramid?
The volume of a pyramid is one-third the base area times the height: V = (1/3) × A(base) × h. For a rectangular base, A(base) = l × w, so V = (1/3) × l × w × h. For example, a pyramid with a 6 by 4 base and a height of 9 has a volume of (1/3) × 6 × 4 × 9 = 72 cubic units.
Why is a pyramid's volume one-third of a prism's?
A prism (or box) with the same base and height as a pyramid can be divided into three pyramids of equal volume, which is why the pyramid volume formula includes the 1/3 factor. This holds for any pyramid, regardless of the base shape, as long as the height is measured perpendicular to the base.
Does the height have to be the slant height?
No. The height (h) in the volume formula is the perpendicular height — the straight-line distance from the apex down to the plane of the base, not the slant height along a triangular face. Using slant height instead of perpendicular height will overstate the volume.
How do I find the volume of a square pyramid?
A square pyramid is just a special case where the base length and base width are equal (l = w = s), so the formula simplifies to V = (1/3) × s² × h. Enter the same value for base length and base width to use this calculator for a square pyramid.