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

Height Of A Square Pyramid Calculator

Enter a right square pyramid's base side and vertical height to get its volume, base area and face slant height, with the formulas to work backwards.

Height Of A 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 square pyramid has three different "heights", and mixing them up is the commonest mistake in pyramid problems. The true height runs straight down from the apex to the centre of the base, at right angles to it. The slant height runs down the middle of one triangular face, from the apex to the midpoint of a base edge. The lateral edge runs from the apex to a corner. They always come in that order, shortest to longest, and only the first belongs in the volume formula.

Here you supply the side of the square base and the perpendicular height, and the page returns the base area, the volume and the slant height. Volume is one third of base area times height, exactly a third of the box that would just enclose the pyramid. The slant height comes from a right triangle hidden inside the solid: its vertical leg is the height, its horizontal leg is half the base side (the distance from the centre of the square to the middle of an edge), and its hypotenuse lies along the face.

In practice people often know the slant height or the volume and need the vertical height instead. The same relationships run backwards: the height is the square root of the slant height squared minus half the side squared, or three times the volume divided by the base area. Work it out that way first, then enter it to get the remaining measurements.

The pyramid is assumed to be right and regular, with its apex directly above the centre of a square base. Shift the apex off-centre and the volume formula still holds, but the four faces no longer share one slant height, so that output would stop meaning anything.

What is height of a square pyramid calculator?

The height of a square pyramid is the perpendicular distance from the apex to the plane of the base. In a right pyramid the apex sits directly over the centre of the square, so the height meets the base exactly at its centre. It is shorter than both the slant height, measured along the middle of a face, and the lateral edge, measured from apex to corner. Together with the base side, it fixes the pyramid's volume, its face slant height and every other dimension of a regular square pyramid.

How to use this calculator.

  1. Enter the length of one edge of the square base in Square base side. All four edges are equal on a regular pyramid; if yours differ, this page does not apply.
  2. Enter the vertical height in Perpendicular height, apex to the centre of the base at right angles to it. If you only know the slant height or the volume, convert it to the vertical height first, as the questions below show.
  3. Use one length unit for both fields. Volume then comes out in that unit cubed, base area in that unit squared, and slant height in the unit itself.
  4. Use the slant height for anything that covers the faces, such as cladding, fabric or a paper net, and the volume for whatever fills the inside.

The formula.

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

With base side s and perpendicular height h: base area A = s², volume V = A × h ÷ 3 = s²h ÷ 3, and slant height ℓ = √(h² + (s/2)²). The one-third is the factor every pyramid and cone shares: a pyramid holds exactly a third of the prism with the same base and height. A cube shows it neatly, splitting into three identical square pyramids that share one corner as their apex. In the slant-height formula, s/2 is the base apothem, the distance from the centre of the square to the midpoint of a side; with h it forms the two legs of a right triangle whose hypotenuse runs down the face. Volume grows with the square of the base side but only in proportion to the height, so a 10% wider base adds 21% to the volume while a 10% taller pyramid adds 10%.

A worked example.

Example

Take a pyramid with a square base 6 units on a side, standing 4 units tall. Base area: 6 × 6 = 36 square units. Volume: 36 × 4 = 144 for the enclosing box, and a third of that, 144 ÷ 3 = 48 cubic units. For the slant height, half the base side is 6 ÷ 2 = 3; then 4² + 3² = 16 + 9 = 25, and √25 = 5 units, so a 3-4-5 right triangle stands inside the pyramid. The edge from apex to corner is longer again: √(4² + 6²/2) = √34, about 5.831 units. Doubling the height to 8 doubles the volume to 96 but raises the slant height only to about 8.544.

base Side6
height4

Frequently asked questions.

How do I find the vertical height when I know the slant height?
Use the hidden right triangle in reverse: h = √(ℓ² − (s/2)²). With a slant height of 13 and a base side of 10, half the side is 5, so h = √(169 − 25) = √144 = 12. Enter 12 as the height to get the volume.
How do I find the height from the volume and base side?
Rearrange the volume formula: h = 3V ÷ s². A square pyramid holding 1,000 cubic centimetres on a 10 cm base needs a height of 3 × 1,000 ÷ 100 = 30 cm. That is three times the height of a 10 cm box holding the same amount.
Is the slant height the same as the edge from apex to corner?
No. The slant height runs to the middle of a base edge; the lateral edge runs to a corner and is always longer, at √(h² + s²/2). For the 6-by-4 example the slant height is 5 while the lateral edge is about 5.831.
How do I get the surface area from these results?
Each face is a triangle with base s and height equal to the slant height, so the four faces together cover 2 × s × ℓ. For the default pyramid that is 2 × 6 × 5 = 60 square units; adding the 36-unit base gives 96 for the whole closed surface.
Does the volume formula still work if the apex is not centred?
Yes. Volume depends only on the base area and the perpendicular height, so sliding the apex sideways at the same height leaves it unchanged. What breaks is the slant height: the faces become different triangles, each with its own slant, which is why this page assumes a right pyramid.
What does the formula give for the Great Pyramid of Giza?
Using its commonly cited original dimensions, a base side of about 230.3 m and a height of about 146.6 m, the volume works out to roughly 2.59 million cubic metres and the slant height to about 186 m. The loss of its outer casing stones and capstone has since made it several metres shorter.

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