Skip to content
MasterMath

Pyramid Volume Calculator

A square pyramid holds a third of the box with the same base and height. Its four triangular faces need the slant height, which runs from the apex down the middle of a face, not down an edge.

Volume

—

Volume—
Total surface area—
Lateral surface area—
Slant height—
Base area—

How this was worked out

    The volume and surface area formulas

    V = 1/3 a²h
    A = a² + 2a·l

    Where the formula comes from

    Three identical pyramids fit exactly inside a cube — a demonstration you can do with paper — which is where the one-third comes from. The slant height is the height of one triangular face, and it is √(h² + (a/2)²): a right triangle formed by the vertical height and half the base edge. Each face has area a·l/2, and there are four.

    A worked example, step by step

    A square pyramid with a base edge of 6 cm and a height of 4 cm

    1. Base area: 6² = 36 cm².
    2. Volume: 1/3 × 36 × 4 = 48 cm³.
    3. Slant height: √(4² + 3²) = 5 cm.
    4. Lateral surface: 4 × (6 × 5 ÷ 2) = 60 cm².

    Watch the units: volume goes in cubic units and surface area in square ones. Mixing them is the most common mistake.

    Where it turns up in practice

    Roofs, marquees and hoppers, plus anything that needs to shed water from a square plan. Historically it is the shape of the Egyptian pyramids, whose builders clearly understood the one-third rule long before anyone wrote it down.

    Frequently asked questions

    How do you calculate the volume of a pyramid?

    A third of the base area times the vertical height. It works for any base shape, not just squares.

    What is the difference between height and slant height?

    The height is vertical, from the apex straight down to the base. The slant height runs down the middle of a triangular face and is always longer.

    Why is a pyramid a third of a prism?

    Because three identical pyramids fill a cube exactly. It is a general result for any shape that tapers to a point.

    Does this work for a triangular pyramid?

    The one-third rule does, but this calculator assumes a square base. For other bases, work out the base area separately.