What this calculator does
The surface area of a square pyramid combines the flat square base with the four identical triangular faces rising to the apex. Getting the base right on its own is nothing more than the ordinary area of a square, side times side, but the four sloped faces need a slant height first before their area can be added on.
This calculator takes a base side length and a height, works out that slant height internally, and returns the total surface area of a square pyramid, with the lateral area of just the four triangular faces and the plain base area broken out alongside it.
The formula
The slant height, from the apex down the middle of a triangular face to the base edge, is l = √(h² + (a/2)²). Each triangular face then has area ½ × a × l, and there are four of them, giving lateral area = 2 × a × l. Total surface area adds the plain square base area of a square, a², on top: total = a² + 2al.
| Term | Meaning |
|---|---|
| a | The base side length, and the side used in the plain square base area, a². |
| l | The slant height, from the apex down the middle of a triangular face to the base edge. |
| Lateral surface area | The combined area of the four triangular faces only, excluding the base. |
The inputs explained
| Field | What to enter |
|---|---|
| Base side | The length of one side of the square base. |
| Height | The vertical height, from the centre of the base straight up to the apex. |
When to use it
Cladding or roofing a square pyramid structure
A pyramid-roofed pavilion, tent or monument with a square footprint needs its surface area, not its volume, to work out how much roofing sheet, canvas or cladding will cover the four sloped faces.
Surface area of a pyramid for a painting or coating job
A pyramid-shaped display, sign or garden feature is painted or coated by area, and the total surface area here includes both the base, if it needs covering, and the four sloped faces.
Working an area of a square formula into a larger problem
The base of a square pyramid alone uses the plain area of a square formula, side squared, before the four triangular faces are added on top; this calculator shows that base figure separately for exactly that reason.
Worked examples
Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.
Surface area of a square pyramid across a range of heights
A fixed base side of 10, across a range of heights from short to tall.
| Height | Total surface area | Lateral surface area (4 triangular faces) |
|---|---|---|
| 6 | 256.205 | 156.205 |
| 9 | 305.913 | 205.913 |
| 12 | 360.000 | 260.000 |
| 15 | 416.228 | 316.228 |
| 18 | 473.631 | 373.631 |
Surface area of a square pyramid across a range of base sides
A fixed height of 12, across a range of base side lengths.
| Base side | Total surface area | Base area |
|---|---|---|
| 4 | 113.324 | 16.000 |
| 8 | 266.386 | 64.000 |
| 12 | 465.994 | 144.000 |
| 16 | 717.511 | 256.000 |
| 20 | 1,024.82 | 400.000 |
Questions
What is the surface area of a square pyramid formula?
Total surface area = a² + 2al, where a is the base side and l is the slant height. The a² term is the plain base area, and 2al is the combined area of the four triangular faces.
How do you find the slant height for a square pyramid’s surface area?
Slant height l = √(h² + (a/2)²), using Pythagoras on the vertical height and half the base side. This calculator works it out automatically from the base side and height entered.
What is the area of a square formula, and where does it fit in?
The area of a square formula is simply side × side, or a². For a square pyramid, that gives the flat base area alone; the four triangular faces are a separate calculation added on top of it for the total surface area.
What is the difference between lateral surface area and total surface area?
Lateral surface area covers only the four sloped triangular faces, useful when the base sits on the ground and does not need covering. Total surface area adds the base on top, useful when the whole solid, base included, needs a material quantity.
For the volume of the same shape, see the square pyramid volume calculator. For a pyramid with a rectangular, non-square base, see the general pyramid calculator.