Rectangular Pyramid Volume Calculator - Length, Width & Slant Heights

Use this rectangular pyramid volume calculator to compute inside space, face slant heights, and surface area from base length, base width, and height.

Updated: June 12, 2026 • Free Tool

Rectangular Pyramid Volume Calculator

Length of the rectangular base, in any consistent linear unit such as inches, feet, centimeters, or meters.

Width of the rectangular base, in the same linear unit as the length.

Vertical perpendicular distance from the rectangular base to the apex, not the slant height of a triangular face.

Results

Volume
0cubic units
Base Area 0square units
Slant Height (length-side faces) 0linear units
Slant Height (width-side faces) 0linear units
Area per length-side face 0square units
Area per width-side face 0square units
Total Surface Area 0square units

What Is Rectangular Pyramid Volume Calculator?

A rectangular pyramid volume calculator finds the cubic inside space of a pyramid with a flat rectangular base and a single apex, using just the base length, base width, and perpendicular height. It also returns the two distinct slant heights of the four triangular faces, the area of each pair of faces, and the total surface area.

  • Classroom geometry: Check homework and lesson problems on the V = (1/3) l w h rule and the two slant heights of a rectangular pyramid.
  • Stockpile and bin takeoffs: Estimate the volume of a rectangular base pile of sand, gravel, salt, or grain when you know the base footprint and apex drop.
  • Roof and canopy framing: Compute the volume of material in a rectangular hip roof or a tapered canopy that tapers to a ridge or single peak.
  • Model and 3D printing: Size a rectangular pyramid model, paper weight, or print job from a known base and apex height.

A rectangular pyramid is a three-dimensional solid with a flat rectangular base and four triangular faces that meet at a single point called the apex. The perpendicular distance from the base plane to the apex is the height h, and the two base edges l and w control the base footprint B = l * w.

The four triangular faces are not all the same size when the base is a true rectangle. The two faces that share a base edge of length l share a slant that depends on w, and the two that share a base edge of length w share a slant that depends on l.

For a square base, a known base area, or a base area method that takes any footprint, the Pyramid Volume Calculator runs the same (1/3) B h step on a different base shape.

How Rectangular Pyramid Volume Calculator Works

The calculator runs the rectangular pyramid volume formula V = (1/3) l w h, then derives the two slant heights and the four triangular face areas, and finishes with the total surface area.

V = (1/3) * l * w * h, with base area B = l * w, slant heights slantL = sqrt(h^2 + (w/2)^2) and slantW = sqrt(h^2 + (l/2)^2), face areas faceL = (1/2) * l * slantL and faceW = (1/2) * w * slantW, and total surface area SA = B + 2 * faceL + 2 * faceW
  • l, w (base length and width): The two edges of the rectangular base. Either edge can be the length when the base is square.
  • h (perpendicular height): Vertical perpendicular distance from the base plane to the apex, not the slant of a face.
  • B, slantL, slantW, faceL, faceW, V: B is the base area (l * w). slantL and slantW are the two face slants. faceL and faceW are the two face area pairs. V is the cubic volume.

The factor 1/3 comes from three congruent right pyramids of equal base and height fitting exactly into a right prism of the same base and height, the classic proof that the pyramid volume is one third of the prism volume. Cavalieri's principle extends the same factor to any pyramid with a known perpendicular height.

The slant height of a triangular face is the line from the apex to the midpoint of the base edge that the face shares, so it depends on h and on half of the perpendicular base edge.

Rectangular pyramid with base 6 by 4 and height 9

Length 6, width 4, height 9.

B = 6 * 4 = 24.00. V = (1/3) * 24.00 * 9 = 72.00. slantL = sqrt(9^2 + 2^2) = 9.22. slantW = sqrt(9^2 + 3^2) = 9.49. faceL = (1/2) * 6 * 9.22 = 27.66 and faceW = (1/2) * 4 * 9.49 = 18.97. SA = 24.00 + 2 * 27.66 + 2 * 18.97 = 117.26.

