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

l = 8, w = 5, h = 12 cmroof 10 × 7 m, 3 m risel = 2, w = 1, h = 1 m

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

  1. Measure the base rectangle. Length and width of the flat bottom face.
  2. Measure the pyramid height. Straight up from the base plane to the apex - not along an edge.
  3. Enter all three with units. Each field converts independently, so mixed units are safe.
  4. 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 areaVolume at h = 6 cmVolume at h = 12 cm
4 × 2 cm8 cm²16 cm³32 cm³
8 × 4 cm32 cm²64 cm³128 cm³
16 × 8 cm128 cm²256 cm³512 cm³
40 × 20 cm800 cm²1,600 cm³3,200 cm³
100 × 50 cm5,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?
The prism keeps the full rectangle all the way up; the pyramid tapers to a point and holds exactly one third as much with the same base and height.
How do I find the height if I know the volume?
Use h = 3V ÷ (l × w). Keep V and the base dimensions in matching units before dividing.
What if the base is a square?
Then l = w = s and V = s²h ÷ 3 - the square pyramid special case, useful for monuments and obelisk caps.
How much attic space does a pyramid roof enclose?
Multiply the roof footprint by the ridge rise and divide by three. A 10 × 7 m roof rising 3 m contains 70 m³ of air.

Related calculators

Educational use only. Results are provided for planning and study purposes. Storm Lane is not liable for decisions made solely on these figures - double-check critical measurements with a qualified professional.