Checking pyramid volume against a matching prism
A pyramid holds one third of the volume of a prism with the same base area and perpendicular height, and this page checks that ratio with two calculators.
The one-third rule
A pyramid with base area B and perpendicular height h has volume B h over 3. A prism with the same base and the same height has volume B h. The pyramid is therefore exactly one third of the prism, whatever the shape of the base: square, rectangular, triangular or irregular. Three pyramids of that size together fill one prism by volume. The Pyramid Calculator takes the base area directly, so one input carries all of the base information. The Cuboid Calculator provides the matching prism when the base is a rectangle.
The default pair: base area 12, height 5
Take a rectangular base of 3 by 4, which has area 12, and a perpendicular height of 5. The Pyramid Calculator with base area 12 and height 5 returns 20. The Cuboid Calculator with edges 3, 4 and 5 returns a volume of 60. The ratio 20 over 60 is one third. Each tool uses one formula, B h over 3 for the pyramid and a b c for the box, and a mismatch in the ratio would show that either the base area or the height was entered differently in the two tools. Here both use the same 12 and 5, so the ratio is exact.
A second pair: a 6 by 6 base and height 9
Use a square base of side 6, an illustration, with perpendicular height 9. The base area is 36, the pyramid volume is 36 times 9 over 3, which is 108, and the matching prism has volume 36 times 9, or 324. The Pyramid Calculator with base area 36 and height 9 returns 108, and the Cuboid Calculator with edges 6, 6 and 9 returns 324. Again 108 times 3 is 324. Doubling the height of either solid doubles its volume, and doubling the base side multiplies it by four, so the ratio between pyramid and prism remains one third at every size.
Perpendicular height versus slant height
The height in the formula is the perpendicular distance from the apex to the plane of the base. A pyramid also has edges and triangular faces that slope, and the length along a face from base edge to apex, called the slant height, is greater than the perpendicular height. Using it in B h over 3 overstates the volume. For a square pyramid with base side 6 and perpendicular height 4, the slant height of a face is the square root of 3 squared plus 4 squared, which is 5. Entering 5 instead of 4 would inflate the volume by 25 percent.
A large real-world scale
The rule applies to very large structures too, with the usual caveat that real buildings differ from ideal solids. The Great Pyramid of Giza is commonly described as having an original base of about 230 meters on a side and an original height of about 147 meters, rounded figures that vary slightly by source. With those rounded numbers the base area is 52,900 square meters, and the volume formula gives 52,900 times 147 over 3, which is 2,592,100 cubic meters. That is on the order of 2.6 million cubic meters. The Pyramid Calculator with base area 52,900 and height 147 returns this value. Actual construction included internal chambers and a stepped core, so the ideal figure is only an outline.
Why one third
The factor can be seen without calculus in one case. A cube can be split into three congruent pyramids that share one corner, each with a square face of the cube as its base and a height equal to the cube edge. Each has volume a cubed over 3. For other shapes, the proof uses Cavalieri's principle, which says that solids with equal cross-sectional areas at every height have equal volumes. The cross section of a pyramid at height z shrinks as the square of the remaining distance to the apex, and integrating that gives the one third factor. The same factor appears for a cone compared with a cylinder.
Using the ratio as an error check
The ratio of one third makes a cheap check for volume worksheets. If a pyramid result is not one third of the matching prism, the likely causes are a base area typed in the wrong unit, a height taken along a slope or a prism dimension that does not match. Be careful when the base is not a rectangle. A triangular base needs its area calculated first, half of base times height of that triangle, before the Pyramid Calculator can use it. Passing in a base side instead of a base area is a very common slip, and the result then looks reasonable but is too small or too large.
Units and scaling
Base area is in square units, height in the same length unit, and the volume in cubic units. A base area of 12 square meters and a height of 5 meters give 20 cubic meters, which is 20,000 liters. Mixing square feet with inches for height produces nonsense. Scaling every length by a factor k multiplies the base area by k squared and the volume by k cubed, so a pyramid built at double size contains eight times the volume. These rules hold for the prism as well, so the one-third ratio is not affected by scale. In the 3 by 4 by 5 example, converting all lengths from meters to centimeters multiplies both volumes by one million, so 20 and 60 cubic meters become 20,000,000 and 60,000,000 cubic centimeters, and the ratio stays 1 to 3.
What the model does not cover
The result describes an ideal pyramid whose apex lies above the base plane and whose faces are flat. It applies to right and oblique pyramids alike, as long as the height is perpendicular, but it says nothing about strength, stability, material quantities or construction practice. Hollow pyramids, truncated pyramids and pyramids with curved faces need different calculations. The calculator checks one geometric relationship and is not a specification for building or fabricating anything. For a regular square pyramid, the volume formula also has the form a squared h over 3 where a is the base side, so a base side of 6 and a height of 9 gives 108 directly, with no separate area step. The base-area form is more general because it also covers triangles, hexagons and irregular polygons once their areas are known.
Reproduce the checks
Pyramid model
Open the Pyramid Calculator and enter:
- Base Area
12- Height
5
Expected output:
volume
20The base area is supplied directly.
Matching-base prism
Open the Cuboid Calculator and enter:
- Side a
3- Side b
4- Side c
5
Expected output:
volume
60The prism shares the same base area and perpendicular height.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- MathWorld ↗ · 2026-10-08
- MathWorld ↗ · 2026-10-08