Math glossary

Volume of a Rectangular Pyramid: Formula and Examples

Find the volume of a rectangular pyramid using V = lwh ÷ 3. Learn which height to measure, why the formula divides by three, and how to reverse it.

TL;DR

The volume of a rectangular pyramid is one third of its base area times its perpendicular height. If you only know a slant height, find the perpendicular height before substituting.

Key Points

  • The volume of a rectangular pyramid equals one third of the product of its base length, base width, and perpendicular height.
  • An oblique pyramid and a right pyramid have equal volumes whenever their rectangular bases have equal areas and their perpendicular heights match.
  • A centred pyramid with a non-square base has two different face slant heights, so the labelled edge determines which half-width to use.
  • A slice halfway from the base to the apex has one quarter of the base area because both its length and width are halved.

What is the volume of a rectangular pyramid?

The volume of a rectangular pyramid measures the space inside a solid with a rectangular base and four triangular faces that meet at one apex. A matching box fills its full height with the same rectangle. The pyramid starts with that rectangle and tapers to a point.

Volume of a rectangular pyramid diagram showing base length l, width w, perpendicular height h, and face slant height s
The dashed height drops to the base plane. The solid line marked s follows one triangular face to an edge midpoint.

The Papua New Guinea Department of Education distinguishes a right pyramid, whose apex lies directly above the centre of the base, from an oblique pyramid, whose apex sits off-centre. In either case, the solid has five faces, eight edges, and five vertices. A net of the pyramid opens out into one rectangle and four attached triangles.

How do you find the volume of a rectangular pyramid?

Find the area of the base, multiply it by the perpendicular height, and divide the result by three. The volume rule uses the same base-area–height product as a rectangular prism, with a factor that accounts for the taper.

B=l×w,V=Bh3=lwh3B=l\times w,\qquad V=\frac{Bh}{3}=\frac{lwh}{3}
Symbol What to measure
ll Length of one side of the rectangular base
ww Length of the adjacent side of the rectangular base
BB Base area, in square units
hh Shortest distance from the apex to the plane containing the base
VV Volume, in cubic units

Use one length unit for ll, ww, and hh. If the base area already appears in the question, use it as BB. Neither the perimeter of the base nor the areas of the four side faces belong in the volume formula.

How do you find height from volume?

Reverse the multiplication by BB and the division by three. For a positive base area, the result is h=3VBh=\frac{3V}{B}. If the answer gives a length in square or cubic units, check that you divided cubic units by square units.

Why does the formula divide by three?

A cube can be split into three equal-volume pyramids. Pick a corner as the common apex. Each pyramid uses one of the three cube faces that do not touch that corner as its base. The three regions fill the cube, meeting along their boundaries, and swapping the cube’s coordinate directions shows that they have equal volume.

Stretch that cube independently along its length, width, and height. Each of its three regions scales by the same factor, so the resulting corner-based pyramid still occupies one third of the box. The height of that pyramid equals the dimension perpendicular to its base.

Rectangular pyramid with a parallel cross-section halfway between the apex and base, with half the base length and width
At the halfway slice, doubling each side gives the base dimensions. Quadrupling the slice area gives the base area.

Brown University’s Volume Patterns for Pyramids and the Australian Mathematical Sciences Institute explain how cross-sections extend the result to other apex positions. At a distance xx down from the apex, measured perpendicularly, the parallel slice has length xhl\frac{x}{h}l and width xhw\frac{x}{h}w. Its area is B(xh)2B(\frac{x}{h})^2. Moving the apex sideways moves each slice sideways while preserving its area. Cavalieri’s principle says the volume stays the same, which explains why the formula also works for centred and oblique pyramids.

If you are learning integration, OpenStax’s slicing method gives the same factor directly.

V=∫0hB(xh)2dx=Bh3V=\int_0^h B\left(\frac{x}{h}\right)^2\,dx=\frac{Bh}{3}

Which height do you use if a diagram gives a slant height?

Use the height that meets the base plane at a right angle. A face slant height lies on a triangular face. A slanted edge runs to a corner of the base. Each of these lengths follows a different path from the apex.

