Pyramid Volume and Surface Area Calculator

A square pyramid is a solid with a square base and four triangular faces that rise to meet at a single point called the apex. It is one of the most recognised shapes in geometry, appearing in ancient architecture, roof design, packaging, and models. This calculator takes just two inputs, the length of the square base edge and the vertical height, and returns all four key measurements: volume, slant height, lateral surface area, and total surface area. Volume is one third of the base area times the height, a rule that applies to every type of pyramid and cone. The slant height is the distance from the apex down the centre of one triangular face to the midpoint of the base edge, found using Pythagoras from the vertical height and half the base edge length. The lateral surface area is the combined area of the four triangular faces only, useful when you are cladding or tiling the slopes without covering the base. The total surface area adds the square base to the lateral area. Enter any positive base edge and height and the calculator updates instantly. The units are consistent throughout: if you enter dimensions in metres, the volume comes back in cubic metres and the areas in square metres. Use this tool for geometry homework, architecture and construction estimates, model making, and any problem where you need the measurements of a pyramidal shape quickly and accurately. The formulas and a worked example are set out below.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
units
units
96
volume (cubic units)
Slant height8.54
Lateral SA102.53
Total SA138.53

How it works

For a square pyramid with base edge a and vertical height h: volume = (1/3) × a² × h. Slant height l = √(h² + (a/2)²). Lateral surface area = 2 × a × l (the four triangular faces). Total surface area = a² + 2al (base plus the four sloping faces). The slant height is the height measured along the sloping face, not the vertical height through the centre of the pyramid.

Worked example

With a base edge of 6 and a vertical height of 8: volume = (1/3) × 36 × 8 = 96 cubic units. Slant height = √(8² + 3²) = √(64 + 9) = √73 ≈ 8.54 units. Lateral surface area = 2 × 6 × 8.54 ≈ 102.50 square units. Total surface area = 36 + 102.50 ≈ 138.50 square units. These match the pre-filled defaults above.

Related calculators