Calculate the volume and total surface area of a pyramid with a square, rectangular, or triangular base. Enter the base dimensions and perpendicular height to get instant results with full working.
A right pyramid has a flat polygonal base and an apex directly above the centre of the base. The perpendicular height (h) is the straight-line distance from the apex to the base. The slant height (l) runs from the apex to the midpoint of a base edge along the face of the pyramid.
| Base Type | Base Area | Slant Height | Volume | Total Surface Area |
|---|---|---|---|---|
| Square (side a) | a^2 | sqrt(h^2 + (a/2)^2) | (1/3) x a^2 x h | a^2 + 2al |
| Rectangle (l x w) | l x w | Two values: sqrt(h^2+(w/2)^2) and sqrt(h^2+(l/2)^2) | (1/3) x l x w x h | lw + l x sl_w + w x sl_l |
| Right triangle (base b, height t) | (1/2) x b x t | Varies per face | (1/3) x (1/2) x b x t x h | Base area + sum of three lateral faces |
All pyramids share the same volume formula: V = (1/3) x Base Area x h. This holds regardless of the base shape. The factor of one third arises because a pyramid fills exactly one third of the volume of a prism with the same base and height. You can verify this by filling a pyramid-shaped container three times to fill an equivalent prism.
The total surface area of a pyramid equals the base area plus the combined area of all the triangular lateral faces. Each lateral face is a triangle with a base equal to one edge of the pyramid's base and a height equal to the slant height (l). For a square-base pyramid with side a, there are four identical lateral faces, each with area (1/2) x a x l, giving a lateral area of 2al. Total surface area = a^2 + 2al.
For a rectangular-base pyramid, the two pairs of lateral faces have different slant heights (one slant height for the length direction, another for the width direction). The calculator handles both.
For a square-base pyramid with base side a = 5 units and height h = 4 units:
These results match the calculator's defaults.
Pyramid calculations appear in architecture (roof design, monuments), civil engineering (earthworks and stockpile volumes), and manufacturing (cone and hopper design). The Great Pyramid of Giza has a square base of approximately 230.4 m per side and an original height of about 146.5 m, giving a volume of roughly 2.58 million cubic metres.
Sources and method: Standard Euclidean geometry formulas for right pyramids. Weisstein, Eric W. "Pyramid." MathWorld. Coxeter, H.S.M. Introduction to Geometry, 2nd ed. (1969).
This calculator applies to right pyramids where the apex is directly above the centroid of the base. Oblique pyramids (where the apex is offset) use the same volume formula but have different lateral face areas not covered here.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.