For a right rectangular pyramid, the apex sits over the base centre. Let sls_l be the slant height measured to the midpoint of a side of length ll. The horizontal run from the centre to that midpoint is w2\frac{w}{2}. Apply the Pythagorean theorem to that cross-section.

h=sl2−(w2)2h=\sqrt{s_l^2-\left(\frac{w}{2}\right)^2}

A slant height measured to a side of length ww uses l2\frac{l}{2} instead. For an oblique pyramid, identify the actual horizontal distance from the foot of the perpendicular to the point where the slant segment meets the base. Monash University’s square-based example shows how the face slant height and perpendicular height meet in such a right triangle.

Where do slant heights belong in surface area?

Surface area measures the faces you could cover, in square units. The two faces along the length have area lsl2\frac{l s_l}{2} each, while the two along the width have area wsw2\frac{w s_w}{2} each in a right rectangular pyramid. Here sws_w denotes the face slant height to the midpoint of a width edge.

S=lw+lsl+wswS=lw+l s_l+w s_w

For an oblique pyramid, find the altitude of each triangular face separately. Use the base and four face areas to find total surface area.

Examples of Volume of a Rectangular Pyramid

Use the examples to practise selecting the height, using a supplied base area, reversing the formula and handling mixed length units.

Example 1

Find the volume for a base 9 cm long and 5 cm wide and a perpendicular height of 8 cm.

  1. Find the base area, B=9×5=45cm2B=9\times5=45\,\mathrm{cm}^2.
  2. Multiply by the perpendicular height, Bh=45×8=360cm3Bh=45\times8=360\,\mathrm{cm}^3.
  3. Divide by three to get V=120cm3V=120\,\mathrm{cm}^3.

Example 2

A right pyramid has a 10 cm by 24 cm base. A 13 cm face slant height meets the midpoint of a 10 cm edge. Find the volume.

  1. Using 13 cm directly gives 10×24×133=1040cm3\frac{10\times24\times13}{3}=1040\,\mathrm{cm}^3. That would require a perpendicular height of 13 cm, even though the 13 cm segment travels sideways as well as vertically.
  2. The run across the base is half of 24 cm, or 12 cm. Use h=132−122=5cmh=\sqrt{13^2-12^2}=5\,\mathrm{cm}.
  3. Substitute the perpendicular height to get V=10×24×53=400cm3V=\frac{10\times24\times5}{3}=400\,\mathrm{cm}^3.

Example 3

An oblique rectangular pyramid has base area 12 m² and perpendicular height 5.25 m. Find its volume.

  1. Use the supplied base area as BB. The horizontal position of the apex does not change this input or the height.
  2. Compute Bh=12×5.25=63m3Bh=12\times5.25=63\,\mathrm{m}^3.
  3. Divide the product by three to get V=21m3V=21\,\mathrm{m}^3.

Example 4

A rectangular pyramid holds 126 cm³. Its base measures 7.5 cm by 6 cm. Find the perpendicular height.

  1. Find the base area, B=7.5×6=45cm2B=7.5\times6=45\,\mathrm{cm}^2.
  2. Multiply the volume by three to recover the matching box volume, 3V=378cm33V=378\,\mathrm{cm}^3.
  3. Divide by the base area, h=37845=8.4cmh=\frac{378}{45}=8.4\,\mathrm{cm}.

Example 5

A model hopper narrows to a point. Its opening is 1.2 m by 0.75 m, and its perpendicular depth is 45 cm. Find its capacity in litres.

  1. Express the depth in metres, h=0.45mh=0.45\,\mathrm{m}.
  2. Find the volume, V=1.2×0.75×0.453=0.135m3V=\frac{1.2\times0.75\times0.45}{3}=0.135\,\mathrm{m}^3.
  3. NIST’s SI volume table gives 1000 litres per cubic metre, so the capacity is 0.135×1000=1350.135\times1000=135 litres. A real hopper that stops at a smaller rectangular outlet needs a truncated-pyramid calculation.

Example 6

