Pick up a die, a cardboard box or a pyramid-shaped tea bag and count three things: its corners, its edges and its flat faces. Now do a small calculation: corners minus edges plus faces. No matter which of these shapes you choose, the answer is always 2. This surprising pattern is known as Euler’s polyhedron formula, and it is one of the most elegant results in geometry. In this article, you will learn what the formula says, how to check it, why it works and where it leads.
What is a polyhedron?
A polyhedron is a three-dimensional solid whose surface is made of flat polygons. Cubes, prisms and pyramids are all polyhedra. Spheres, cylinders and cones are not, because they have curved surfaces. Every polyhedron has three kinds of parts:
- Vertices (V): the corner points where edges meet.
- Edges (E): the straight line segments where two faces meet.
- Faces (F): the flat polygons that make up the surface.
The formula
For any convex polyhedron (one without dents or holes), the following relationship holds:
V − E + F = 2
The formula is named after the Swiss mathematician Leonhard Euler, who described it in the 1750s. Earlier, René Descartes had worked on closely related ideas about the angles of polyhedra, but Euler was the one who stated the relationship between vertices, edges and faces in this simple form.
Checking the formula with familiar shapes
The best way to believe a formula is to test it. Here are some common solids:
| Shape | V | E | F | V − E + F |
|---|---|---|---|---|
| Tetrahedron (triangular pyramid) | 4 | 6 | 4 | 2 |
| Cube | 8 | 12 | 6 | 2 |
| Square pyramid | 5 | 8 | 5 | 2 |
| Triangular prism | 6 | 9 | 5 | 2 |
| Octahedron | 6 | 12 | 8 | 2 |
| Dodecahedron | 20 | 30 | 12 | 2 |
| Icosahedron | 12 | 30 | 20 | 2 |
Try counting the cube yourself: it has 8 corners, 12 edges and 6 square faces. 8 − 12 + 6 = 2. The numbers change a lot from shape to shape, yet the final result never moves.
A practical tip: counting edges without losing track
Counting edges on a complicated shape is easy to get wrong. A reliable trick is to use the faces. Every edge is shared by exactly two faces. So if you add up the number of sides of all the faces and divide by 2, you get the number of edges.
Take a classic soccer ball pattern, which is based on a shape called a truncated icosahedron. It has 12 pentagons and 20 hexagons, so F = 32. The total number of sides is 12 × 5 + 20 × 6 = 180, which means E = 180 ÷ 2 = 90. Using Euler’s formula, V = 2 + E − F = 2 + 90 − 32 = 60. If you count the corners on the ball, you will indeed find 60.
Why does it work? An intuitive proof idea
A full proof requires care, but the main idea can be understood with a thought experiment.
- Imagine the polyhedron is made of stretchy rubber. Remove one face and stretch the rest flat onto a table. You now have a flat network of points and lines. Because one face was removed, the goal becomes showing that V − E + F = 1 for this flat drawing.
- Split every face that is not a triangle into triangles by drawing diagonals. Each new diagonal adds one edge and one face, so V − E + F does not change.
- Now remove triangles one at a time from the outside. Removing a triangle that shares one edge with the outer boundary takes away one edge and one face. Removing one that shares two edges takes away two edges, one vertex and one face. In both cases, V − E + F stays the same.
- Eventually, a single triangle remains: 3 vertices, 3 edges and 1 face. 3 − 3 + 1 = 1. Adding back the face we removed at the start gives 2.
The key insight is that each step changes vertices, edges and faces in a balanced way, so the combination V − E + F is preserved.
Using the formula to solve problems
Euler’s formula is not just a curiosity. If you know two of the three values, you can always find the third. For example, if a convex polyhedron has 10 faces and 16 edges, then V = 2 + 16 − 10 = 8.
The formula also helps explain a famous fact: there are exactly five Platonic solids, the convex shapes in which every face is the same regular polygon and the same number of faces meet at every vertex. These are the tetrahedron, cube, octahedron, dodecahedron and icosahedron. Combining Euler’s formula with the edge-counting trick shows that no other combination of regular faces and vertex arrangements can close up into a convex solid.
When the answer is not 2
The formula comes with a condition. It works for convex polyhedra and, more generally, for solids that could be inflated into a sphere without tearing. A shape with a hole through it, such as a picture frame made of flat wooden faces, behaves differently. For that kind of shape, V − E + F equals 0 instead of 2.
This number, V − E + F, is called the Euler characteristic. It turns out to depend on how many holes a surface has, not on its exact shape. That discovery helped give rise to topology, the branch of mathematics that studies properties that stay the same when objects are stretched or bent. Topology is sometimes described as the mathematics in which a coffee mug and a doughnut count as the same shape, since both have one hole.
Common mistakes to avoid
- Counting curved shapes: cylinders and cones are not polyhedra, so the formula does not apply directly.
- Double-counting edges: remember that each edge belongs to two faces.
- Ignoring holes: if the solid has a tunnel through it, expect a different result.
- Mixing up signs: the formula is V minus E plus F, not V plus E minus F.
Conclusion
Euler’s polyhedron formula shows that behind the variety of three-dimensional shapes there is a hidden rule: vertices minus edges plus faces equals 2. It is easy to test, useful for solving problems and a gateway to deeper ideas in topology. If you enjoy discovering patterns like this one, explore the free Geometry courses on Cursa and keep building your mathematical intuition one shape at a time.
















