MathLabs

Geometry

Polyhedra and their volumes

Solids bounded by flat polygonal faces, and the formulas for the space they enclose.

IntuitionHow much space is inside a crystal, a tent or a pyramid?

A cardboard box, a cut diamond, a tent shaped like a pyramid, a six-sided die: all of these are polyhedra, solids whose entire boundary is made of flat polygons glued edge to edge. "Volume" is simply how much space such a solid encloses — how much sand would fill the box, or how much air is trapped inside the tent. Stacking identical layers gives an easy volume for a box; the interactive solid below lets you explode a shape into its pieces to see why a pointed solid like a pyramid holds much less than a box with the same footprint and height.

Interactive 3D tetrahedron with an explode slider separating its four triangular faces; drag to rotate.
A regular tetrahedron pulled apart into its 4 triangular faces. Every polyhedron, however complex, is built from flat polygonal faces meeting along edges and vertices — the starting point for computing how much volume they enclose.

SchoolPrisms and pyramids: base, height, and volume

Definition: Polyhedron, prism, pyramid

A polyhedron is a solid bounded entirely by polygons (its faces), meeting along edges and vertices. A prism has two parallel, congruent polygonal bases joined by parallelograms; a pyramid has one polygonal base and triangular faces meeting at a single apex.

Vprism=BhV_{\text{prism}} = B h

For any prism, the volume is V=BhV = Bh, where BB is the area of a base and hh is the perpendicular distance between the two bases — not the length of a slanted lateral edge. This single formula covers a rectangular box, a triangular prism, or a hexagonal prism alike; only the shape used to compute BB changes.

Vpyramid=13BhV_{\text{pyramid}} = \frac{1}{3} B h

A pyramid with the same base area BB and the same height hh as a prism holds only a third as much: V=13BhV = \frac{1}{3}Bh. The factor 13\frac{1}{3} looks mysterious at first, but the theorems below prove it exactly, first for a triangular pyramid and then for any pyramid at all.

Volume formulas for common solids
SolidVolume formula
Rectangular box, sides p, q, rV=pqrV = pqr
General prism, base area B, height hV=BhV = Bh
General pyramid, base area B, height hV=13BhV = \frac{1}{3}Bh
Frustum of a pyramid, base areas B1, B2, height hV=h3(B1+B2+B1B2)V = \frac{h}{3}\left(B_1 + B_2 + \sqrt{B_1 B_2}\right)

UndergraduateProving the volume formulas

Definition: Cavalieri's principle

If two solids are placed between two parallel planes, and every plane parallel to those two planes cuts both solids in cross-sections of exactly the same area A(y)A(y) (as a function of the height yy), then the two solids have the same volume — even if the solids look completely different in shape.

A1(y)=A2(y)  ∀y∈[0,h]   ⟹   V1=∫0hA1(y) dy=∫0hA2(y) dy=V2A_1(y) = A_2(y)\ \ \forall y \in [0, h] \ \implies\ V_1 = \int_0^h A_1(y)\,dy = \int_0^h A_2(y)\,dy = V_2

For every prism, right or oblique, with base area BB and height hh (the perpendicular distance between the two bases), the volume is V=BhV = Bh.

Why is it true?

A stack of identical playing cards has the same volume whether the stack is straight or pushed into a slanted, leaning stack — only the pile's cross-section repeats, not its outline. A prism is exactly such a stack of infinitely thin copies of its base.

Proof

First consider a right prism, whose lateral edges are perpendicular to the base. Slicing it with a plane parallel to the base at any height produces a cross-section congruent to the base itself, of area BB. Stacking these cross-sections from height 00 to hh gives volume ∫0hB dy=Bh\int_0^h B\,dy = Bh, which is exactly V=BhV = Bh for the right prism.

Now take any oblique prism with the same base area BB and the same height hh. Place it next to a right prism with that same base and height, sharing the plane of one base. A cross-section of the oblique prism at height yy is a translated copy of the base (translation does not change area), so it has area BB, exactly the same as the cross-section of the right prism at that height.

By Cavalieri's principle, since the two solids have equal cross-sectional area BB at every height y∈[0,h]y \in [0, h], they have equal volume. Since the right prism has volume V=BhV = Bh, so does the oblique prism, proving the formula for every prism.

For every pyramid with base area BB and height hh, the volume is V=13BhV = \frac{1}{3}Bh.

Why is it true?

A pyramid tapers to a point, so most of its cross-sections are far smaller than the base; the factor 1/3 is the precise price of that tapering, and it can be nailed down exactly by cutting a triangular prism — a shape we already understand — into three pyramids of equal volume.

Proof

