Square Pyramid Calculator: Volume & Surface Area
Find a square pyramid's volume, base area, slant height, lateral area, and total surface area from its base edge and height, with exact step-by-step results.
The five square pyramid measures
A right square pyramid is defined by its base edge and its height — the apex sits directly above the center of a square base, and all 4 triangular side faces are identical isosceles triangles. Given and , every other measure follows directly:
Volume is exactly one-third of the prism sharing the same base and height — the same relationship a cone has to its enclosing cylinder. The slant height comes from the Pythagorean theorem: it's the hypotenuse of the right triangle formed by the height and half the base edge .
Worked example: a = 6, h = 4
Because and are both whole numbers here, every measure comes out EXACT — even the slant height and lateral area, which involve a square root, collapse to bare integers because happens to be a perfect square.
Worked example: a = 6, h = 8
This time is NOT a perfect square, so the slant height stays an irrational — still an exact closed form, just not a whole number.
Worked example: a = 1, h = 1 (a fractional exact form)
Even when the radicand isn't a perfect square, the slant height's coefficient can still simplify to a clean fraction like instead of collapsing all the way to a whole number — the same fractional-coefficient pattern that shows up in an equilateral triangle's height formula. The volume here is also NOT a whole number: , since 3 doesn't divide evenly.
Common mistakes
- Forgetting the 1/3 factor. A pyramid's volume is always ONE-THIRD of the prism sharing its base and height — never the full base area times height.
- Using h instead of s in the lateral area. Lateral area is built from the slant height, not the pyramid's height — swapping them always understates the true surface area, since is always less than .
- Confusing the slant height with the lateral edge. The slant height goes to a base edge's MIDPOINT; the lateral edge goes all the way to a base CORNER — they're two different lengths, with always.
Where this shows up
- Pyramids, tents, roof structures: volume tells you the enclosed space; lateral area tells you how much material (canvas, roofing, cladding) covers the sloped sides.
- The cube's hidden pyramids: a cube can be split into 3 identical square pyramids of equal volume, all sharing the cube's center as their common apex.
- Extending to a frustum: slicing off a square pyramid's apex parallel to the base produces a pyramid frustum, whose formulas build directly on the same base-edge and height relationships.
A right square pyramid is fully determined by its base edge and height — knowing just and is always enough to find its volume, slant height, lateral area, base area, and total surface area, with the square's own area formula sitting at its base.
Frequently asked questions
- What are the formulas for a square pyramid?
- With base edge a and height h: volume V = (1/3)a²h, slant height s = √(h² + (a/2)²), lateral (side) area L = a√(a² + 4h²), base area B = a², and total surface area A = B + L.
- Why is the volume one-third of a prism's?
- A pyramid is exactly one-third of the prism (or box) that shares the same base and height — the same 1/3 relationship a cone has to its enclosing cylinder.
- What is slant height, and how is it different from the pyramid's height?
- The height h runs straight down from the apex to the base's CENTER; the slant height s runs from the apex to the MIDPOINT of a base edge instead — a shorter, slanted path found via s = √(h² + (a/2)²), the Pythagorean theorem applied to the right triangle formed by h, half the base edge, and s.
- What is the most common mistake with pyramid surface area?
- Using the height h instead of the slant height s when computing lateral area. Lateral area is always built from a·s, not a·h — using h in place of s understates the true surface area, since h is always less than s.
- Is a pyramid's lateral edge the same as its slant height?
- No — a right square pyramid has three distinct 'height' measures: the height h (apex to base center), the slant height s (apex to a base edge's midpoint), and the lateral edge e (apex to a base corner). They're always ordered h < s < e.
- How do I find the total surface area of a square pyramid?
- Add the base area to the lateral area: A = B + L = a² + a√(a² + 4h²). For example, with a = 6 and h = 4, A = 36 + 60 = 96.
- Does the volume always come out to a whole number when a and h are whole numbers?
- No — V = a²h/3 is only a whole number when 3 divides a²h evenly. For example, a = 1 and h = 1 gives V = 1/3 ≈ 0.3333, even though both inputs are whole numbers.
- How is the square pyramid related to the cube and the square?
- A square pyramid's base is a plain square, so its base-area formula a² is identical to the square's own area formula. A cube can even be split into 3 pyramids of equal volume sharing a common apex, though the cube's own volume formula (a³) is unrelated to the pyramid's 1/3 rule.