Pyramid Calculator
Volume
—
Surface Area
—
Slant Height
—
How Pyramid Calculations Work
A pyramid is a three-dimensional geometric solid with a polygonal base and triangular faces that converge to a single point called the apex. According to Math is Fun, pyramids are classified by their base shape: square pyramids have a square base with 4 triangular faces, triangular pyramids (tetrahedra) have a triangular base with 3 triangular faces, and hexagonal pyramids have a hexagonal base with 6 triangular faces. The most commonly encountered pyramids in mathematics and engineering are square-based, as seen in the famous Egyptian pyramids at Giza.
This calculator computes volume, total surface area, and slant height for both square and triangular (equilateral) base pyramids given the base side length and vertical height. These calculations are essential in architecture, construction, packaging design, and academic mathematics. The Great Pyramid of Giza, with a base side of 230.4 meters and original height of 146.5 meters, has a volume of approximately 2.6 million cubic meters, according to Encyclopaedia Britannica. Understanding pyramid geometry helps with everything from calculating concrete needed for a pyramid-shaped planter to solving college geometry problems.
How Pyramid Volume and Surface Area Are Calculated
The fundamental pyramid volume formula applies to any base shape:
Volume = (1/3) x Base Area x Height
The specific formulas depend on the base type:
- Square base area = s^2 (side length squared)
- Equilateral triangle base area = (sqrt(3)/4) x s^2
- Slant height (square) = sqrt(h^2 + (s/2)^2), the distance from apex to the midpoint of a base edge
- Slant height (triangular) = sqrt(h^2 + (s/(2*sqrt(3)))^2), using the apothem of the triangular base
- Lateral surface area (square) = 4 x (1/2) x s x slant height = 2 x s x slant height
- Total surface area = Base area + Lateral surface area
Worked example: A square pyramid with base side = 6 units and height = 10 units. Base area = 36. Volume = (1/3) x 36 x 10 = 120 cubic units. Slant height = sqrt(100 + 9) = sqrt(109) = 10.44 units. Lateral area = 2 x 6 x 10.44 = 125.3. Total surface area = 36 + 125.3 = 161.3 square units. Compare this with the same dimensions using our Cone Calculator to see how circular bases change the result.
Key Terms You Should Know
- Apex — The single point where all triangular faces of a pyramid meet. In a right pyramid, the apex is directly above the centroid (center) of the base.
- Slant Height — The distance measured along a triangular face from the apex to the midpoint of a base edge. Not the same as the vertical height or the edge length. Slant height is always longer than the vertical height.
- Apothem — The perpendicular distance from the center of the base to the midpoint of a base side. For a square with side s, the apothem equals s/2. For an equilateral triangle, it equals s/(2*sqrt(3)).
- Regular Pyramid — A pyramid whose base is a regular polygon (all sides equal, all angles equal) and whose apex is directly above the center of the base. All lateral faces are congruent isosceles triangles.
- Tetrahedron — A pyramid with a triangular base, making it the simplest possible pyramid with just 4 faces. A regular tetrahedron has all four faces as equilateral triangles and all 6 edges of equal length.
- Lateral Face — One of the triangular faces connecting a base edge to the apex. A square pyramid has 4 lateral faces, a triangular pyramid has 3, and a hexagonal pyramid has 6.
Volume and Surface Area Comparison Table
The following table compares pyramid dimensions for a square base pyramid across common sizes. These values are useful for construction, academic reference, and architectural planning.
| Base Side | Height | Volume | Slant Height | Surface Area |
|---|---|---|---|---|
| 2 | 3 | 4.00 | 3.16 | 16.65 |
| 5 | 8 | 66.67 | 8.31 | 108.1 |
| 6 | 10 | 120.0 | 10.44 | 161.3 |
| 10 | 10 | 333.3 | 11.18 | 323.6 |
| 10 | 15 | 500.0 | 15.81 | 416.2 |
| 20 | 20 | 2,666.7 | 22.36 | 1,294.4 |
Practical Examples
Example 1 — Concrete pyramid planter: You want to build a decorative square pyramid planter with a 2-foot base and 1.5-foot height. Volume = (1/3) x 4 x 1.5 = 2.0 cubic feet. You need 2 cubic feet of concrete (about 0.07 cubic yards). The slant height = sqrt(2.25 + 1) = 1.80 feet, and the total surface area (without the base) = 2 x 2 x 1.80 = 7.21 square feet for the form material.
Example 2 — Glass pyramid skylight: An architectural skylight with a square base of 3 meters and height of 2 meters. Slant height = sqrt(4 + 2.25) = 2.5 meters. Lateral surface area = 2 x 3 x 2.5 = 15 square meters of glass needed. Volume of the interior space = (1/3) x 9 x 2 = 6 cubic meters. Use our Area Calculator for the base dimensions.
Example 3 — Regular tetrahedron: A triangular pyramid (tetrahedron) with side length 8 units. Base area = (sqrt(3)/4) x 64 = 27.71. Height of a regular tetrahedron = s x sqrt(2/3) = 8 x 0.8165 = 6.53. Volume = (1/3) x 27.71 x 6.53 = 60.34 cubic units. Total surface area = 4 x (sqrt(3)/4) x 64 = 110.85 square units (four identical equilateral triangle faces).
Tips and Strategies for Pyramid Calculations
- Remember the one-third rule. A pyramid always has exactly one-third the volume of a prism with the same base and height. This is a fundamental relationship in geometry that holds regardless of the base shape.
- Do not confuse height with slant height. The vertical height (altitude) is measured perpendicular from the base to the apex. The slant height runs along the face surface. For construction and material calculations, slant height determines the size of each triangular face panel.
- Use Pythagorean theorem for missing dimensions. If you know two of the three values (height, slant height, apothem), you can find the third using h^2 + a^2 = l^2, where h is height, a is apothem, and l is slant height.
- Scale relationships follow cube and square laws. Doubling all dimensions multiplies volume by 8 (2^3) and surface area by 4 (2^2). This is important for architectural models where you scale up from a maquette to full size.
- For irregular pyramids, break into tetrahedra. Complex pyramid shapes with non-regular bases can be divided into multiple tetrahedra, each calculated separately, then summed. Our Sphere Calculator handles another important 3D shape.
Famous Pyramids and Their Dimensions
Real-world pyramids demonstrate how geometry scales to monumental proportions. The Great Pyramid of Giza has a square base of 230.4 meters per side and an original height of 146.5 meters, yielding a volume of approximately 2.6 million cubic meters. The Transamerica Pyramid in San Francisco stands 260 meters tall with a base of approximately 53 meters per side. The Louvre Pyramid in Paris has a base of 35 meters and height of 21.6 meters, with a glass surface area of approximately 1,000 square meters across 673 glass panes.
Frequently Asked Questions
How do you calculate the volume of a pyramid?
The volume of any pyramid is calculated as V = (1/3) x base area x height. For a square pyramid with base side s and height h, this becomes V = (1/3) x s^2 x h. For a triangular pyramid with equilateral base of side s, the base area is (sqrt(3)/4) x s^2, so V = (sqrt(3)/12) x s^2 x h. This one-third relationship holds for every pyramid regardless of the base polygon shape, including hexagonal, octagonal, and irregular bases.
What is the difference between slant height and height?
Height (or altitude) is the perpendicular distance from the base to the apex, measured straight up through the interior of the pyramid. Slant height is the distance from the apex to the midpoint of a base edge, measured along the surface of a triangular face. Slant height is always longer than the vertical height. They are related by the Pythagorean theorem: slant height = sqrt(height^2 + apothem^2), where the apothem is the distance from the base center to the midpoint of a base side.
How do you find the surface area of a pyramid?
Total surface area equals the base area plus the lateral (side) surface area. For a regular pyramid, the lateral area = (1/2) x perimeter x slant height. For a square pyramid with side s and slant height l: total SA = s^2 + 2*s*l. For a triangular pyramid with equilateral base: total SA = (sqrt(3)/4)*s^2 + 3*(1/2)*s*l. The lateral area formula works because each triangular face has area = (1/2) x base edge x slant height.
Is a tetrahedron the same as a triangular pyramid?
Yes, a tetrahedron is a pyramid with a triangular base, giving it four triangular faces total (one base and three lateral faces). A regular tetrahedron is a special case where all four faces are equilateral triangles and all six edges are the same length. It is one of the five Platonic solids and has interesting properties: its height equals s*sqrt(2/3) where s is the edge length, and its volume equals (s^3*sqrt(2))/12.
Why is pyramid volume one-third of a prism?
The one-third factor can be demonstrated several ways. Geometrically, any rectangular prism can be divided into exactly three pyramids of equal volume, each with the same base and height. This can be proven using Cavalieri's principle, which states that solids with equal cross-sectional areas at every height have equal volumes. Using calculus, integrating the cross-sectional area from base to apex (which decreases as a square function) yields exactly one-third of the prism volume. This same one-third relationship applies to cones, which are pyramids with circular bases.
How do you calculate the edge length of a pyramid?
The lateral edge length is the distance from the apex to any corner of the base. For a square pyramid, the lateral edge = sqrt(h^2 + (s*sqrt(2)/2)^2) = sqrt(h^2 + s^2/2), where h is the height and s is the base side. This is different from the slant height, which goes to the midpoint of a base edge rather than a corner. For the example of base side 6 and height 10: lateral edge = sqrt(100 + 18) = sqrt(118) = 10.86 units, compared to slant height of 10.44 units.