Pyramid Volume Calculator (yd³, ft³) for Any Base and Flat Tops
Base and height in — cubic yards, cubic feet and m³ out.
Measure the pyramid
Volume: 7.41 yd³ · 200 ft³ · 5.66 m³
Count and material
Pick a material to turn the volume into bags of concrete or tons. Length boxes also take feet-inches like 10' 6".
Exact: 7.407407407 yd³
How it’s calculated
Every step uses the numbers you entered above.
Base area: side × side
Height: as measured
Volume: base area × height ÷ 3
Cubic yards: ft³ ÷ 27
Bags or tons
Pyramid volume formula for any base
A pyramid volume calculator multiplies the area of the base by the height and divides by 3. That one rule works for every pyramid, whatever shape the base is.
The height is the straight-up distance from the base to the tip. It is not the length of a sloping face or a corner edge. Only the base area changes from one pyramid to the next.
| Base | Base area | Example |
|---|---|---|
| Square | side × side | 8 ft side: 64 sq ft |
| Rectangle | length × width | 9 × 6 ft: 54 sq ft |
| Triangle | ½ × base × triangle height | 10 ft base, 8 ft tall: 40 sq ft |
| Regular polygon | sides × side² ÷ (4 × tan(180° ÷ sides)) | hexagon, 2 ft sides: 10.39 sq ft |
| Any other shape | measure it, or split it into rectangles and triangles | add the parts |
Here is a full example. A rectangular pyramid with a 9 × 6 ft base and a 4 ft height has a base area of 54 sq ft. Multiply by 4 and divide by 3 to get 72 cubic feet. That is 2.67 cubic yards.
Why a pyramid is one third of a box
A pyramid holds exactly one third of a box with the same base and the same height. Three equal pyramids fill that box with nothing left over. That is where the ÷ 3 comes from.
The tip does not have to sit over the center. A leaning (oblique) pyramid holds the same amount as a straight one, as long as you use the straight-up height.
How to find the volume of a pyramid in cubic yards
To get cubic yards, change every measurement to feet, find the cubic feet with base area × height ÷ 3, and then divide by 27. A cubic yard is 3 × 3 × 3 feet, so it holds 27 cubic feet.
Mixing units is the most common mistake. If the base is in feet and the height is in inches, the answer is off by a factor of 12. Convert first, then multiply.
Say you measured in inches. A pyramid with a 36 × 36 inch base and a 24 inch height holds 36 × 36 × 24 ÷ 3 = 10,368 cubic inches. Divide by 1,728 to get 6 cubic feet. Divide by 27 and you have 0.222 cubic yards.
The cubic feet to cubic yards converter handles that last step for any number.
In metric, work in meters to get cubic meters, then multiply by 1.308. A pyramid of 6 m³ is 7.85 cubic yards. You can also use the cubic meters to cubic yards converter.
Pyramid volume from the slant height
If you only know the slant height of a square pyramid, find the height with the Pythagorean rule: height = √(slant² − (side ÷ 2)²). Then use the normal volume formula.
The slant height runs from the middle of a bottom edge, up the center of a face, to the tip. The corner edge, from a base corner to the tip, is longer. Using it instead gives a height that is too big.
For example, a square pyramid with 12 ft sides and a 10 ft slant height is √(100 − 36) = 8 ft tall. It holds 144 × 8 ÷ 3 = 384 cubic feet, or 14.2 cubic yards.
For a regular polygon base, use the distance from the center to the middle of a side in place of side ÷ 2. Rectangles and triangles have a different slant on each face. For those, measure the straight-up height instead.
Truncated pyramid volume for a flat top
A pyramid with its tip cut off flat is called a truncated pyramid or frustum. If the top is a smaller copy of the base, its volume is height ÷ 3 × (bottom area + top area + √(bottom area × top area)).
Most hoppers and bins have a rectangular top and bottom with different proportions. For those, use height ÷ 6 × [bottom length × bottom width + top length × top width + (bottom length + top length) × (bottom width + top width)]. This rule is exact for any rectangular frustum.
Take a hopper with an 8 × 6 ft opening, a 2 × 2 ft outlet and a depth of 4 ft. It holds 4 ÷ 6 × [48 + 4 + 10 × 8] = 88 cubic feet. That is 3.26 cubic yards, or about 658 gallons.
A tapered concrete footing, such as a pier base, works the same way. A footing 2 × 2 ft at the bottom, 1 × 1 ft at the top and 1 ft high holds 2.33 cubic feet, or 0.086 cubic yards. Pick Concrete in the calculator above to see how many bags that takes, or use the cubic yards to bags of concrete chart.
A plain square footing with straight sides is a box, so it is just length × width × depth. The concrete calculator covers those and helps you choose between bags and ready-mix. A long footing or berm with sloped sides is a trapezoid shape, so use the trapezoidal prism calculator for it.
Pyramid volume FAQ
How do you calculate the volume of a cubic pyramid?
A square pyramid that fits inside a cube, with the same base and the same height, holds one third of the cube. A 3 ft cube holds 27 cubic feet, so the pyramid inside it holds 9 cubic feet. That is one third of a cubic yard.
What is the volume of a half pyramid?
Cut a square or rectangular pyramid straight down through the tip along a center line, and each half holds half the volume. Enter the full base in the calculator above and divide the answer by 2.