Key takeaways
- The volume of a pyramid is V = (1/3) × l × w × h.
- A pyramid always holds exactly one-third as much as a box with the same base and height.
- Height must be the straight vertical distance to the apex, not a slanted edge.
- Base area (l × w) is used, not the perimeter of the base.
In this guide
What is the volume of a pyramid?
A pyramid has a flat rectangular base that narrows up to a single point at the top (the apex). Volume measures the space it takes up, in cubic units such as m³ or ft³.
Why does the volume of a pyramid matter?
It tells you how much space a pyramid-shaped structure — from a tent to an ancient monument — actually contains, and that amount is smaller than the box that would enclose it.
A pyramid-shaped tent with a 6 m × 6 m base and a 9 m height holds(1/3) × 6 × 6 × 9 = 108 m³. A box with that exact same base and height would hold6 × 6 × 9 = 324 m³— the pyramid uses exactly one-third of that box.
The formula
| Symbol | What it means | Example |
|---|---|---|
| V | The volume you want to find | 108 m³ |
| l | The length of the rectangular base | 6 m |
| w | The width of the rectangular base | 6 m |
| h | The height: vertical distance from base to apex | 9 m |
How to find the volume step by step
- 1Measure the length and width of the rectangular base.
- 2Multiply length by width. This gives the base area.
- 3Measure the height. Straight up from the base to the apex.
- 4Multiply the base area by the height.
- 5Divide the result by 3.
Now try it yourself. Change the base and height in the calculator below and watch the volume update, with every step shown.
Try it yourself
Pre-filled with the example — change any value.
Common mistakes to avoid
- Using the slant height instead of the vertical height. This formula needs the straight-up height from base to apex, not the length of a sloped edge.
- Mixing up base area with base perimeter. Only the length × width (base area) is used, not the distance around the base.
- Assuming a square base needs a different formula. A square base is just a rectangular base where l = w, so the same formula still applies.
Tips and tricks
- If the pyramid has a triangular base instead, replace
l × wwith the triangle's own area from the triangle area calculator. - A cone follows the exact same one-third rule, just with a circular base instead of a rectangular one.
Where you'll use it in real life
- Camping: estimating the space inside a pyramid-shaped tent.
- Architecture: modeling the volume of pyramid-shaped roofs or monuments.
- Storage: working out the capacity of a pyramid-shaped container.
- Design: comparing pyramid and box-shaped packaging capacity.
Quick summary
To find the volume of a pyramid, multiply the base's length and width, multiply that by the height, then divide by 3. A pyramid always holds exactly one-third of the matching box shape. Use the calculator above to check your own pyramid instantly.
Worked example
A pyramid-shaped tent has a rectangular base of 6 meters by 6 meters, and stands 9 meters tall at its peak. How much space is inside the tent?
- 01V = (1/3) × l × w × h
- 02Base area = 6 × 6 = 36
- 03V = (1/3) × 36 × 9
- 04V = (1/3) × 324
- 05V = 108 m³
These numbers are pre-filled in the calculator above.
Frequently asked questions
Why is a pyramid's volume one-third of a box's?
A pyramid tapers smoothly from its full base to a single point, unlike a box which keeps the same cross-section all the way up. This tapering works out to exactly one-third the volume of a box with the same base and height.
Does this formula work for pyramids with a square base?
Yes. A square base is just a special rectangular base where the length and width are equal, so the same formula applies directly.
What if the pyramid has a triangular base instead of a rectangular one?
Then you'd replace l × w with the triangular base's area (found using the [triangle area calculator](/calculator/area-triangle)), and still multiply by height and divide by 3.
How is pyramid volume related to cone volume?
Both follow the same one-third pattern: volume = (1/3) × base area × height. A [cone](/calculator/volume-cone) is essentially a pyramid with a circular base instead of a rectangular one.


