Pyramid volume calculator
Find the volume of a pyramid with a rectangular base.
Try it
Inputs
Result
The result appears here as you type.
About Pyramid volume calculator
A pyramid volume calculator finds how much space a pyramid encloses. This calculator covers pyramids with a rectangular base, which is a common shape in roofs, monuments, packaging and architectural models. Enter the length and width of the base and the perpendicular height from the base to the apex, and the calculator returns the volume in cubic units.
The result is the same for any pyramid with the same base area and height, because the apex position does not change the volume as long as the height is measured straight up from the base.
How to use Pyramid volume calculator
- Measure the length and width of the rectangular base.
- Measure the perpendicular height from the base straight up to the apex.
- Enter the three figures in the same unit.
- Read the volume in cubic units.
- Convert to litres if you need a capacity for a container with this shape.
The one third rule
The volume of any pyramid equals one third of the base area multiplied by the height. For a base 4 by 4 with a height of 6, the base area is 16 and the volume is 16 × 6 ÷ 3 = 32 cubic units. The same one third rule holds for cones, which is why the two shapes are often taught together.
Measure the height from the base to the apex in a straight line, not along a sloped face. Slant height overstates the volume.
Real uses
Architects and builders estimate the volume of pyramidal roofs and hip roof sections using this rule. Packaging designers check the capacity of pyramid-shaped containers. Teachers use the shape to show how volume scales.
Keep consistent units. Mixing metres and centimetres is a frequent source of wrong answers in volume problems.
Frequently asked questions
Does the apex need to be above the centre?
For a right pyramid, yes. The volume still follows the same rule as long as the height is perpendicular to the base.
Can I use a square base?
Yes. Enter the same value for the length and width.
What about other base shapes?
A triangular or pentagonal base changes the base area. Work out the base area separately, then apply the same one third rule.
Related tools
Tools that pair well with this one.