Pyramid Volume Calculator
Enter the base length, base width and height of a pyramid to find its base area and volume.
What this calculator computes
This tool sizes a pyramid with a rectangular base. You enter the base length L, the base width W and the perpendicular height h from the base plane to the apex, and it returns the base area in square units and the volume in cubic units. At the defaults of 4, 3 and 6 those outputs are 12 and 24.
The rectangular base covers the most common cases — square and oblong footings, tapered boxes, hip roofs over rectangular rooms — and the formula needs nothing else. No apex offset, no face angles, no slant heights.
The formula and the one-third rule
Every pyramid, whatever its base shape, holds exactly one third of the prism standing on the same base with the same height. The rectangle only decides how to compute the base area L × W; the division by three comes from the pyramid itself. This is the same rule that powers the triangular, hexagonal and every other pyramid calculator.
Why exactly one third
Slice the pyramid parallel to the base at depth y below the apex and the slice is a rectangle scaled by y/h in both directions, so its area shrinks as (y/h)². Integrating that quadratic taper from top to bottom gives one third of the prism’s volume. Physically, three copies of the pyramid — one upright, two inverted and fitted around it — assemble into the full prism, the classic sand-pouring demonstration.
Worked example at the defaults
Step one, the base: 4 × 3 = 12 square units. Step two, the volume: 12 × 6 ÷ 3 = 24 cubic units. The matching prism would hold 12 × 6 = 72 cubic units, exactly three pyramids’ worth. The dimensions check out too: length × length × length gives cubic units, so inches in, cubic inches out.
A concrete intuition: if the defaults describe metres, the pyramid encloses 24 cubic metres — about the payload of a mid-size dump truck — while the prism on the same footprint would enclose 72.
Pyramid volumes at different sizes
The table shows how the outputs respond to changes in the three inputs, with the matching prism volume for reference. Every row uses the calculator’s own formula.
| L × W | Height h | Base area | Pyramid volume | Matching prism |
|---|---|---|---|---|
| 4 × 3 | 6 | 12 | 24 | 72 |
| 8 × 6 | 6 | 48 | 96 | 288 |
| 4 × 3 | 12 | 12 | 48 | 144 |
| 10 × 10 | 9 | 100 | 300 | 900 |
Read the pattern off the rows: doubling both base dimensions quadruples the volume (24 to 96 in the first two rows), while doubling the height merely doubles it (24 to 48 from h = 6 to h = 12). The prism column is always exactly three times the pyramid column — if your hand calculation lands on the prism number, you skipped the divide by three.
The Great Pyramid as a scale check
The Great Pyramid of Giza has a base of about 230.4 metres per side and an original height of about 146.6 metres. Plugging in: 230.4 × 230.4 × 146.6 ÷ 3 ≈ 2.59 million cubic metres — roughly 1,000 Olympic swimming pools of stone. The same formula that returns 24 at the defaults scales straight up to monuments, which is the main value of having L, W and h as separate inputs.
What moves the volume
- Base dimensions, multiplied. Going from 4 × 3 to 8 × 6 at h = 6 lifts the volume from 24 to 96 — four times as much.
- Height, linear. At the default base, raising h from 6 to 12 lifts the volume from 24 to 48.
- The divide-by-three. Forgetting it reports the prism volume: 72 instead of 24 at the defaults, three times too large.
- Apex position. An oblique pyramid with the same perpendicular height has the same volume; only h matters, not where the apex sits over the base.
Common mistakes to avoid
Slant height versus true height
The most frequent error is entering the slant height of a face instead of the perpendicular height. At the defaults the face rising over the 3-unit side has a slant height of √(6² + 2²) ≈ 6.32 units, and entering 6.32 instead of 6 inflates the volume by about 5 percent. Measure (or specify) the vertical drop from apex to base plane, not the slope across a face.
The second classic is unit mixing: a base in feet with a height in inches quietly returns garbage. Convert everything to one unit before entering it. And if the structure is a frustum — a pyramid with its top cut off — this formula does not apply; the frustum has its own volume rule.
Where pyramid volumes matter
- Construction. Concrete in pyramidal footings, and fill or airspace under hip roofs.
- Packaging. Tapered boxes and pyramid-shaped containers, where material cost tracks the base and the volume tracks h/3.
- Education. The one-third-of-a-prism relationship is a staple of geometry teaching.
In each case the workflow is the same: measure the two base sides and the vertical height, multiply all three, and divide by three. Keep the three inputs in one unit and the result is trustworthy to the precision of the measurements themselves.
Frequently asked questions
How do I find the volume of a rectangular pyramid?
Multiply length by width by height and divide by three: V = (L × W × h)/3. At 4, 3 and 6 that gives 12 × 6 ÷ 3 = 24 cubic units.
Why is a pyramid one third of a prism?
Three identical pyramids with the same base and height assemble into that prism. At the defaults the prism holds 72 cubic units and the pyramid 24 — exactly one third.
Does doubling the height double the volume?
Yes, volume is linear in height. At the default base, going from h = 6 to h = 12 raises the volume from 24 to 48 cubic units.
What is the volume of the Great Pyramid of Giza?
With a 230.4 m base side and an original height of 146.6 m, V ≈ 230.4² × 146.6 ÷ 3 ≈ 2.59 million cubic metres — about 1,000 Olympic swimming pools.
Is the height the slant height of a face?
No. At the defaults the slant height over the 3-unit side is about 6.32 while the true height is 6; entering the slant height overstates the volume by roughly 5 percent.
Does this work for a square base?
Yes — a square is the special case L = W. A 10 × 10 base with height 9 gives a base area of 100 and a volume of 300 cubic units.
Does the apex need to sit over the centre of the base?
No. An oblique pyramid has the same volume as a right one with the same perpendicular height, though this calculator’s other geometry outputs assume the standard upright case.
What units does the result use?
The cube of whatever unit you enter. A base in metres and a height in metres give cubic metres; mixing feet and inches corrupts the answer silently.
What if the pyramid has its top cut off?
That is a frustum, and V = L·W·h/3 no longer applies. Compute the frustum with its own formula using both base areas and the height between them.
Method and sources
- Pyramid volume: V = (1/3) × base area × height; rectangular base area = L × W.