StatGardenREF. DESK
Calculators/Geometry/Surface Area of a Square Pyramid
Geometry

Surface Area of a Square Pyramid calculator

Total and lateral surface area of a square-based pyramid from its base side and height.

Published 21 August 2026

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

Formulal = √(h² + (a/2)²); Lateral area = 2·a·l; Total area = a² + 2·a·l

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.

TermMeaning
aThe base side length, and the side used in the plain square base area, a².
lThe slant height, from the apex down the middle of a triangular face to the base edge.
Lateral surface areaThe combined area of the four triangular faces only, excluding the base.

The inputs explained

FieldWhat to enter
Base sideThe length of one side of the square base.
HeightThe 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.

Base side fixed at 10, across a range of heights
HeightTotal surface areaLateral surface area (4 triangular faces)
6256.205156.205
9305.913205.913
12360.000260.000
15416.228316.228
18473.631373.631
The base area holds steady at 100.000 throughout since the base side never changes, so the whole increase in total surface area comes from the four sloped faces: raising the height from 6 to 18 takes the lateral area from 156.205 to 373.631, and the total from 256.205 to 473.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.

Height fixed at 12, across a range of base side lengths
Base sideTotal surface areaBase area
4113.32416.000
8266.38664.000
12465.994144.000
16717.511256.000
201,024.82400.000
Base area alone grows by a clean factor of four with each doubling of the base side, from 64.000 at a base side of 8 to 256.000 at 16; but with the height held fixed the slant height lengthens too as the base widens, so the total surface area grows a little less steeply than that, from 266.386 up to 717.511, a bit under a threefold increase rather than a clean fourfold one.

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.