Math

Pyramid Volume Calculator

Find the volume of a square-base pyramid from its base and height.


Pyramid Volume Calculator

Advertisement

A pyramid holds exactly a third of the box built around it — not half, the same one-third relationship a cone has with its surrounding cylinder.

How it works

Squaring the base side length, multiplying by the height, and dividing by 3 gives the volume.

What this does not include

This does not include a rectangular-base pyramid (with two different base side lengths) or a pyramid with a triangular base — this calculator assumes a square base.

How to use this calculator

  1. Enter the base side length and the height.

A worked example

Square base side 6, height 9: volume = (6² × 9) ÷ 3 = 108.

What the variables mean

Variable Meaning
Base side Length of one side of the square base
Height Perpendicular distance from the base to the apex

Edge cases worth knowing

A pyramid holds exactly a third of the box built around it — same base, same height — the identical one-third relationship a cone has to its surrounding cylinder.

A tilted (non-right) pyramid uses the same formula, as long as the perpendicular height — not a slanted edge — is what’s entered.

Frequently asked questions

Why a third, not a half?

It’s the same mathematical relationship a cone has to its surrounding cylinder — a direct result of how a pyramid’s cross-sectional area shrinks linearly from base to apex.

What’s a real-world example of this calculation?

Estimating the volume of an actual pyramid structure, a pyramidal roof section, or a pile of material shaped roughly like a pyramid.

What height should I use if the pyramid is tilted (not a “right” pyramid)?

The perpendicular height from the base to the apex — not the length of a slanted edge, which would overstate the true volume if used instead.

Be the first to rate this

Written by

J. Adeyemi

Statistics writer

J. Adeyemi writes the statistics and probability calculators, from descriptive summaries through to distributions and conditional probability. The recurring theme is scope: each page states precisely which question it answers, because most statistical mistakes come from applying a correct formula to the wrong question. Related-but-different measures get separate pages rather than being quietly merged.

Reviewed by

T. Okafor

Calculator reviewer — mathematics

T. Okafor reviews the mathematics calculators, verifying algebraic correctness and, just as importantly, behaviour at the edges — division by zero, undefined results, and the floating-point cases where a formula technically returns a number that should be reported as undefined. Every test case is recomputed independently rather than taken on trust.

How we write and review

Related calculators