Faces, edges, vertices, prisms and pyramids

Pick up any solid built from flat surfaces — a brick, a tent-shaped roof, a pencil's hexagonal barrel, the pyramids at Giza — and three numbers are hiding in it: how many flat faces it has, how many edges where two faces meet, and how many corner points, or vertices, where several edges gather. These numbers are not independent. For every simple solid built from flat faces, they obey one tidy rule, Euler's formula, discovered by counting hundreds of shapes rather than by staring at any single one. Once you know how prisms and pyramids are built, you can predict their face, edge, and vertex counts for a base of any size without drawing a single line — and Euler's formula gives you a free check that your counting is correct.

The core insight

Every simple polyhedron satisfies faces plus vertices equals edges plus two, and prisms or pyramids built on an nn-sided base have face, edge, and vertex counts that follow directly from that base number nn.

The core idea

A polyhedron is a solid whose boundary is made entirely of flat polygon surfaces, with no curved parts and no holes through it.

  • A face is one flat polygon surface of the solid.
  • An edge is the straight line segment along which exactly two faces meet.
  • A vertex (plural vertices) is a corner point where three or more edges come together.

Counting these three numbers on many different solids — cube, cuboid, triangular prism, square pyramid — reveals a fixed relationship between them, known as Euler's formula:

F+V=E+2F + V = E + 2

where: FF is the number of faces, VV is the number of vertices, and EE is the number of edges of the polyhedron. It says that faces plus vertices always beats edges by exactly two, for any simple polyhedron whatsoever — cube, prism, pyramid, or an oddly shaped crystal. At this level Euler's formula is something you verify by counting a solid's F, V, E and checking the sum, not something you are asked to prove in general.

Prisms. A prism has two identical, parallel polygonal faces called bases, joined by rectangular (or parallelogram) side faces. It takes its name from its base shape — a triangular prism has triangular bases, a hexagonal prism has hexagonal bases. For a prism whose base is an nn-sided polygon, the three counts are F=n+2F = n + 2, V=2nV = 2n, and E=3nE = 3n.

Pyramids. A pyramid has one polygonal base and triangular side faces that all meet at a single top point, the apex. It too is named after its base — a square pyramid has a square base; a triangular pyramid, called a tetrahedron when every one of its four faces is a triangle, has a triangular base. For a pyramid whose base is an nn-sided polygon, the counts are F=n+1F = n + 1, V=n+1V = n + 1, and E=2nE = 2n.

Figure
A triangular prism on the left with its two triangular bases and three rectangular side faces labelled, and a square pyramid on the right with its square base and apex labelled
Triangular prism face edge vertex n = 3: F = 5, V = 6, E = 9 Square pyramid apex edge n = 4: F = 5, V = 5, E = 8
Derivation ABuilding the prism formulas for an n-sided base

The goal is to derive the general face, edge, and vertex counts of a prism whose base is any nn-sided polygon, purely by counting the pieces used to assemble the solid, and then to confirm the result agrees with Euler's formula rather than treating that formula as a separate, unrelated fact to memorise.

Step 1. Count the faces. A prism is built from two copies of the nn-sided base polygon — a top and a bottom — plus one rectangular side face for every edge of the base, since each base edge gets its own connecting rectangle running down to the matching edge below. That is 22 base faces plus nn rectangular faces, giving F=n+2F = n + 2.

Step 2. Count the vertices. Every corner of the top base polygon and every corner of the bottom base polygon becomes a vertex of the prism — nothing is merged or shared between top and bottom, because the two bases sit at different heights. The base polygon has nn corners, so the prism has nn corners on top and nn on the bottom, giving V=2nV = 2n.

Step 3. Count the edges. There are three kinds: the nn edges running around the top base, the nn edges running around the bottom base, and the nn vertical edges connecting each top corner straight down to the matching bottom corner. Adding these, E=n+n+n=3nE = n + n + n = 3n.

Step 4. Check against Euler's formula. Substitute the three results: F+V=(n+2)+2n=3n+2F + V = (n+2) + 2n = 3n + 2, and E+2=3n+2E + 2 = 3n + 2. The two sides match for every value of nn, so every prism — whatever the shape of its base — automatically satisfies F+V=E+2F + V = E + 2. Verified for n=3n = 3: F=5F = 5, V=6V = 6, E=9E = 9, and 5+6=11=9+25 + 6 = 11 = 9 + 2.

