500
units³
15.8114
units
316.2278
units²
416.2278
units²
500
units³
15.8114
units
316.2278
units²
416.2278
units²
A pyramid is one of the most recognizable geometric solids in human history, from the ancient pyramids of Giza to modern architectural designs. In geometry, a pyramid is a polyhedron formed by connecting a polygonal base to a single apex point. This Pyramid Calculator focuses on the square pyramid — the most common type — where the base is a square and the apex sits directly above the center of the base (a right pyramid).
Given the base side length $$a$$ and the perpendicular height $$h$$, the calculator determines the volume, slant height, lateral surface area, and total surface area. These measurements are indispensable in architecture, civil engineering, packaging design, and educational geometry.
The volume of any pyramid is one-third of the base area times the height:
$$V = \frac{1}{3} a^2 h$$
This formula, first rigorously proved by Eudoxus of Cnidus and later refined by Euclid, shows that a pyramid occupies exactly one-third the volume of a prism with the same base and height. This relationship is one of the most elegant results in solid geometry and can be demonstrated by dissecting a cube into three congruent pyramids.
The slant height $$l$$ is the distance from the apex to the midpoint of any base edge. For a right square pyramid, it is computed as:
$$l = \sqrt{h^2 + \left(\frac{a}{2}\right)^2}$$
Each triangular face has a base of $$a$$ and a height equal to the slant height $$l$$. Since there are four such faces, the lateral surface area is:
$$A_{\text{lateral}} = 4 \times \frac{1}{2} a l = 2a\sqrt{h^2 + \frac{a^2}{4}}$$
The total surface area adds the square base:
$$A_{\text{total}} = A_{\text{lateral}} + a^2$$
Pyramid geometry has practical applications far beyond monumental construction. In packaging, pyramid-shaped containers are used for specialty products and require precise surface area calculations for material costs. In roofing, hip roofs often form pyramid shapes, and calculating the slant height and lateral area determines shingle quantities. In mining and earthworks, stockpiles of material are approximated as pyramids to estimate volume. The Great Pyramid of Giza, with a base side of approximately 230.4 meters and an original height of 146.5 meters, has a volume of roughly 2.6 million cubic meters — a calculation easily verified with this tool. Whether for academic study or professional engineering, this calculator provides fast, accurate results for all square pyramid dimensions.
Enter the base side length $$a$$ and the perpendicular height $$h$$. The calculator squares the base side to get the base area, multiplies by height and divides by 3 for volume. It then uses the Pythagorean theorem to find the slant height from the apex to the midpoint of a base edge, computes the area of four congruent triangular faces for the lateral area, and adds the base area for the total surface area.
The volume represents the internal capacity of the pyramid. The slant height is the distance from apex to base-edge midpoint along a face — not to be confused with the lateral edge (apex to base corner). The lateral area covers all four triangular faces, useful for cladding or painting estimates. The total surface area includes the bottom base, relevant when the base needs material coverage.
Inputs
Results
A square pyramid with base side 10 and height 15 has a volume of 500 cubic units.
Inputs
Results
The Great Pyramid with base 230.4 m and height 146.5 m has a volume of approximately 2.59 million cubic meters.
The slant height is the distance from the apex to the midpoint of a base edge, measured along a triangular face. The lateral edge is the distance from the apex to a corner of the base. For a square pyramid: lateral edge = $$\sqrt{h^2 + \frac{a^2}{2}}$$, while slant height = $$\sqrt{h^2 + \frac{a^2}{4}}$$.
This calculator is designed for square-based right pyramids where the apex is directly above the center. For rectangular, triangular, or other polygonal bases, the formulas differ. Use our Pyramid Volume Calculator for a general base-area approach.
A cube can be dissected into exactly three congruent pyramids, each with volume one-third of the cube. This geometric proof extends to any pyramid: $$V = \frac{1}{3} \times \text{base area} \times h$$. The factor of 1/3 also emerges from integral calculus when summing infinitely thin horizontal slices.
The volume formula $$V = \frac{1}{3} a^2 h$$ still holds for oblique pyramids as long as $$h$$ is the perpendicular height (the vertical distance from the apex to the base plane), not the slant distance. However, the slant height and surface area formulas in this calculator assume a right pyramid.
Common examples include hip roofs, ancient monuments (Giza, Mesoamerican temples), glass atriums (the Louvre pyramid), diamond-shaped gemstone pavilions, cheese wedges, decorative paperweights, and material stockpiles. Pyramid shapes also appear in packaging, funnel designs, and solar concentrators.
No. The height $$h$$ must be the perpendicular distance from the base to the apex. If you only know the slant height $$l$$, convert it to perpendicular height using $$h = \sqrt{l^2 - (a/2)^2}$$ before entering it into the calculator.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!