Easy CalculatorsOnline
A little less guesswork.

Geometry · EVERYDAY CLARITY

Pyramid volume calculator

Measure a rectangular-based pyramid from base and height.

Units & number format

Number formatting changes the display; the interface and guides are in English. Dates use calendar controls; numeric lists use decimal points and comma or space separators.

01 · CALCULATE

Work out your numbers

Your inputs stay in this browser.

Example result · using the values shown

Pyramid volume
72
See visual ↓

Volume=base length×base width×perpendicular height/3.

02 · SEE THE RESULT

Your numbers, pictured

Example visualization

A rectangular-based pyramid

A rectangular-based pyramidPerpendicular height connects the base plane to the apex. The perspective is illustrative.64h = 9

Perpendicular height connects the base plane to the apex. The perspective is illustrative.

03 · UNDERSTAND THE METHOD

How the pyramid volume calculator works

A pyramid connects a polygonal base to a single apex. This calculator uses a rectangular base, described by length and width, and the perpendicular distance from the base plane to the apex. Multiplying base area by that height and dividing by three gives the ideal volume. The calculation is useful for geometry lessons and comparisons with rectangular prisms that share the same base dimensions and height.

The formula and its variables

Base area B = length × width; V = Bh/3
Length and width
Adjacent dimensions of the rectangular base.
h
Perpendicular height from base plane to apex.
V
Enclosed volume in cubic units.

The calculation, step by step

  1. Enter the rectangular base’s length and width in a common unit. If the base is square, use the same value for both dimensions.
  2. Enter perpendicular height, not the slope length of a triangular face or the edge to a corner. Determine height separately if your measurements provide only sloping distances.
  3. Multiply the two base dimensions and height, then divide by three. Label the result with the cube of the chosen length unit.

A worked example

A pyramid with base 6 meters by 4 meters and perpendicular height 9 meters has base area 24 square meters. Its volume is 24 × 9 ÷ 3 = 72 cubic meters. The matching rectangular prism encloses 216 cubic meters. Swapping the base length and width does not change the result, since both describe the same rectangular area.

Example inputs and calculated output
Base length6
Base width4
Perpendicular height9
Pyramid volume72

How to read the result and visual

The factor one third reflects the narrowing horizontal cross-sections toward the apex. A larger base and a taller pyramid each increase volume, but surface area depends on further face dimensions. Volume alone does not identify the lengths of the sloping edges. Doubling all three entered dimensions increases volume eightfold because three independent length factors are multiplied.

Assumptions, rounding, and limitations

The base must be rectangular and the figure must taper to a single apex. Truncated pyramids and stepped structures require another calculation. Height is perpendicular to the base plane, even if the apex is offset from the center. The ideal geometric answer excludes wall thickness, cutouts, excavation allowances, packing gaps, and physical measurement uncertainty.

Frequently asked questions

Can this calculate a square pyramid?

Yes. Set base length and width equal and supply the perpendicular height.

Is slant height acceptable?

No. A sloping face measurement must be converted to perpendicular height using the relevant geometry first.

Reference sources

How we check calculations and what verification covers