Step 1 (triangular case by dissection). Take a triangular prism ABC.A1B1C1ABC.A_1B_1C_1 with base area BB and height hh, so its volume is V=BhV = Bh by the Prism Volume Theorem. Cut it along the two diagonal planes (A1BC)(A_1BC) and (A1BC1)(A_1BC_1) into three tetrahedra: A1.ABCA_1.ABC, A1.BCC1A_1.BCC_1 and A1.BB1C1A_1.BB_1C_1. A short computation shows these three tetrahedra have equal volume: A1.BCC1A_1.BCC_1 and A1.BB1C1A_1.BB_1C_1 share apex A1A_1 over bases BCC1BCC_1 and BB1C1BB_1C_1, which are congruent triangles (halves of the same parallelogram BCC1B1BCC_1B_1), so those two tetrahedra have equal volume; and comparing A1.ABCA_1.ABC with A1.BCC1A_1.BCC_1 (viewed as pyramids with apex BB or via the same congruent-base argument along the prism) shows all three parts are equal. Hence each tetrahedron has volume 13⋅Vprism=13Bh\frac{1}{3} \cdot V_{\text{prism}} = \frac{1}{3}Bh. Since A1.ABCA_1.ABC is a triangular pyramid with base ABCABC (area BB) and apex A1A_1 at height hh above it, this proves V=13BhV = \frac{1}{3}Bh for triangular pyramids.

Step 2 (Cavalieri for the shape of the base). Now compare a triangular pyramid and a pyramid with any other base, both of base area BB and height hh, apexes aligned at the same height. At height yy above the base (0≤y≤h)(0 \le y \le h), a plane parallel to the base cuts a pyramid in a copy of the base scaled by the factor (h−yh)\left(\frac{h-y}{h}\right) — this is a standard similarity fact about central projection from the apex. Scaling a plane figure by a linear factor kk scales its area by k2k^2, so the cross-sectional area at height yy is B(h−yh)2B\left(\frac{h-y}{h}\right)^2 for every pyramid of base area BB and height hh, regardless of the shape of the base.

Since the two pyramids being compared have identical cross-sectional area at every height, Cavalieri's principle gives them equal volume. As Step 1 established V=13BhV = \frac{1}{3}Bh for the triangular pyramid, the same formula V=13BhV = \frac{1}{3}Bh holds for a pyramid over any polygonal base of area BB and height hh.

Given a triangular pyramid S.ABCS.ABC and points A′∈SAA' \in SA, B′∈SBB' \in SB, C′∈SCC' \in SC on its three lateral edges, the pyramid S.A′B′C′S.A'B'C' satisfies VS.A′B′C′VS.ABC=SA′SA⋅SB′SB⋅SC′SC\dfrac{V_{S.A'B'C'}}{V_{S.ABC}} = \dfrac{SA'}{SA}\cdot\dfrac{SB'}{SB}\cdot\dfrac{SC'}{SC}.

Why is it true?

Sliding each of the three points independently along its own edge from the apex stretches the pyramid independently in three different directions, so the volume should scale by the product of the three independent stretch factors, just as scaling the three sides of a box independently multiplies its volume by the product of the three scale factors.

Proof

Place the apex SS at the origin and let u⃗=SA→\vec{u} = \overrightarrow{SA}, v⃗=SB→\vec{v} = \overrightarrow{SB}, w⃗=SC→\vec{w} = \overrightarrow{SC}. The volume of a tetrahedron spanned by three edge vectors from a common vertex is given by the scalar triple product VS.ABC=16∣u⃗⋅(v⃗×w⃗)∣V_{S.ABC} = \frac{1}{6}\left|\vec{u}\cdot(\vec{v}\times\vec{w})\right|.

Since A′∈SAA' \in SA, B′∈SBB' \in SB, C′∈SCC' \in SC, we can write SA′→=k1u⃗\overrightarrow{SA'} = k_1\vec{u}, SB′→=k2v⃗\overrightarrow{SB'} = k_2\vec{v}, SC′→=k3w⃗\overrightarrow{SC'} = k_3\vec{w} where k1=SA′SAk_1 = \frac{SA'}{SA}, k2=SB′SBk_2 = \frac{SB'}{SB}, k3=SC′SCk_3 = \frac{SC'}{SC}. Then VS.A′B′C′=16∣(k1u⃗)⋅((k2v⃗)×(k3w⃗))∣V_{S.A'B'C'} = \frac{1}{6}\left|(k_1\vec{u})\cdot\big((k_2\vec{v})\times(k_3\vec{w})\big)\right|.

