Square Pyramid Height Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the base edge of a square pyramid and one more measurement to get its height, volume, slant height and lateral edge.
Result
Height h
Volume a²h/3 (cubic units)
- Slant height √(h² + (a/2)²)
- Lateral edge √(h² + a²/2)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- The second value you know is: choose Volume (cubic units), Slant height (apex to middle of a base edge) or Lateral edge (apex to a base corner).
- Base edge a (length units): enter 0 or more.
- Known value (volume, slant height or lateral edge): enter 0 or more.
- Read the result: Height h; the panel also shows Volume a²h/3 (cubic units), Slant height √(h² + (a/2)²) and Lateral edge √(h² + a²/2).
How this calculator works
The height h of a square pyramid runs from the apex straight down to the center of the square base. From the volume V = a²h/3, h = 3V/a².
From the slant height s (apex to the midpoint of a base edge), the right triangle with legs h and a/2 gives h = √(s² − (a/2)²). From the lateral edge e (apex to a corner), the half diagonal of the base is a/√2, so h = √(e² − a²/2).
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| The second value you know is (1: Volume (cubic units); 2: Slant height (apex to middle of a base edge); 3: Lateral edge (apex to a base corner)) | ||
| Base edge a | length units | |
| Known value (volume, slant height or lateral edge) | ||
| Height h |
Worked example
| The second value you know is | Slant height (apex to middle of a base edge) |
|---|---|
| Base edge a (length units) | 6 |
| Known value (volume, slant height or lateral edge) | 5 |
| Volume a²h/3 (cubic units) | 48 |
|---|---|
| Slant height √(h² + (a/2)²) | 5 |
| Lateral edge √(h² + a²/2) | 5.831 |
Height h 4
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the height of a square pyramid with a 6-unit base and a slant height of 5?
h = √(25 − 9) = 4 units, and its volume is 36 × 4 ÷ 3 = 48 cubic units.
Is the slant height the same as the height?
No. The slant height runs along a face, so it is always longer than the vertical height.