Volume of a pyramid calculator

Volume of a pyramid: V = a² × h / 3.

loading Volume of a pyramid calculator
About this tool

Volume of a pyramid: how it works

A square pyramid rises from a square base of side a to a point at height h. Its volume is a third of the prism with the same base and height. The triangular faces slope at the slant height g, measured from the middle of a base edge to the tip.

V is the volume, a the side of the square base, h the height, g = √(h² + (a/2)²) the slant height of a face, Sl the lateral area and S the total surface.

This page opens the geometry calculator on this figure: type the measures and read every result at once, with the figure drawn and each formula next to its value. Everything is computed in your browser.

Formulas

  • Volume: V = a² × h / 3
  • Slant height: g = √(h² + (a/2)²)
  • Lateral area: Sl = 2 × a × g
  • Total surface: S = a² + 2 × a × g

Worked example

With a = 6, h = 4:

V = a² × h / 3 = 36 × 4 / 3 = 48
g = √(h² + (a/2)²) = √(16 + 9) = 5
Sl = 2 × a × g = 2 × 6 × 5 = 60
S = a² + 2 × a × g = 96

Table of sizes

Computed with the calculator’s own formulas, in any one unit of length (the results are in that unit, squared or cubed).

ahVolumeSlant heightLateral areaTotal surface
62243.605643.266679.2666
644856096
66726.708280.4984116.4984
68968.544102.528138.528
61012010.4403125.2837161.2837
61518015.2971183.5647219.5647
62024020.2237242.685278.685

Volume for combinations of a and h

a \ h36912
2481216
416324864
63672108144
10100200300400

Working backwards

The prism with the same base and height holds 144, three times the pyramid’s 48. For a target volume, h = 3V / a². Four triangular faces of base 6 and height 5 add up to 60 units².

Common mistakes

  • The height h is vertical, from the center of the base to the tip. The slant height g is longer and only enters the surface area.
  • This calculator is for square bases. For a rectangular base use V = base area × h / 3 by hand, or the rectangular prism page divided by 3.

Where it is used

  • The Great Pyramid of Giza, a square base of about 230.3 m and a height of 146.6 m (original), had roughly 2,591,794.66 m³ of stone.
  • A pyramidal roof 6 m square and 4 m tall has 60 m² of slope in total (four faces of 15 m²), which is the area to tile.

Units

Volumes come out in cubic units of the length you type: cm × cm × cm gives cm³. 1 cm³ = 1 ml; 1000 cm³ = 1 liter; 1 m³ = 1000 liters; 1 ft³ = 28.317 liters; 1 US gallon = 3.785 liters.

How to use the calculator

  1. Fill in the measures of the figure; the example values are already there.
  2. Choose the unit of length: the results follow it, in square or cubic units.
  3. Read volume and the other measures, and copy them all with one button.

Frequently asked questions

What is the formula for the volume of a pyramid?

V = base area × h / 3; for a square base of side a, V = a² × h / 3. With a = 6 and h = 4, V = 48.

What is the slant height of a square pyramid?

The height of one triangular face: g = √(h² + (a/2)²). Here g = 5.

How is a pyramid related to a prism and a cone?

All three follow the same rule: a pointed solid holds one third of the straight one with the same base and height, pyramid vs prism and cone vs cylinder.

Report a problem