Volume 72.00 cubic units, base area 24.00 square units, total surface area 117.26 square units.

The two face pairs differ in size because the base is a rectangle. The square case l = w collapses both slants and both face areas to single values.

According to Wolfram MathWorld, the volume of a pyramid is one third of the base area times the perpendicular height, V = (1/3) B h, regardless of base shape.

The matching box-shaped solid has three times the volume of this pyramid for the same l, w, and h, and the Rectangular Prism Volume Calculator runs that full l * w * h step.

Key Concepts Explained

Four ideas decide whether the result matches the shape you are measuring.

Rectangular base area B = l w

The rectangular base area is the product of the base length and the base width, B = l * w. It is the multiplier in the (1/3) B h step.

Perpendicular height h

The perpendicular height is the straight line from the base plane to the apex, measured at a right angle to the base. It is not the slant of a face.

Two distinct slant heights

A rectangular pyramid has two slant heights because the four triangular faces come in two pairs. The two faces that share a base edge of length l share a slant that depends on w.

Right and oblique pyramids

The (1/3) B h rule works for any pyramid with a known perpendicular height, right or oblique. The slant heights and face areas shift when the apex moves off the centroid, but the volume formula is unchanged.

A common mistake is to use the slant height of a triangular face in place of the perpendicular height. The slant is always longer, so using it where the formula needs h overstates the volume.

Even a small difference between l and w changes the two slant heights, so the rectangular version is the more general answer and the square case is the special case where the two slants match.

When the question is how the surface area compares to the cubic inside space, the Surface Area to Volume Ratio Calculator divides the total surface area by the volume to give that ratio.

How to Use This Calculator

Enter the three perpendicular dimensions of the pyramid, then read the result rows in order so the formula step stays auditable.

  1. 1 Measure the base length and width: Pick the two base edges and enter them as l and w in the same linear unit. Either edge can be the length when the base is square.
  2. 2 Measure the perpendicular height: Use a level, plumb bob, or laser to find the perpendicular distance from the base plane to the apex, and enter it as h.
  3. 3 Read the base area and volume: Use Base Area to confirm the footprint and Volume for cubic inside space.
  4. 4 Read the slant heights and surface area: Use the slant heights for framing and Total Surface Area for skin or paint coverage.

A contractor has a 6 ft by 4 ft rectangular salt bin that rises 9 ft at the center peak. The inputs give 72.00 cubic feet of salt, two slant heights of 9.49 and 9.22, and a total surface area of 117.26 square feet for the liner.

Once the volume is in cubic feet or cubic meters, the Volume Converter moves the result into the unit the material list or invoice uses.

Benefits of Using This Calculator

A dedicated rectangular pyramid volume calculator gives the volume, the two slant heights, and the four triangular face areas in one step.

  • Volume, base area, and surface area in one pass: Enter the three dimensions and get cubic inside space, the base area, the two slant heights, the two face area pairs, and the total surface area.
  • Two distinct slant heights for rectangular bases: The calculator shows the slant for both face pairs, so a true rectangular pyramid is not collapsed into a square pyramid answer.
  • Square base case is a special case: When length and width match, the two slant heights collapse to one and the four face areas are equal, which is the standard square pyramid result.
  • Decimal friendly: Decimal length, width, and height values work for measured drawings, scaled plans, and metric or imperial units.

A real object is often measured by base footprint and apex drop, and the surface area or slope of the triangular faces matters as much as the cubic inside space. The same form works for school, shop, and field use.

For framing or sheathing, the two slant heights are the lines the carpenter or sheet-metal worker measures along the roof face.

For a mixed collection of three-dimensional shapes such as a rectangular pyramid next to a cylinder or sphere, the Volume Calculator keeps the (1/3) B h, pi r^2 h, and (4/3) pi r^3 rules in one place.

Factors That Affect Your Results

The result is a small piece of math, but a few measurement choices decide whether the answer matches the real pyramid.

