Pyramid Volume Calculator

A pyramid's volume is a third of the box with the same base and height. A 6 by 4 base with a height of 9 holds 72 cubic units and has a total surface area of about 117.3. Use it for roofs, monuments, hoppers, tents and piles of material with rectangular bases.

Multiply volume by density to find weight, and use surface area for covering or paint.

Pyramid Volume Calculator: inputs

Calculated result
Volume72
Total surface area117.3

Pyramid Volume Calculator: Base length sensitivity

Pyramid Volume Calculator: Base length and Volume5 calculations vary the “Base length” input while holding the other entered inputs constant.4.857.65.464.86726.679.27.286.4

Pyramid Volume: worked example

Base length6
Base width4
Height9
Volume72
Total surface area117.3

Pyramid Volume: formula

Volume = length × width × height ÷ 3; surface area = base + l·√((w ÷ 2)² + h²) + w·√((l ÷ 2)² + h²)

Pyramid: Wolfram MathWorld

Enter the length and width of the rectangular base and the vertical height from the base to the apex. The height is the perpendicular distance, not the slanted edge. The calculator gives volume, one third of the base area times the height, and total surface area, including the base and four triangular faces whose slant heights come from the Pythagorean theorem.

Use one unit for all measurements.

Pyramid Volume: changing Base length

Base lengthVolumeTotal surface area
4.857.6100.7
5.464.8109
6 (example)72117.3
6.679.2125.6
7.286.4134

Pyramid Volume: compare input ranges

InputTested fromToVolume: low inputVolume: high inputSwing
Height810648016 (22%)
Base length5.46.664.879.214.4 (20%)
Base width3.64.464.879.214.4 (20%)

Pyramid Volume: individual input comparisons

InputValueVolumeTotal surface area
Base length4.857.6100.7
5.464.8109
672117.3
6.679.2125.6
7.286.4134
Base width3.257.6104.4
3.664.8110.8
472117.3
4.479.2123.7
4.886.4130.2
Height75698.1
864107.7
972117.3
1080126.9
1188136.7

Pyramid Volume: combined input changes

Base length / Base width3.244.8
4.846.157.669.1
5.451.864.877.8
657.67286.4
6.663.479.295
7.269.186.4103.7

Pyramid Volume: which assumptions move the result?

Pyramid Volume: Volume as Height changesVolume starts at 56. Moving Height from 7 to 11 changes it to 88, with Base length 6; Base width 4 kept fixed.75686497210801188
Chart quantityDisplayed settings
Height7 → 11
Volume56 → 88
Base length6
Base width4
Pyramid Volume: Volume as Base length changesVolume starts at 57.6. Moving Base length from 4.8 to 7.2 changes it to 86.4, with Base width 4; Height 9 kept fixed.4.857.65.464.86726.679.27.286.4
Chart quantityDisplayed settings
Base length4.8 → 7.2
Volume57.6 → 86.4
Base width4
Height9

Pyramid Volume: values and definitions

Quantity and definitionValue used
Base length6
Base width4
Height — The straight-up distance from the base to the tip, not the slanted edge.9
Volume72
Total surface area117.3

Pyramid Volume: half and double Height

HeightVolume
4.536
972
18144

Common error: Forgetting the division by three. The result then matches a box, which is three times too large.

The formula assumes the apex is directly above the center of the base, a right pyramid. Truncated pyramids have a different formula. The slant heights differ for the two pairs of faces when the base is not square.

Unit errors are common when mixing height and slant.

Geometry calculators: Right Triangle & Pythagorean Calculator, Aquarium Volume Calculator, Annulus Area Calculator, Regular Polygon Calculator, Rhombus Area Calculator, Hemisphere Volume Calculator.

A pyramid holds exactly one third of the box that has the same base and height. A 6 by 4 base standing 9 tall would fill a 216 cubic unit box, and the pyramid takes 72. That one third is the same in every pyramid and cone, whatever the base.

The surface output adds the base and the four sloping faces, which is what covering it with paint, tile or shingles takes.

Measure the height straight up from the base. The slanted edge is longer, and using it in the volume formula overstates the result.

See the cone and cone frustum calculators for round versions, the rectangular prism and triangular prism pages for boxes, and the Pythagorean theorem calculator for slant heights. The rectangle area page gives the base, and the roof and stair tools in carpentry use similar geometry.

Does one third of base times height apply only to square pyramids?

No. It gives volume for a pyramid with any planar base; this tool uses a rectangular base. The displayed surface formula additionally assumes the apex is over its center.

What is the volume formula for a pyramid?

One third times the base area times the height. A 6 by 4 base and a height of 9 gives 72.

Why is a pyramid one third of a prism?

A pyramid’s volume is one third of its base area times perpendicular height. This can be established through geometric dissection in suitable cases or integration of similar cross-sections. It does not require three identical copies of every possible pyramid to fit a matching prism.

How do I find the slant height?

Use the Pythagorean theorem with the vertical height and half of the relevant base side, since the slant height is the hypotenuse of that right triangle.