Worked example

Question. A pyramid has a hexagonal base (n=6n = 6). Find its number of faces, vertices, and edges, verify Euler's formula, and then find the base shape of a different pyramid that is known to have 99 edges.

Step 1. Faces of the hexagonal pyramid: F=n+1=6+1=7F = n + 1 = 6 + 1 = 7, made of 11 hexagonal base plus 66 triangular side faces.

Step 2. Vertices: V=n+1=6+1=7V = n + 1 = 6 + 1 = 7, made of 66 base corners plus 11 apex.

Step 3. Edges: E=2n=2×6=12E = 2n = 2 \times 6 = 12, made of 66 base edges plus 66 edges running up to the apex.

Step 4. Check: F+V=7+7=14F + V = 7 + 7 = 14, and E+2=12+2=14E + 2 = 12 + 2 = 14 — they match, so Euler's formula holds for this pyramid.

Answer: the hexagonal pyramid has F=7F = 7, V=7V = 7, E=12E = 12.

Competitive stretch

Step 1. For the second pyramid, use E=2nE = 2n with E=9E = 9: since 99 is odd and 2n2n is always even, no whole-number pyramid has exactly 99 edges — the question is a trap testing whether you check that nn must come out as a positive whole number.

Step 2. If instead the pyramid had E=10E = 10 edges, then 2n=102n = 10 gives n=5n = 5, a pentagonal pyramid, with F=n+1=6F = n+1 = 6 and V=n+1=6V = n+1 = 6; check: 6+6=12=10+26 + 6 = 12 = 10 + 2. Answer: a pyramid cannot have 9 edges, since edge counts of pyramids are always even; 10 edges gives a pentagonal pyramid.

Common traps

  • Mixing up prisms and pyramids — a prism has two parallel bases and rectangular side faces, a pyramid has one base and triangular side faces meeting at a single apex; using the wrong formula set gives a wrong count immediately.
  • Forgetting edges hidden at the back of a 3-D drawing — every edge counts even if it is not directly visible on the page.
  • Quoting Euler's formula from memory without actually counting F, V, E on the solid first — always count, then check the formula holds, rather than assuming it.
  • Forgetting that a pyramid's edge count E=2nE = 2n is always even, so an odd number can never be a valid edge count for any pyramid.

Ask the tutor: Want to practice counting faces, edges, and vertices on a trickier solid, or work through more reverse-lookup problems using Euler's formula? Ask the AI tutor to walk through extra examples with you.

Why does a tetrahedron count as both a pyramid and have all triangular faces?

A tetrahedron is simply a triangular pyramid — its base is a triangle, and its three side faces are also triangles, so all four faces happen to be triangles. Using the pyramid formulas with n=3n = 3: F=n+1=4F = n+1 = 4, V=n+1=4V = n+1 = 4, E=2n=6E = 2n = 6. Checking Euler's formula, F+V=4+4=8F + V = 4 + 4 = 8 and E+2=6+2=8E + 2 = 6 + 2 = 8, so it matches. The "all faces are triangles" fact is just what happens when the base itself is a triangle too.

Do I need to prove Euler's formula for every solid, or can I just verify it?

At this level you only need to verify Euler's formula — count the faces, vertices, and edges of a given solid, then check that F+VF + V really equals E+2E + 2. You are not expected to prove that the formula holds for every possible polyhedron in general; that is a more advanced result. Just make sure your counting is careful and complete, especially for edges that are hidden in a drawing.

How do I quickly tell a solid's base shape from its edge or face count?

Decide first whether the solid is a prism or a pyramid by looking at its side faces — rectangles mean a prism, triangles meeting at one point mean a pyramid. Then use the matching formula in reverse: for a prism, n=F−2n = F - 2 or n=V/2n = V/2 or n=E/3n = E/3; for a pyramid, n=F−1n = F - 1 or n=V−1n = V - 1 or n=E/2n = E/2. Try more than one formula if you can, since they should all give the same nn and that agreement is itself a check on your answer.

Before this

Where this leads