Pyramid Block Calculator - Volume & Surface Area

Calculate volume, surface area, lateral area, and base area for square, triangular, pentagonal, and hexagonal pyramids.

Select the base type, enter the base length and height, then optionally provide slant height or apothem. Click Calculate to get all geometric properties.

Pyramid Block Calculator - Volume & Surface Area
Calculate volume, surface area, lateral area, and base area for square, triangular, pentagonal, and hexagonal pyramids.

About the Pyramid Block Calculator

A pyramid is a three-dimensional solid with a polygonal base and triangular lateral faces that converge to a single apex directly above the centre of the base. The specific shape of the base — square, equilateral triangle, regular pentagon, or regular hexagon — determines the number of lateral faces and the formulas used to compute each geometric property. The most fundamental property is volume. For any pyramid, regardless of base shape, volume equals one-third of the base area multiplied by the perpendicular height: V = (1/3) × A_base × h. This one-third factor arises because three congruent pyramids can be assembled to fill a prism of the same base and height — an elegant geometric identity that holds for all pyramid types. The base area depends on the polygon. A square base of side length L has area L². An equilateral triangular base has area (√3 / 4) × L². A regular pentagonal base has area (5L² / 4) × cot(π/5), and a regular hexagonal base has area (3√3 / 2) × L². All of these formulas assume a regular polygon — that is, all sides equal and all interior angles equal. The slant height is the distance from the midpoint of a base edge to the apex, measured along the lateral face. It is not the same as the true height. For a right pyramid, the slant height can be computed from the perpendicular height h and the apothem a of the base polygon: slant height = √(h² + a²). The apothem is the distance from the centre of the polygon to the midpoint of any side. For a square, apothem = L/2. For an equilateral triangle, apothem = L / (2√3). For a regular pentagon, apothem = L / (2 tan(π/5)). For a regular hexagon, apothem = L√3 / 2. The lateral surface area is the combined area of all the triangular faces, not including the base. For a right pyramid with a regular polygonal base, it simplifies to (1/2) × Perimeter × slant height. The total surface area is the lateral surface area plus the base area. These calculations have direct practical applications. In construction, a pyramid-shaped roof section requires lateral surface area for roofing material estimation. In manufacturing, volume calculations determine raw-material requirements and weight for pyramid-shaped components. In education and 3D-printing, all six properties together fully characterise the geometry of the printed or studied solid. This calculator automates all six results — volume, base area, lateral area, total surface area, slant height, and apothem — from just two required inputs: base side length and height.

Pyramid block examples

Four worked examples showing each base type with typical construction or education dimensions.

ConfigurationVolumeSurface details
Square, L = 10 cm, H = 15 cm500.00 cm³Base area = 100 cm². Slant height ≈ 15.81 cm. Lateral SA ≈ 316.2 cm². Total SA ≈ 416.2 cm².
Triangular, L = 8 cm, H = 12 cm110.85 cm³Equilateral triangular base, area ≈ 27.71 cm². Slant height ≈ 12.06 cm. Total SA ≈ 172.6 cm².
Pentagonal, L = 6 cm, H = 10 cm206.46 cm³Pentagon base area ≈ 61.94 cm². Slant height ≈ 10.85 cm. Total SA ≈ 224.5 cm².
Hexagonal, L = 7 cm, H = 13 cm551.67 cm³Hexagon base area ≈ 127.31 cm². Slant height ≈ 14.34 cm. Lateral SA ≈ 301.1 cm². Total SA ≈ 428.4 cm².

How to use the pyramid block calculator

  1. Select the base type from the dropdown: Square, Triangular (equilateral), Pentagonal, or Hexagonal.
  2. Enter the base length — the side length of the regular polygon that forms the base — and the perpendicular height from base to apex.
  3. Optionally enter the slant height and/or apothem if you have them measured directly; otherwise the calculator derives them from the base length and height.
  4. Select the unit (cm, m, in, ft) for all dimensions. The result will be in the corresponding squared and cubed units.
  5. Click Calculate to see volume, base area, lateral surface area, total surface area, slant height, and apothem. Click Reset to clear all fields.

Pyramid block calculator FAQ

What is the formula for pyramid volume?
The volume of any pyramid is V = (1/3) × Base Area × Height. The base area formula depends on the polygon: L² for a square, (√3/4)L² for an equilateral triangle, (5L²/4)cot(π/5) for a regular pentagon, and (3√3/2)L² for a regular hexagon. Height is the perpendicular distance from the base plane to the apex.
What is the difference between slant height and true height?
The true (perpendicular) height h is measured vertically from the centre of the base to the apex. The slant height is the distance from the midpoint of a base edge to the apex along the lateral face surface, and equals √(h² + a²) where a is the apothem of the base polygon. Slant height is always greater than true height.
What is the apothem of a pyramid's base?
The apothem is the distance from the centre of the regular polygon base to the midpoint of any side — it is the inradius of the base polygon. For a square of side L, apothem = L/2. For a regular hexagon of side L, apothem = L√3/2. The apothem is used to compute slant height and lateral surface area.
How do I calculate the lateral surface area of a pyramid?
For a right pyramid with a regular polygonal base, lateral surface area = (1/2) × Perimeter × Slant Height. The perimeter is simply the number of sides multiplied by the side length. Slant height can be measured directly or computed as √(h² + a²). This formula gives the combined area of all the triangular faces excluding the base.
Can I use different units for base length and height?
No — all linear inputs (base length, height, slant height, apothem) must use the same unit. Select your unit from the dropdown before entering values. The volume will be reported in that unit cubed, and surface areas in that unit squared. To convert results, multiply volumes by the appropriate cubic conversion factor and areas by the square conversion factor.
How accurate are the calculations?
All calculations use standard floating-point arithmetic and the exact geometric formulas derived from trigonometry. Results are displayed to two decimal places, which is sufficient for all construction, architectural, and educational applications. For very large or very small numbers the calculator uses scientific notation to maintain readability.