An Euler's formula for polyhedron calculator uses the relation V − E + F = 2 between the number of vertices V, edges E and faces F of a convex polyhedron. Enter any two of them and it finds the third and checks that the numbers are possible. Enter all three to get the Euler characteristic, look up the counts for the five regular solids, or find the number of holes in a surface from its Euler characteristic. The formula follows the Wikipedia page on the Euler characteristic, and the work is done in your browser.
How to use the Euler's formula for polyhedron calculator
- Choose what you want: find a missing number, look up a regular solid, or work with a surface.
- Enter two or three of V, E and F, or pick the solid.
- Press Calculate.
Euler's polyhedron formula
The Euler characteristic of a polyhedron is χ = V − E + F, where V is the number of vertices, E the number of edges and F the number of faces. The Wikipedia page states that for a convex polyhedron, χ is always 2, a result known as Euler's polyhedron formula. For a cube, V is 8, E is 12 and F is 6, and 8 − 12 + 6 is 2. For a connected flat graph, the same relation holds if the outer region is counted as a face, and for a tree, E is V − 1 and F is 1.
The five regular solids
The page lists the counts for the Platonic solids. The tetrahedron has 4 vertices, 6 edges and 4 faces. The cube has 8, 12 and 6, the octahedron 6, 12 and 8, the dodecahedron 20, 30 and 12, and the icosahedron 12, 30 and 20. Every one of them has χ = 2. Choose a solid in the calculator to see its counts and the characteristic. Notice the pairs: the cube and octahedron swap vertices and faces, as do the dodecahedron and icosahedron, while the tetrahedron pairs with itself.
Finding a missing number
Rearrange the formula to find the number you do not know: V = 2 + E − F, E = V + F − 2 and F = 2 − V + E. For 8 vertices and 12 edges, the faces are 2 − 8 + 12, which is 6. A shape with 60 vertices and 90 edges has 32 faces, which fits the pattern of a football, with 12 pentagons and 20 hexagons. The calculator also checks whether the result can be a convex polyhedron: it needs at least 4 vertices and 4 faces, and since every face has at least 3 edges and every vertex lies on at least 3 edges, 2E must be at least 3F and at least 3V.
Polyhedra with holes
The formula changes for shapes that are not simple. The page lists some nonconvex polyhedra with other values: the tetrahemihexahedron has V = 6, E = 12 and F = 7, so χ = 1, and the octahemioctahedron has 12, 24 and 12, so χ = 0. If you enter all three numbers, the calculator reports χ and tells you whether it is the value 2 of a convex polyhedron.
Genus of a surface
The page gives the Euler characteristic of familiar surfaces: a sphere has 2, a torus has 0, a double torus has −2 and a triple torus has −4. This follows the pattern χ = 2 − 2g, where g, the genus, is the number of holes. In the calculator, enter the number of holes to find χ, or enter χ to find the number of holes. A polyhedron shaped like a picture frame is a torus, so its characteristic is 0.
Why it matters
Euler's formula is an early example of a topological invariant, a number that does not change when a shape is stretched or bent. It is used to prove that there are only five regular solids and to check the models of molecules, buildings and map graphs. In computer graphics, it is used to test whether a mesh is consistent.
A worked example with a prism
A triangular prism has 6 vertices and 9 edges. The faces should be 2 − 6 + 9, which is 5, and that is right: two triangles and three rectangles. A pentagonal pyramid has 6 vertices and 10 edges, so it has 2 − 6 + 10, which is 6 faces: one pentagon and five triangles. Entering any two of the three numbers for these shapes gives the third, and the calculator confirms that the shape could be a convex polyhedron.
Checking a model
When you build a model of a polyhedron, count the vertices, edges and faces and check that V − E + F is 2. If it is not, you have probably missed an edge or counted a shared edge twice. For a polyhedron with a hole, expect 0, and for one with two holes, −2. The calculator shows what the total should be, so that you can tell whether the model is complete.
Relations between the counts
For a polyhedron where every face is a triangle, each face has 3 edges and each edge belongs to 2 faces, so 3F is equal to 2E. Combined with Euler's formula, this gives V = 2 + F/2. For the octahedron, F is 8, so V is 6, which agrees with the table. Relations of this kind are why Euler's formula is useful in proofs about polyhedra.
Common mistakes
- Forgetting the outer face of a graph. Count it in F.
- Applying the formula to a shape with holes. χ is then lower than 2.
- Counting an edge twice. Each edge joins two faces but is one edge.
- Mixing up vertices and faces. The formula is V − E + F, with E subtracted.
- Using non-whole numbers. Counts are whole numbers.
What next
Use this often? Add Euler's Form to your Home screen.
Frequently asked questions
What is an Euler's formula for polyhedron calculator?
A tool for V − E + F = 2, which holds for any convex polyhedron, where V, E and F are the numbers of vertices, edges and faces.
How do you find the number of faces from vertices and edges?
F = 2 − V + E. For a cube, 2 − 8 + 12 = 6.
What are the counts for the regular solids?
Tetrahedron 4, 6, 4; cube 8, 12, 6; octahedron 6, 12, 8; dodecahedron 20, 30, 12; icosahedron 12, 30, 20.
What is the Euler characteristic of a torus?
0. A sphere has 2, a double torus −2, and in general χ = 2 − 2g for g holes.
Does the formula hold for shapes with holes?
No. A polyhedron with a hole, like a picture frame, has V − E + F = 0.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.