A room measures 8 m by 6 m. Its walls are 3 m tall and a pyramid roof rises another 2.5 m. Find the air space under the roof and above the floor, ignoring wall thickness.

  1. The shared base area is B=8×6=48m2B=8\times6=48\,\mathrm{m}^2.
  2. The room’s box-shaped part holds 48×3=144m348\times3=144\,\mathrm{m}^3.
  3. Using the rise from the top of the walls, the roof holds 48×2.53=40m3\frac{48\times2.5}{3}=40\,\mathrm{m}^3.
  4. Add the disjoint parts to get 184m3184\,\mathrm{m}^3.

Where can a correct calculation use the wrong measurements?

The quickest check is to label the two dimensions that lie in the base, then draw the altitude on a new sketch. A neat calculation can still use the wrong height or units.

Mistake 1. Measuring all the way to the floor

Where it slips in

A roof problem may give a peak elevation above the floor while the pyramid begins at the tops of the walls.

The tempting calculation

A peak at 7 m over walls 4 m tall can lead to a roof height of 7 m when you go straight from the diagram to the volume formula.

The correction

Measure the difference between the peak and the base of the roof. In that drawing the roof height is 7−4=37-4=3 m.

Mistake 2. Converting the finished volume as a length

Where it slips in

Seeing centimetres and metres in the same question can make a familiar factor of 100 feel sufficient for the final conversion.

The tempting calculation

Dividing a value in cubic centimetres by 100 updates only one dimension.

The correction

Convert each input to metres before finding the volume, or divide a cubic-centimetre result by 1003=1,000,000100^3=1{,}000{,}000.

Practice with answers

  1. A pyramid has a base 14 cm by 9 cm and a perpendicular height of 5 cm. Find its volume.
  2. A right rectangular pyramid has a square base with side 16 m. The face slant height is 17 m. Find the perpendicular height and volume.
  3. Keep the base length and height fixed and double the width. Predict how the volume changes.

Check your solutions

  1. The base area is 14×9=126cm214\times9=126\,\mathrm{cm}^2. Multiplying by 5 cm and dividing by three gives 210cm3210\,\mathrm{cm}^3.
  2. The horizontal run is 8 m, so h=172−82=15mh=\sqrt{17^2-8^2}=15\,\mathrm{m}. The volume is 16×16×153=1280m3\frac{16\times16\times15}{3}=1280\,\mathrm{m}^3.
  3. The base area doubles. The height and the factor 13\frac13 stay fixed, so the volume doubles.

Frequently Asked Questions

What units do you use for the volume of a rectangular pyramid?

Use cubic units. Three lengths in centimetres give a volume in cubic centimetres.

Can you calculate the volume of a rectangular pyramid if you know only its slant height?

A slant height alone is insufficient. For a right rectangular pyramid with known base dimensions, identify the face the measurement belongs to and use its horizontal run to recover the perpendicular height.

Does a square pyramid need a different volume formula?

The same rule applies. If each base edge has length aa, substitute B=a2B=a^2 to get V=a2h3V=\frac{a^2h}{3}.

Does a pyramid with its apex outside the rectangle still use the same volume rule?

Yes. Extend the base to its plane and measure the perpendicular distance to that plane. Shifting the apex sideways preserves the areas of the parallel slices.

What to Remember About Pyramid Volume

  • The volume of a rectangular pyramid is one third of the volume of a prism with the same base area and perpendicular height.
  • Trace a face slant height to its base edge before choosing the horizontal leg of the right triangle.
  • Match length units before multiplying and report the result in cubic units.

Read More

Research Behind This Article

  1. Papua New Guinea Department of Education, Grade 9 Mathematics, Unit 5, Topic 4, Lesson 17. FODE learning module.
  2. Thomas F. Banchoff, Brown University, Volume Patterns for Pyramids. Brown University.
  3. Australian Mathematical Sciences Institute, Cones, Pyramids and Spheres. AMSI Teaching Modules.
  4. OpenStax, Calculus Volume 2, Determining Volumes by Slicing. OpenStax.
  5. Monash University, Surface Area and Volume. Student Academic Success.
  6. National Institute of Standards and Technology, SI Units – Volume. NIST.