Pyramid Volume and Surface Area Calculator

Choose the base of the pyramid (triangle, rectangle or hexagon), then enter its dimensions to get the volume, surface area and slant height, with each step shown.

Pyramid formulas

  • Volume: V = 1/3 · B · h
  • Surface area: A = B + lateral area

B is the area of the base and h the height from the centre of the base straight up to the apex. Every pyramid has one third of the volume of a prism with the same base and height. The lateral area is the sum of the triangular faces, each one half of a base edge times its slant height s.

Triangular pyramid

With an equilateral triangle base of edge a and the apex above its centre:

  • Base area: B = √3/4 · a²
  • Slant height: s = √(a²/12 + h²)
  • Volume: V = √3/12 · a² · h
  • Surface area: A = √3/4 · a² + 3/2 · a · s

Example with a = 4 cm and h = 6 cm:

B = √3/4 · 4²          ≈ 6.93 cm²
s = √(16/12 + 6²)      ≈ 6.11 cm
V = 1/3 · 6.93 · 6     ≈ 13.86 cm³
A = 6.93 + 3/2 · 4 · 6.11 ≈ 43.59 cm²

Rectangular and square pyramid

  • Volume: V = 1/3 · a · b · h
  • Slant height of the faces on the a sides: s₁ = √((b/2)² + h²)
  • Slant height of the faces on the b sides: s₂ = √((a/2)² + h²)
  • Total surface area: A = a · b + a · s₁ + b · s₂

Here a and b are the sides of the rectangular base. The four triangular faces come in two matching pairs, each pair with its own slant height. Example with a 4 cm × 3 cm base and a height of 6 cm:

V  = 1/3 · 4 · 3 · 6               = 24 cm³
s₁ = √(1.5² + 6²) = √38.25         ≈ 6.18 cm
s₂ = √(2² + 6²)   = √40            ≈ 6.32 cm
A  = 4 · 3 + 4 · 6.18 + 3 · 6.32   ≈ 55.71 cm²

Hexagonal pyramid

With a regular hexagon base of edge a and the apex above its centre:

  • Base area: B = 3·√3/2 · a²
  • Slant height: s = √(3/4 · a² + h²)
  • Volume: V = √3/2 · a² · h
  • Surface area: A = 3·√3/2 · a² + 3 · a · s

Example with a = 4 cm and h = 6 cm:

B = 3·√3/2 · 4²        ≈ 41.57 cm²
s = √(12 + 6²) = √48   ≈ 6.93 cm
V = 1/3 · 41.57 · 6    ≈ 83.14 cm³
A = 41.57 + 3 · 4 · 6.93 ≈ 124.71 cm²

Frequently asked questions

How do I calculate a square pyramid?

Choose the rectangle base and enter the same value for length and width. With side a, the formulas simplify to V = 1/3 · a² · h and A = a² + 2 · a · s, where s = √((a/2)² + h²).

What is the difference between height, slant height and lateral edge?

The height goes straight down from the apex to the centre of the base. The slant height runs down the middle of a triangular face. The lateral edge runs from the apex to a corner of the base and is the longest of the three: √(R² + h²), where R is the distance from the centre of the base to a corner.

How do I calculate a regular tetrahedron?

A regular tetrahedron is a triangular pyramid whose six edges are all equal. With edge a its height is h = a · √(2/3) ≈ 0.816 · a, so V = a³ / (6 · √2) and A = √3 · a². For a = 4 cm, enter a = 4 and h = 3.27 to get about 7.54 cm³.

What is the volume of the Great Pyramid of Giza?

With a square base of about 230 m and an original height of about 147 m, its volume is roughly 1/3 · 230² · 147 ≈ 2.6 million m³.