Pyramid Volume Calculator
This pyramid volume calculator works out V = 1/3 × a² × h for a square pyramid from its base edge and height, with the slant height of each face and the total surface area. The answer updates as you type.
Pyramid Volume Calculator
Pyramid volume formula
V = 1/3 × a² × h a = edge of the square base, h = height straight up from the base to the tip Slant height of a face = √((a/2)² + h²) Surface area = a² + 2 × a × slant heightA pyramid fills one third of the box with the same base and height. It's the same rule as for a cone, which is one third of a cylinder. Whatever the base, any solid that narrows to a single point has one third of the volume of the matching prism.
Worked example: the Great Pyramid
The Great Pyramid of Giza had a square base about 230 m on each side and stood about 146.6 m tall when it was finished. These are rounded figures, so treat the result as an estimate.
V = 1/3 × 230² × 146.6 = 1/3 × 52,900 × 146.6 = 2,585,046.67 m³ Face slant height = √(115² + 146.6²) = 186.32 mThat's about 2.6 million cubic meters of stone, or 2.6 billion liters if it were hollow and filled with water. Its four sloping faces and base cover 138,608.95 m² in total.
Height or slant height?
The volume needs the vertical height, from the center of the base straight up to the tip. Measurements taken along a face give the slant height instead. Convert with h = √(slant² − (a/2)²). For a pyramid with its top cut off flat, compute the full pyramid and subtract the missing top, which is a smaller pyramid with the same shape.
For other shapes, the volume calculator has a quick calculator for each one, and links to its own page.
Frequently asked questions
What is the formula for the volume of a pyramid?
One third of the base area times the height: V = 1/3 × base × h. For a square base of edge a, V = 1/3 × a² × h. A pyramid with a 4 m base and 6 m height has a volume of 1/3 × 16 × 6 = 32 m³.
Why is a pyramid one third of a box?
Three identical pyramids can be fitted together to make a box with the same base and height, so each is a third of it. The same one-third rule holds for cones and for any pointed solid.
Does it work for a rectangular or triangular base?
Yes, as long as you use that base's area: V = 1/3 × base area × height. For a rectangle l × w, V = l × w × h ÷ 3. This calculator's surface area assumes a square base.
See also
- Cone Volume Calculator: Volume, slant height and surface area of a cone.
- Cube Volume Calculator: Volume and surface area of a cube from one edge.
- Rectangular Prism Volume Calculator: Volume of a box, room or rectangular tank in gallons and liters.
- Frustum Volume Calculator: Volume of a truncated cone: buckets, pots, cups and lampshades.
Last updated: November 28, 2026