Skip to main content
Full pyramid vs. frustum — read this first This tool is for a full rectangular pyramid whose apex is intact. A frustum is a pyramid with its top cut off (two rectangular bases) and needs a different formula, V = h/3 × (A₁ + A₂ + √(A₁·A₂)). For that shape, use our pyramid frustum calculator.

Calculate

Diagram

h 5 cm l 6 cm w 4 cm s_l 5.3852 cm s_w 5.831 cm

Right pyramid: apex sits above the center of the rectangular base. s_l and s_w are the two slant heights.

Show your work

    Worked examples

    Inputs (l × w × h)VolumeLateral areaTotal area
    2 × 4 × 3819.860227.8602
    6 × 6 × 4486096
    7 × 11 × 13333.6667246.9012323.9012
    9 × 4 × 12144160.7537196.7537
    12 × 12 × 9432259.5997403.5997

    Frequently asked questions

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

    V = (l × w × h) / 3, where l and w are the length and width of the rectangular base and h is the vertical height from the base to the apex. A pyramid fills exactly one-third of the rectangular box (prism) with the same base and height — that is where the division by 3 comes from.

    How do you find the slant height of a rectangular pyramid?

    A (non-square) rectangular pyramid has two different slant heights, one for each pair of opposite triangular faces. The slant height of the faces built on the base edge l is s_l = √(h² + (w/2)²), measured from the apex perpendicular down to that edge. The slant height of the faces built on the base edge w is s_w = √(h² + (l/2)²). For a base of 2 × 4 with height 3: s_l = √(3² + 2²) = √13 ≈ 3.6056 and s_w = √(3² + 1²) = √10 ≈ 3.1623.

    What is the lateral surface area of a rectangular pyramid?

    Add the areas of the four triangular faces: lateral area = l·s_l + w·s_w, where s_l and s_w are the two slant heights. (Each face must pair with its own slant height — the face on base edge l uses s_l.) For a base of 2 × 4 with height 3, the lateral area is 19.8602 square units.

    What is the total surface area of a rectangular pyramid?

    Total surface area = lateral area + base area = (l·s_l + w·s_w) + l·w. The base counts once; the apex contributes no extra area. For a base of 2 × 4 with height 3, the total surface area is 27.8602 square units.

    Worked example: base 2 × 4, height 3 — what are the volume and surface area?

    Volume: V = 2 × 4 × 3 / 3 = 8 cubic units. Slant heights: s_l = √(3² + 2²) = √13 ≈ 3.6056, s_w = √(3² + 1²) = √10 ≈ 3.1623. Lateral area = 2 × s_l + 4 × s_w ≈ 19.8602 square units. Total surface area = lateral + base = 19.8602 + 8 ≈ 27.8602 square units.

    What is the difference between slant height and lateral edge?

    The slant height drops from the apex perpendicular to the midpoint of a base edge (two of them: 3.6056 and 3.1623 for a 2 × 4 base with height 3). The lateral edge runs from the apex to a base corner: e = √(h² + (l/2)² + (w/2)²), which is ≈ 3.7417 here — always the longest of the three.

    What if the base is a square (l = w)?

    Then it is a square pyramid: the two slant heights merge into one, s = √(h² + (a/2)²) where a is the base side. Volume V = a²h/3, lateral area = 2·a·s, total = 2as + a². Example: a = 6, h = 4 gives V = 48, s = √(16 + 9) = 5, lateral = 60, total = 96.

    Does this calculator work for a frustum (truncated pyramid)?

    No — this calculator is for a full rectangular pyramid whose apex is intact. A frustum is a pyramid with its top cut off by a plane parallel to the base, and it needs a different formula: V = h/3 × (A1 + A2 + √(A1·A2)). For that shape, use our pyramid frustum calculator.

    What units should I use?

    Any consistent length unit works — meters, centimeters, inches, feet, whatever you measure in. Enter l, w, and h all in the same unit; the volume comes out in cubic units (unit³) and all areas in square units (unit²). The unit selector above only changes the labels, never the math.

    Can I find the height if I know the volume?

    Yes — rearrange the volume formula: h = 3V / (l×w). For example, a pyramid with volume 48 and a 6 × 6 base has height h = 3 × 48 / 36 = 144 / 36 = 4.

    Free tool by NRTechStudio