Perpendicular height vs slant height

The formula needs the perpendicular distance from base plane to apex. Using the slant of a face overstates the volume.

Unit consistency

All three length inputs must use the same linear unit. Mixing inches and feet, or feet and meters, gives an answer off by a power of 12 or 3.281.

Right and oblique pyramids

The (1/3) B h rule works for any pyramid with a known perpendicular height. For an oblique rectangular pyramid, h is still the perpendicular drop from the apex to the base plane.

  • The calculator does not solve for a missing dimension from the volume alone, because the same volume can come from many different length, width, and height combinations.
  • Real stockpiles, hoppers, and bins are rarely perfect right pyramids, so the result is a geometric estimate rather than a survey-grade measurement of a real pile.

When the apex is offset from the centroid, the four triangular face areas are no longer equal in pairs. The (1/3) B h volume is still correct, but the face areas need a separate calculation that the calculator does not perform.

Use the (1/3) B h volume for stockpile, fill, and material takeoffs, and the slant heights for sheathing, framing, or skinning.

According to Wikipedia, the volume of a pyramid is one third of the base area times the height, V = (1/3) B h, where the height is the perpendicular distance from the apex to its orthogonal projection on the base.

According to Cuemath, the volume of a rectangular pyramid equals one third times base length times base width times perpendicular height, V = (1/3) l w h.

When the rectangular base footprint is measured from a survey or a scaled plan, the Area Calculator can build the base area first so the volume step uses a verified footprint.

rectangular pyramid volume calculator showing base length, base width, and perpendicular height inputs with the (1/3) base area times height step
rectangular pyramid volume calculator showing base length, base width, and perpendicular height inputs with the (1/3) base area times height step

Frequently Asked Questions

Q: What is the formula for the volume of a rectangular pyramid?

A: The volume of a rectangular pyramid is V = (1/3) * l * w * h, where l is the base length, w is the base width, and h is the perpendicular height from the base plane to the apex. The same rule also reads V = (1/3) * B * h with B = l * w, and works for any pyramid with a known perpendicular height, right or oblique.

Q: How do you find the volume of a rectangular pyramid step by step?

A: Measure the base length, base width, and perpendicular height in the same linear unit. Multiply the length by the width to get the base area, then multiply by the height and divide by three. For length 6, width 4, height 9 the base area is 24 and the volume is (1/3) * 24 * 9 = 72 cubic units.

Q: What is the slant height of a rectangular pyramid?

A: A rectangular pyramid has two slant heights, one for each pair of triangular faces. The slant of the two faces that share a base edge of length l is sqrt(h^2 + (w/2)^2), and the slant of the two faces that share a base edge of length w is sqrt(h^2 + (l/2)^2). When l and w are equal the two slants collapse to a single value, which is the square pyramid case.

Q: What units should I use for the rectangular pyramid volume result?

A: Use one linear unit for the base length, base width, and perpendicular height, such as inches, feet, centimeters, or meters. The base area row shows the footprint in square units of that length and the volume row shows the inside space in cubic units. Mixing feet and inches, or feet and meters, gives an answer off by a power of 12 or 3.281.

Q: What is the difference between a rectangular pyramid and a rectangular prism?

A: A rectangular prism is a box with six flat rectangular faces and three pairs of parallel edges; its volume is V = l * w * h. A rectangular pyramid has one rectangular base and four triangular faces that meet at the apex, and its volume is one third of the same product, V = (1/3) * l * w * h. Three congruent right pyramids of equal base and height fit exactly into the matching prism, which is the geometric proof of the one-third factor.

Q: How do you find the surface area of a rectangular pyramid?

A: Add the rectangular base area to the four triangular face areas. Each triangular face has a base that is one of the l or w edges and a height equal to the slant over that edge, so the two length-side faces each have area (1/2) * l * slantL and the two width-side faces each have area (1/2) * w * slantW. The total surface area is B + 2 * faceL + 2 * faceW, in square units of the chosen length.