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
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.
- 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.
- 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.
- 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.
- 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.
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.
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.
Frequently asked questions.
How do I find the vertical height when I know the slant height?
How do I find the height from the volume and base side?
Is the slant height the same as the edge from apex to corner?
How do I get the surface area from these results?
Does the volume formula still work if the apex is not centred?
What does the formula give for the Great Pyramid of Giza?
References& sources.
- [1]OpenStax, Rice University. Precalculus 2e, 2021. Trigonometry and analytic geometry chapters. Retrieved 2026-08-06.
- [2]OpenStax, Rice University. College Algebra 2e, 2021. Algebra and function chapters. Retrieved 2026-08-06.
- [3]NIST/SEMATECH. e-Handbook of Statistical Methods, 2012. Chapter 1.3 and Chapter 4. Retrieved 2026-08-06.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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