Square Pyramid Surface Area Calculator (Height or Slant Height)

Find the surface area of a square pyramid from its base edge and either its height or its slant height. The calculator returns the base area, the lateral area and the total surface area, and works out the missing height or slant height for you.

Surface Area Calculators

Square Pyramid Surface Area Calculator

Total, lateral and base area of a square pyramid from base side and height or slant height.

The starting values are a base edge of 6 and a height of 4. If you know the slant height instead of the vertical height, switch modes and enter it directly. Keep all lengths in the same unit.

The surface area formula

A square pyramid has one square base and four identical triangular faces. The slant height s is measured along the middle of a triangular face, from the base edge up to the apex.

Base area = a²

Lateral area = 2 × a × s

Total surface area = a² + 2 × a × s

Where a is the base edge and s is the slant height. The lateral area is four triangles, each with area a × s / 2, which adds up to 2 × a × s.

If you know the vertical height h instead of s, the slant height comes from a right triangle whose legs are h and half the base edge:

s = √(h² + (a / 2)²)

Worked example: base and height

Take a = 6 and h = 4.

s = √(4² + 3²) = √25 = 5

Lateral area = 2 × 6 × 5 = 60

Base area = 6² = 36

Total surface area = 36 + 60 = 96 square units

This is the starting setup in the calculator, and the 3, 4, 5 triangle inside it makes the numbers easy to check.

Worked example: a taller pyramid

Take a = 10 and h = 12.

s = √(12² + 5²) = √169 = 13

Lateral area = 2 × 10 × 13 = 260

Base area = 100

Total surface area = 360 square units

Worked example: base and slant height

When you can measure the slant height directly, for example along a roof face, enter a and s. Take a = 8 and s = 10.

h = √(10² − 4²) = √84 = 9.165

Lateral area = 2 × 8 × 10 = 160

Base area = 64

Total surface area = 224 square units

The slant height must be longer than half the base edge, because it is the hypotenuse of the right triangle that includes a / 2. If s is not greater than a / 2, no pyramid exists and the calculator flags the entry.

Lateral area or total area?

  • Use the lateral area when the base is not covered, such as for a roof, a tent or a hollow cap.
  • Use the total surface area when every face is covered, such as for paint, wrapping or sheet material on a solid.
  • Both results are in square units of the length unit you entered. A pyramid measured in metres gives square metres.

Checks and common mistakes

  • Do not confuse the vertical height h with the slant height s. The slant height is always longer.
  • Do not use the length of the sloping edge between two faces as the slant height. That edge is longer still.
  • If you split a pyramid into four triangles, each should have area a × s / 2. For the starting pyramid that is 6 × 5 / 2 = 15, and four of them make 60.
  • The volume is a different quantity, equal to a² × h / 3, which is 48 for the starting values. This calculator reports surface area only.

Real roofs and covers need extra for overlap, cuts and waste, so treat the result as the geometric area, not the amount to order.

Worked example: a hip roof

A square hip roof has a plan 8 m by 8 m and a rise of 3 m. The slant height is s = √(3² + 4²) = 5 m. A roof has no base face to cover, so use the lateral area: 2 × 8 × 5 = 80 m². This is the area of the four sloping faces measured along the slope, which is larger than the 64 m² plan area because the faces are tilted.

How size changes the answer

If you double every length of a pyramid, the surface area grows by four times, not two. The starting pyramid has a = 6 and h = 4 and a total of 96. Doubling gives a = 12 and h = 8, so s = √(8² + 6²) = 10, the lateral area is 2 × 12 × 10 = 240, the base is 144 and the total is 384, which is exactly 4 × 96. The volume would grow by eight times.

Converting the result

The answer is in square units of your length unit. If the 96 square units from the starting values were square feet, the area is about 8.92 m², using 0.092903 square metres per square foot. If you measured in centimetres, divide square centimetres by 10,000 to get square metres.

Step by step

  • Measure or choose the base edge a.
  • Measure the vertical height h, or the slant height s along a face.
  • If you only have h, find s with the Pythagorean theorem.
  • Find the four triangles, 2 × a × s in total, then add the base a² if it is covered.

Frequently asked questions

What is the formula for the surface area of a square pyramid?

Total surface area is the base area a² plus the lateral area 2 × a × s, where a is the base edge and s is the slant height.

How do I find the slant height from the height?

Use s = √(h² + (a / 2)²). For a base edge of 6 and a height of 4, the slant height is 5.

What is the difference between lateral and total surface area?

Lateral area counts only the four triangular faces. Total surface area adds the square base. For the starting values they are 60 and 96.

Can the slant height be shorter than half the base?

No. It is the hypotenuse of a right triangle with a leg of a / 2, so it must be longer than half the base edge.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 559