The scalar triple product is trilinear (linear in each of its three vector arguments), so (k1u⃗)⋅((k2v⃗)×(k3w⃗))=k1k2k3(u⃗⋅(v⃗×w⃗))(k_1\vec{u})\cdot\big((k_2\vec{v})\times(k_3\vec{w})\big) = k_1 k_2 k_3 \left(\vec{u}\cdot(\vec{v}\times\vec{w})\right). Taking absolute values and dividing by 6 on both sides gives VS.A′B′C′=k1k2k3⋅VS.ABCV_{S.A'B'C'} = k_1k_2k_3 \cdot V_{S.ABC}, which rearranges exactly to VS.A′B′C′VS.ABC=SA′SA⋅SB′SB⋅SC′SC\dfrac{V_{S.A'B'C'}}{V_{S.ABC}} = \dfrac{SA'}{SA}\cdot\dfrac{SB'}{SB}\cdot\dfrac{SC'}{SC}.

AdvancedPlatonic solids and Euler's formula

Definition: Platonic solid

A Platonic solid is a convex polyhedron whose faces are all congruent regular polygons, with the same number of faces meeting at every vertex. There are exactly five: the tetrahedron, cube, octahedron, dodecahedron and icosahedron. For every convex polyhedron, the numbers of vertices VV, edges EE and faces FF satisfy Euler's formula V−E+F=2V - E + F = 2.

Interactive 3D regular dodecahedron; drag to rotate and use the explode slider to separate its pentagonal faces.
A regular dodecahedron, one of the five Platonic solids: 12 congruent regular pentagonal faces, 20 vertices and 30 edges, satisfying Euler's formula V−E+F=2V - E + F = 2 since 20−30+12=220 - 30 + 12 = 2.
The five Platonic solids
SolidFaces / Vertices / Edges
Tetrahedron4 / 4 / 6
Cube6 / 8 / 12
Octahedron8 / 6 / 12
Dodecahedron12 / 20 / 30
Icosahedron20 / 12 / 30

AdvancedReal-World Applications and Worked Examples

Archaeologists estimate the stone volume (and hence the labor) of ancient pyramids using V=13BhV = \frac{1}{3}Bh; architects use the pyramid and prism formulas to quote the concrete volume of a sloped roof or hopper; and 3D-printing and architectural-model studios use the volume ratio theorem to predict how much resin or material a scaled-down replica of a pointed structure will need.

Example: Estimating the stone volume of a great pyramid

A square-based stone pyramid has a base side of approximately 230230 m and an original height of approximately 146146 m. Estimate its volume in cubic meters.

Solution

The base is a square of side 230230 m, so its area is B=2302=52900B = 230^2 = 52900 m2\text{m}^2.

Applying the Pyramid Volume Theorem with this base area and height 146146 m: V=13×52900×146≈2,575,333V = \frac{1}{3} \times 52900 \times 146 \approx 2{,}575{,}333 m3\text{m}^3. This single formula, proved above by dissection and Cavalieri's principle, replaces what would otherwise require slicing the solid into infinitely many layers.

Example: Resin needed for a scaled-down architectural model

A 3D-printing studio has already computed that a full-size tetrahedral roof structure S.ABCS.ABC has volume VS.ABC=2,700V_{S.ABC} = 2{,}700 cm3\text{cm}^3. For a display model, every edge from the apex SS is scaled down by the same factor k=13k = \frac{1}{3} to points A′,B′,C′A', B', C' on SA,SB,SCSA, SB, SC respectively. How much resin (in cm3\text{cm}^3) does the scaled model S.A′B′C′S.A'B'C' need?

Solution

By the volume ratio theorem, since every one of the three ratios SA′SA,SB′SB,SC′SC\frac{SA'}{SA}, \frac{SB'}{SB}, \frac{SC'}{SC} equals the same scale factor k=13k = \frac{1}{3}, the volume ratio is the cube of that factor: VS.A′B′C′VS.ABC=k3=127\frac{V_{S.A'B'C'}}{V_{S.ABC}} = k^3 = \frac{1}{27}.

Applying this to the known volume VS.ABC=2,700V_{S.ABC} = 2{,}700 cm3\text{cm}^3 gives VS.A′B′C′=2,70027=100V_{S.A'B'C'} = \frac{2{,}700}{27} = 100 cm3\text{cm}^3 of resin — a 27-fold reduction, not just a 3-fold one, because volume scales with the cube of a linear scale factor.

Which formula gives the volume of a pyramid with base area BB and height hh?

A square pyramid of Egyptian type has base side 230 m and height 146 m. Which value is closest to its volume in cubic meters?

A regular dodecahedron has 20 vertices and 30 edges. By Euler's formula V−E+F=2V - E + F = 2, how many faces does it have?

A foundry casts miniature trophies by scaling down a full-size trophy shaped like a triangular pyramid so that every edge from the apex is one quarter of the original length. Compared with the full-size trophy, how much metal does one miniature need?

References

  1. Euclid; trans. T. L. Heath (1908). Euclid's Elements, Book XII (method of exhaustion; pyramid and prism volumes)
  2. Weisstein, Eric W. (2024). Platonic solid