Rectangular Pyramid Volume Calculator
A rectangular pyramid has a rectangle for a base and triangular faces rising to an apex. Enter the base length, base width and perpendicular height, and the calculator applies the one-third rule for you.
Formula: V = l × w × h ÷ 3
One third of the box
Take the rectangular box that exactly encloses a pyramid - same base, same height - and the pyramid fills precisely one third of it. Hence V = l × w × h ÷ 3: the box volume, divided by three. This makes estimation easy: compute the box, then take a third.
A worked example: a pyramid with an 8 × 5 cm base and a 12 cm height has base area 40 cm², so V = ⅓ × 40 × 12 = 160 cm³. The enclosing box holds 480 cm³, and 480 ÷ 3 = 160 - the one-third rule in action.
The height must be the perpendicular distance from the base plane to the apex, not the length of a sloped face. If the apex leans away from the centre, the pyramid is oblique but the volume is unchanged - Cavalieri’s principle applies to pyramids exactly as to prisms.
How to use this calculator
- Measure the base rectangle. Length and width of the flat bottom face.
- Measure the pyramid height. Straight up from the base plane to the apex - not along an edge.
- Enter all three with units. Each field converts independently, so mixed units are safe.
- Read the volume. Litres headline the result; cm³, m³, ft³ and gallons follow, with the substituted formula bar underneath.
Related rectangular-pyramid calculations
Roof volumes
A hip roof is often two rectangular pyramids sharing a ridge. A roof 10 m × 7 m rising 3 m to a central point holds 10 × 7 × 3 ÷ 3 = 70 m³ of attic air - the number insulation and ventilation estimates begin with.
Square pyramids
When length equals width, the base is a square and the formula reduces to V = s²h ÷ 3 - the classic pyramid of monuments and obelisk caps.
Frustums (cut-off pyramids)
Slice a rectangular pyramid parallel to its base and the remainder is a frustum, holding h(A₁ + A₂ + √(A₁A₂)) ÷ 3 for the two parallel face areas. Buckets, planters and hopper bodies are frustums.
Rectangular pyramid volume quick reference
Volumes for 2:1 rectangular bases at two heights.
| Base (l × w) | Base area | Volume at h = 6 cm | Volume at h = 12 cm |
|---|---|---|---|
| 4 × 2 cm | 8 cm² | 16 cm³ | 32 cm³ |
| 8 × 4 cm | 32 cm² | 64 cm³ | 128 cm³ |
| 16 × 8 cm | 128 cm² | 256 cm³ | 512 cm³ |
| 40 × 20 cm | 800 cm² | 1,600 cm³ | 3,200 cm³ |
| 100 × 50 cm | 5,000 cm² | 10,000 cm³ | 20,000 cm³ |
Volume scales linearly with each of the three inputs. Doubling the height alone doubles the pyramid; doubling all three dimensions multiplies the volume by eight.
Where rectangular pyramids appear
Hip roof air space
Builders estimate attic volume to size insulation, ventilation and spray-foam quotes. A modest roof 8 m × 6 m rising 2.5 m at the hip encloses 8 × 6 × 2.5 ÷ 3 = 40 m³. Getting this figure from three tape measurements takes seconds with the one-third rule.
Tapered hoppers
Rectangular-pyramid bottoms funnel grain, pellets and sand into outlets. A hopper taper 1.5 m × 1.0 m and 0.6 m deep retains 0.3 m³ of material - 300 kg of sand at 1 t/m³. Fabricators check this against discharge rates and cleanout access.
Molds and decorative casting
Pyramid-shaped planters, paperweights and fountain nozzles are cast to volume. A mould with a 12 × 12 cm base and 10 cm depth needs 480 cm³ of resin or concrete - arithmetic you can do before any pour.
Common mistakes & pro tips
- Forgetting the ÷ 3. l × w × h alone is the enclosing box - three times the pyramid’s true volume.
- Using a slanted edge as the height. Measure perpendicular from base plane to apex; the sloped face length is always longer.
- Halving where it is not needed. Unlike a triangular base, a rectangular base area is the plain l × w - no extra ½.
- Mixed units. Length in metres with width in centimetres is off by 100×. Convert first or use the per-field selectors.
- Oblique pyramid over-correction. A leaning apex does not change the volume; only the perpendicular drop matters. Do not adjust for the lean.
Frequently asked questions
What is the formula for a rectangular pyramid?
V = l × w × h ÷ 3 - the enclosing box’s volume divided by three. An 8 × 5 cm base with a 12 cm height gives 160 cm³.How is this different from a rectangular prism?
How do I find the height if I know the volume?
h = 3V ÷ (l × w). Keep V and the base dimensions in matching units before dividing.What if the base is a square?
V = s²h ÷ 3 - the square pyramid special case, useful for monuments and obelisk caps.