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

Right Square Pyramid Calculator

Volume, base area and face slant height of a right square pyramid from its base side and perpendicular height, in whatever length unit you measure with.

Right Square Pyramid Calculator

Pyramid volume
48
Space enclosed by the pyramid, one third of base area times height, in the cube of your length unit.
Base area
36
Face slant height
5

Background.

A pyramid on a square base holds exactly one third of the box that would just enclose it. Greek geometers knew this long before algebra: Archimedes credited Democritus with the discovery and Eudoxus with the proof. It is the whole of the volume rule, V = s² × h ÷ 3, where s is the side of the base and h the height.

Those two lengths fix a right square pyramid completely. "Right" means the apex sits directly above the centre of the square, so the four triangular faces are identical and the height is measured straight down from the tip to that centre, not along a face.

The other length people usually need is the slant height: the distance from the apex down the middle of a face to the midpoint of a base edge. It is the height of each triangular face, so it is what you use for the area of the sides, the length of material running up the centre of each face of a pyramid roof, or the fold line on a paper model. It comes from a right triangle hidden inside the pyramid, with the vertical height and half the base side as its legs.

Do not confuse it with the lateral edge, the sloping line from the apex to a corner. A corner is farther from the centre than an edge midpoint, so the edge is longer: √(h² + s²/2) rather than √(h² + s²/4).

Any length unit works as long as both inputs use it. The Great Pyramid of Giza, about 230.3 m on each side and about 146.6 m tall when complete, comes to roughly 2.59 million cubic metres.

What is right square pyramid calculator?

A right square pyramid has a square base and four congruent isosceles triangular faces meeting at an apex directly above the centre of the base. Its size is set by two lengths, the base side s and the perpendicular height h. From them follow the base area s², the volume s² × h ÷ 3, and the slant height √(h² + (s/2)²), which is the height of each triangular face measured along its centre line.

How to use this calculator.

  1. Enter the length of one side of the square base.
  2. Enter the perpendicular height, from the apex straight down to the centre of the base. If you can only measure up the middle of a face, that is the slant height l; the height is √(l² − (s/2)²).
  3. Use the same unit for both. The base area comes out in that unit squared, the volume in that unit cubed and the slant height in the unit itself.
  4. For the area of the four sloping faces, multiply the slant height by twice the base side; add the base area if the bottom counts too.

The formula.

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

Base area B = s². Volume V = B × h ÷ 3 = s² × h ÷ 3. Slant height l = √(h² + (s/2)²), where s/2 is the apothem of the square base, the distance from its centre to the midpoint of a side. The one-third has a neat demonstration: six identical pyramids with their apexes at the centre of a cube of side s fill it exactly, each with base s² and height s/2, and 6 × s² × (s/2) ÷ 3 = s³. Volume grows with the square of the base side but only in proportion to the height, so a base 10% wider adds 21% to the volume, while a pyramid 10% taller gains just 10%. Slant height always exceeds both h and s/2, since it is the hypotenuse of the triangle they form.

A worked example.

Example

Take a pyramid with a base side of 6 and a perpendicular height of 4, in any unit, say metres. The base area is 6 × 6 = 36 m². Multiplying by the height gives 36 × 4 = 144, the volume of the box that would enclose the pyramid, and one third of that is 144 ÷ 3 = 48 m³. For the slant height, half the base side is 6 ÷ 2 = 3. The height and that half-side form a right triangle: √(4² + 3²) = √(16 + 9) = √25 = 5 m, the classic 3-4-5 triangle. The four faces each have area ½ × 6 × 5 = 15 m², so the sloping sides total 60 m², or 96 m² with the base. The lateral edge to each corner is longer than the slant height, √(16 + 18) ≈ 5.831 m.

base Side6
height4

Frequently asked questions.

Why is the volume exactly one third of a box with the same base and height?
The quickest picture is a cube of side s. Joining its centre to all eight corners cuts it into six identical square pyramids, each with base s² and height s/2. Six of them make s³, so each holds s² × (s/2) ÷ 3, one third of the s² × (s/2) box around it.
What is the difference between slant height and lateral edge?
Slant height runs from the apex to the midpoint of a base edge, straight down the centre of a face. The lateral edge runs from the apex to a corner. For a base of 6 and height 4 the slant height is 5 but the lateral edge is √34, about 5.831.
I can only measure along the outside of the face. How do I get the height?
What you measured up the centre of a face is the slant height l. Rearranging the same right triangle gives h = √(l² − (s/2)²). A tent with a 6 m square base and a 5 m slant height stands √(25 − 9) = 4 m tall at the peak.
How steep are the faces?
The angle between a face and the base is arctan(h ÷ (s/2)). For a base of 6 and height 4 that is arctan(4 ÷ 3) ≈ 53.13°. With the Great Pyramid's approximate dimensions, 146.6 m high on a 230.3 m base, it comes to about 51.85°.
Does the formula still work if the apex is not above the centre?
The volume does. Any pyramid's volume is base area times perpendicular height divided by three, wherever the apex sits, as long as the height is measured vertically. The slant height does not carry over: an off-centre apex gives four different faces, each with its own slant height.

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