Surface Area of a Square Pyramid Calculator
Total the base and four triangular faces of a square pyramid. Enter the base side plus either the vertical height or the slant height, in any unit — the calculator converts between the two with the Pythagorean theorem and reports total area, lateral area, and volume.
Example: with Base side (a) 6 · Height type Vertical height (base center to apex) · Height value 4 → Total surface area a² + 2al: 96 square units.
- Lateral area (4 faces) 2al60 square units
- Slant height l5 units
- Base area a²36 square units
Computed by the calculator below using its default values. Change any input to see your own numbers.
Total SA = a² + 2al, where the slant height l = √(h² + (a/2)²). Each triangular face is ½·a·l, and there are four of them.
Two heights, one pyramid
A square pyramid has five faces: the square base (a²) and four identical triangles. Each triangle's height is not the pyramid's vertical height h but the slant height l — the distance from the midpoint of a base edge up the face to the apex. The two are linked by a right triangle inside the pyramid: l = √(h² + (a/2)²). With a 6-unit base and 4-unit vertical height, l = √(16 + 9) = 5, so each face is ½ × 6 × 5 = 15 and the total is 36 + 60 = 96.
Mixing up the two heights is the classic error, and it always errs the same direction: the slant height is longer than the vertical height, so using h in the face formula undersizes your material. Roofers estimating a pyramid (hip-to-peak) roof want the lateral area 2al only — the base is the ceiling, not a surface to shingle.
How it’s calculated
Slant height l = √(h² + (a/2)²) when you give vertical height h; reversing, h = √(l² − (a/2)²) when you give l (requires l > a/2). Lateral area = 4 × ½·a·l = 2al; base = a²; total SA = a² + 2al. Bonus volume = (1/3)a²h.
Right regular pyramids only — apex centered over a square base. Off-center apexes make the four faces unequal, and each must be computed separately.
Worked square pyramids
| Base a | Height | Slant l | Lateral 2al | Total SA |
|---|---|---|---|---|
| 6 | h = 4 | 5 | 60 | 96 |
| 10 | h = 12 | 13 | 260 | 360 |
| 8 | l = 5 (given) | 5 | 80 | 144 |
| 756 ft (Great Pyramid) | h = 481 ft | 611.8 ft | ≈ 925,000 ft² | ≈ 1.5 million ft² |
Computed with l = √(h² + (a/2)²) and SA = a² + 2al; Great Pyramid original base 756 ft and height 481 ft (commonly published values).
Common mistakes
- Using the vertical height in the face-area formula — the triangles need the slant height, which is always longer (l = √(h² + (a/2)²)).
- Forgetting there are four triangles: lateral area is 2al, not ½al.
- Adding the base when the job only covers the sides (roofing, tent walls) — or omitting it when wrapping the whole solid.
- Entering a slant height smaller than half the base side; no such pyramid exists, and the calculator will tell you.
Frequently asked questions
What is the surface area formula for a square pyramid?
Total SA = a² + 2al: the square base plus four triangles of ½·a·l each, where a is the base side and l the slant height. If you know the vertical height h instead, first compute l = √(h² + (a/2)²).
What is the difference between slant height and vertical height?
Vertical height h runs from the base center straight up to the apex; slant height l runs up the middle of a triangular face. l is always longer, and they connect through l² = h² + (a/2)².
How do I find just the lateral area?
Lateral area = 2al, the four triangles without the base. That is the number for shingling a pyramid roof or fabric for a pyramid tent — the 6 × 4 default needs 60 square units of it.
Can I get volume from the same inputs?
Yes — V = (1/3)a²h, shown as a bonus row. The 10-unit base with 12-unit height holds 400 cubic units while needing 360 square units of surface.
Why does my slant height entry give an error?
The slant height must exceed half the base side, because l is the hypotenuse of a triangle whose horizontal leg is a/2. An 8-unit base with a claimed 3-unit slant height cannot close into a pyramid.