Last updated October 6, 2026 · Report an error
A rectangular-base pyramid (think of a stretched-out version of the Great Pyramid, or an architectural roof with a non-square footprint) has two pairs of lateral triangular faces with two genuinely different slant heights, since the base edges come in two different lengths — the base's length and width need to be kept separate throughout the calculation. This tool handles that full surface-area breakdown specifically, distinct from the general Pyramid Volume Calculator, which is volume-only and accepts any base area directly regardless of shape. Architects and structural engineers use this exact breakdown when estimating roofing material for a rectangular hip roof, and it's a standard extension of the simpler square-pyramid case in geometry coursework.
How it works
Enter the base length, base width, and height. The base area is simply length × width. Because the base is rectangular rather than square, the pyramid has two pairs of congruent triangular lateral faces — one pair with base edges equal to the length, the other with base edges equal to the width — and each pair has its own slant height. The slant height for the faces with a base edge equal to the WIDTH is found from the height and HALF the LENGTH (since that face's slant runs from the apex down to the midpoint of a length-direction line through the base's center): √(h² + (length/2)²). Symmetrically, the slant height for the faces with a base edge equal to the LENGTH uses half the WIDTH: √(h² + (width/2)²). The lateral area sums both pairs of triangular faces: (length × slant height for length-edge faces) + (width × slant height for width-edge faces). Total area adds the base area to that lateral area, and volume follows the standard pyramid formula, (1/3) × base area × height.
- Enter base length.
- Enter base width.
- Enter height.
- Click Calculate to see your results.
Examples
Length = 6, width = 4, height = 9
Base area = 6×4 = 24. Slant height for width-edge faces = √(9²+3²) = √90 ≈ 9.49. Slant height for length-edge faces = √(9²+2²) = √85 ≈ 9.22. Lateral area = 6×9.22 + 4×9.49 ≈ 55.32+37.95 ≈ 93.26. Total area ≈ 24+93.26 ≈ 117.26. Volume = (1/3)(24)(9) = 72.
Length = 8, width = 6, height = 5
Base area = 8×6 = 48. Slant height for width-edge faces = √(5²+4²) = √41 ≈ 6.40. Slant height for length-edge faces = √(5²+3²) = √34 ≈ 5.83. Lateral area = 8×5.83 + 6×6.40 ≈ 46.65+38.42 ≈ 85.07. Total area ≈ 48+85.07 ≈ 133.07. Volume = (1/3)(48)(5) = 80.
Length = 10, width = 10 (a square base), height = 12
Base area = 100. Both slant heights come out equal here since length = width: √(12²+5²) = √169 = 13 in both cases (a familiar 5-12-13 right triangle). Lateral area = 10×13 + 10×13 = 260. Total area = 100+260 = 360. Volume = (1/3)(100)(12) = 400.
Who should use it
- Estimating roofing material for a rectangular hip roof.
- Geometry coursework extending the square pyramid to the general rectangular case.
- Architectural and structural volume/material estimates.
Industry applications
- Architecture and construction
- Geometry education
Advantages
- Handles the general rectangular case, not just the simpler square-pyramid special case.
- Reports the full breakdown: base area, lateral area, total area, and volume all together.
Limitations
- Only applies to a RIGHT pyramid (apex directly above the base's center) over a rectangular base — an oblique pyramid or a non-rectangular base needs a different approach.
Common mistakes to avoid
- Assuming a square base — for a true rectangle, length and width give two genuinely different slant heights, not one shared value.
- Using half the WRONG dimension in each slant-height formula (the width-edge faces' slant height uses half the length, and vice versa — it's easy to swap these).
- Confusing slant height (to an edge midpoint) with the lateral edge (to a base corner) when computing surface area.
Best practices
- Keep track of which slant height belongs to which pair of faces — always pair "half the length" with the width-edge faces' slant height, and "half the width" with the length-edge faces'.
- For a square base, use the resulting equal slant heights as a quick sanity check that your formula pairing is correct.
- Double check whether your project actually needs total surface area (including the base) or just the lateral (roof/side) area, since roofing material estimates typically only need the lateral portion.
Tips
- Need just the slant height itself, without the full area/volume breakdown? Use the Slant Height Calculator.