Rectangular Pyramid Volume Calculator

By: Calculator Grid

Rectangular Pyramid Volume Calculator

Calculate the volume and surface geometry of a right rectangular pyramid from its base length, base width, and perpendicular height.

Unit cm Base area 35.00 cm² Volume 116.67 cm³
Ready to export the current calculation as a validated XLSX workbook.

Pyramid dimensions

Positive length in the selected unit.

Positive width in the selected unit.

Perpendicular distance from base to apex.

Changing the unit converts all three dimensions.

Live results

Volume

116.67 cm³

V = (a × b × H) ÷ 3

Total surface area

160.13 cm²

Base area

35.00 cm²

Lateral surface area

125.13 cm²

Slant height toward width

10.3078 cm

Slant height toward length

10.5948 cm

Volume 116.67 cubic centimeters; total surface area 160.13 square centimeters.

Geometry breakdown

Measure Formula Result
Base area a × b 35.00 cm²
Slant height toward width √(H² + (b ÷ 2)²) 10.3078 cm
Slant height toward length √(H² + (a ÷ 2)²) 10.5948 cm
Lateral surface area a × sᵦ + b × sₐ 125.13 cm²
Total surface area Base area + lateral area 160.13 cm²
Volume (a × b × H) ÷ 3 116.67 cm³

The surface-area calculations assume a right rectangular pyramid: the apex is directly above the center of the rectangular base.

How to use the rectangular pyramid volume calculator

What this calculator does

This calculator estimates the volume and surface geometry of a right rectangular pyramid. It multiplies the rectangular base area by the perpendicular height and divides by three to obtain volume. It also calculates the base area, lateral surface area, total surface area, and the two slant heights needed for the triangular side faces. The model is exact for a right pyramid with a flat rectangular base and an apex vertically above the base center. It does not model a truncated pyramid, an off-center apex, wall thickness, material waste, or measurement uncertainty. OpenStax gives the general pyramid identity V = one-third of base area times height.

When to use it

Use the calculator to check a geometry assignment, estimate the internal capacity of a pyramid-shaped object, compare conceptual dimensions during design, or estimate the exposed area of a solid before adding a coating. For fabrication or construction, treat the output as geometric planning data and add allowances for seams, thickness, cutting loss, tolerances, and any open faces separately.

How to calculate

The calculator opens with a complete demonstration: a 7 cm base length, 5 cm base width, and 10 cm perpendicular height. The live results and a validated example XLSX workbook are available immediately.

  1. Select the Length unit used for all dimensions. A unit change converts the current values rather than merely relabeling them.
  2. Replace Base length (a), Base width (b), and Pyramid height (H) with positive measurements. Use a decimal point, such as 7.5; comma grouping is accepted only in forms such as 1,250. Decimal-comma values such as 1,5 are rejected to avoid ambiguity.
  3. Read Volume first, then use the area and slant-height outputs when you need face geometry. The breakdown table shows the formula behind every result.
  4. Select Download Excel to export the current typed inputs and canonical results to a real XLSX workbook. Select Reset to clear the demonstration values and all calculated content. Reset may disable the download until you enter a complete valid set again.

Input guide

Base length (a) is a required positive decimal in the selected length unit. A realistic example is 7 cm. Increasing it increases the base area, volume, total surface area, and the slant height measured toward the length direction. Do not enter an area value or include a unit symbol in the field. Base width (b) is also required and follows the same format; 5 cm is the startup example. Increasing width raises the same principal outputs and changes the other slant height. Pyramid height (H) is the perpendicular distance from the base plane to the apex, not a sloping edge; 10 cm is the example. A greater height increases volume and both slant heights. All three dimensions must be greater than zero and no more than one trillion selected units.

Length unit is a required selection shared by all dimensions. Available choices are millimeters, centimeters, meters, inches, feet, and yards. Area results use the square of that unit, while volume uses the cube. The NIST length-unit guidance explains why area and volume derive from powers of a length unit. A common mistake is mixing, for example, inches for one input and feet for another; convert them to one unit before entering them.

Output guide

Volume is the space enclosed by the pyramid and is displayed in cubic units. It is driven by all three dimensions and equals exactly one-third of the enclosing rectangular box with the same base and height. Total surface area is the base plus all four triangular faces, in square units. Base area is simply length multiplied by width. Lateral surface area excludes the rectangular base and totals only the four triangular faces. A zero result is not produced for valid inputs because every required dimension must be positive.

Slant height toward width is the centerline distance from the apex to the midpoint of a base-length edge; it uses half the base width. Slant height toward length is the corresponding distance to the midpoint of a base-width edge; it uses half the base length. These are not the corner-to-apex edges. The summary pills repeat the selected unit, base area, and volume for rapid scanning. In the Geometry breakdown table, the Measure column names each quantity, Formula shows the identity used, and Result displays the current value and unit. All outputs are deterministic geometric calculations, not recommendations.

Worked example

For the startup values a = 7 cm, b = 5 cm, and H = 10 cm, the base area is 7 × 5 = 35 cm². The volume is 35 × 10 ÷ 3 = 116.6666... cm³, displayed as 116.67 cm³. The two slant heights are √(10² + 2.5²) = 10.3078 cm and √(10² + 3.5²) = 10.5948 cm. Their paired triangular faces contribute 125.1284 cm² of lateral area; adding the 35 cm² base gives 160.13 cm² of total surface area. These same typed values are written to the startup workbook.

Formula and interpretation

V = (a × b × H) ÷ 3

The factor of one-third applies to every pyramid, regardless of the base shape, provided the base area and perpendicular height are known. Wolfram MathWorld provides a broader derivation of the pyramid volume relationship. Because the result is cubic, changing all linear dimensions by a scale factor k changes volume by k³ and surface area by k². Doubling length, width, and height therefore multiplies volume by eight but surface area by four.

Units, precision, and common mistakes

Volume is measured in cubic units; NIST identifies the cubic meter as the SI unit of volume and explains common relationships with liters in its SI volume guidance. This calculator keeps the selected linear unit throughout instead of silently converting the final result to liters. Displayed volume and area values normally use two decimal places, while slant heights normally use four; extra decimal places appear automatically for small nonzero results so a converted value is not misleadingly shown as zero. The exported workbook retains the unrounded canonical numbers and applies spreadsheet number formats for readability.

The most frequent errors are using a sloped side as the vertical height, mixing units across dimensions, forgetting the division by three, or confusing surface area with volume. Surface area answers a covering question; volume answers a capacity question. If the apex is not centered over the base, the volume formula still uses one-third of base area times perpendicular height, but the right-pyramid surface-area formulas used here no longer describe the unequal side faces.