Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Right Rectangular Pyramid Calculator

Find the volume, base area and face slant height of a right pyramid with a square base, from the base side length and the perpendicular height.

Right Rectangular Pyramid Calculator

Pyramid volume
48
The space enclosed by the pyramid, one third of base area times height, in cubic units of the length you entered.
Base area
36
Face slant height
5

Background.

A pyramid holds exactly one third of the box that would enclose it. Take a prism with the same base and the same height and the pyramid inside fills a third of it, however tall or squat the shape. The fraction is easiest to believe with a cube: six identical square pyramids, each with one face of the cube as its base and the cube's centre as its apex, fill it completely. Each is one sixth of the cube, which is exactly one third of its base area times its height of half a cube.

The page handles a right pyramid with a square base, the shape of the Great Pyramid at Giza, a square hip roof, or a tent pitched around a centre pole. Right means the apex sits directly above the centre of the base, so all four triangular faces are identical. Despite the name, the base has to be square: there is a single side length to enter, and a pyramid on a long, narrow rectangle needs a separate length and width that the page cannot take.

Two lengths fix everything else. The base side gives the base area, side squared. The perpendicular height, measured straight down from the apex to the base rather than along a face, gives the volume. The slant height, the height of each triangular face from the middle of a base edge up to the apex, follows from Pythagoras, because the vertical height, half the base side and the slant height form a right triangle inside the solid.

The slant height is the figure you need for the outside surface, whether for roofing, cladding or cutting card for a model. Four triangular faces of base s and height l have a combined area of 2 × s × l.

What is right rectangular pyramid calculator?

A right square pyramid has a square base and four congruent isosceles triangles meeting at an apex directly above the centre of that base. Its volume is one third of the base area multiplied by the perpendicular height. Its slant height is the altitude of each triangular face, measured from the midpoint of a base edge to the apex, and is shorter than the lateral edge that runs from a base corner to the apex. Results come out in the unit you enter, squared for area and cubed for volume.

How to use this calculator.

  1. Enter the Square base side, the length of one edge of the base. Any unit works, provided the height uses the same one.
  2. Enter the Perpendicular height, measured vertically from the apex to the centre of the base. If you only know the slant height l, the height is √(l² − (s ÷ 2)²).
  3. Read the volume in cubic units, the base area in square units and the face slant height in the length unit you entered.
  4. For the outside surface, multiply 2 × base side × slant height to get the four faces, and add the base area if the bottom is covered too.

The formula.

V=base area×height/3; slant=√(height²+base apothem²)

The base area is A = s², where s is the base side, and the volume is V = A × h ÷ 3 = s² × h ÷ 3, where h is the perpendicular height. The factor of one third holds for every pyramid and cone, whatever the shape of the base, because horizontal cross-sections shrink with the square of their distance from the apex. For the slant height the page uses a right triangle inside the pyramid: one leg is the height h, the other is the base apothem, the distance from the centre of the base to the middle of an edge, which for a square is s ÷ 2. The hypotenuse is the slant height, l = √(h² + (s ÷ 2)²). Volume grows with the square of the base side, so doubling s quadruples V, while doubling h only doubles it.

A worked example.

Example

A model pyramid has a square base 6 units on a side and stands 4 units tall. The base area is 6² = 36 square units. The volume is 36 × 4 ÷ 3 = 144 ÷ 3 = 48 cubic units, one third of the 144 that a box with the same footprint and height would hold. For the slant height, half the base side is 6 ÷ 2 = 3, so l = √(4² + 3²) = √(16 + 9) = √25 = 5 units. With that slant height the four faces cover 2 × 6 × 5 = 60 square units, or 96 including the base. The corner edges are longer than the slant height: √(4² + 3² + 3²) = √34, about 5.83 units.

base Side6
height4

Frequently asked questions.

Can I use this for a pyramid whose base is a rectangle rather than a square?
Not directly, since there is only one side to enter. For a base of length a and width b, the volume is a × b × h ÷ 3, and there are two slant heights: √(h² + (b ÷ 2)²) for the faces standing on the longer edges and √(h² + (a ÷ 2)²) for the faces on the shorter ones.
What is the difference between the slant height and the lateral edge?
The slant height runs up the middle of a triangular face, from the midpoint of a base edge to the apex. The lateral edge runs along the corner where two faces meet, from a base corner to the apex, so it is always longer: √(h² + s² ÷ 2) instead of √(h² + s² ÷ 4).
I only know the slant height. How do I find the height to enter?
Rearrange the right triangle: h = √(l² − (s ÷ 2)²). With a slant height of 5 and a base side of 6, that is √(25 − 9) = √16 = 4. The slant height must be longer than half the base side, or no pyramid with those measurements exists.
How do I find the volume of a pyramid with its top cut off?
That shape is a frustum. Work out the volume of the full pyramid and subtract the small pyramid removed from the top, or use V = h ÷ 3 × (A₁ + A₂ + √(A₁ × A₂)), where A₁ and A₂ are the bottom and top areas and h is the height of the frustum.
Does a leaning pyramid with the apex off-centre have the same volume?
Yes, as long as the base and the perpendicular height are unchanged, because each horizontal slice keeps the same area. The faces are no longer identical, though, so the single slant height given here does not apply to an oblique pyramid.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
V=base area×height/3; slant=√(height²+base apothem²)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon