edubun
English

Faces, edges and vertices: Euler's formula

Count the faces, subtract the edges and add the vertices of any ordinary polyhedron and the answer is always 2.

Loading the 3D model

Drag to turn. Scroll or pinch to zoom.

Vertices and edges are marked and lettered. The readout counts F, E and V and checks F − E + V. Switch to the cube or the triangular prism and the answer stays 2.

Count the pyramid before reading the rule

Turn on Vertices and edges in the model and count the square pyramid yourself. Faces first, then edges, then the corner points, which are called vertices. Write the three numbers down. You should have 5 faces (the square and four triangles), 8 edges (four around the base and four up to the apex) and 5 vertices. Now work out F − E + V. It comes to 5 − 8 + 5 = 2. Remember that 2. Switch to the cube: 6 − 12 + 8 = 2. Then the triangular prism: 5 − 9 + 6 = 2.

The one total that never moves

Those three solids are polyhedra: solids with flat polygon faces, straight edges and vertices. Cylinders, cones and spheres are not, because they have curved surfaces. The rule keeps working for a pentagonal prism (7 − 15 + 10), a hexagonal pyramid (7 − 12 + 7), a soccer-ball shape with 32 faces, and any other polyhedron without holes. The three counts change a lot from one solid to the next. This one combination never does. Mathematicians call a number that stays fixed while everything else changes an invariant.

SolidFEVF − E + V
Tetrahedron4642
Cube61282
Octahedron81262
Dodecahedron1230202
Icosahedron2030122
Triangular prism5962
Square pyramid5852
BackgroundLeonhard Euler described the rule in a letter to his friend Christian Goldbach in 1750, and published papers on it in the following years. The MacTutor archive points out how odd it is that Archimedes and Descartes, who both wrote a great deal about polyhedra, did not state it. Their geometry was all about measuring lengths, angles and areas, and this rule has nothing to measure: it only counts. That shift in thinking is one of the roots of the branch of mathematics now called topology.

Finding a missing count

Rearrange the formula and two counts give you the third: E = F + V − 2. A polyhedron with 8 faces and 12 vertices must have 8 + 12 − 2 = 18 edges, and a hexagonal prism is one. A polyhedron with 20 faces and 12 vertices has 30 edges; that is the icosahedron. The formula catches counting slips, too. If you count a solid by hand and get 1 or 3, you have missed something or counted it twice.

Prisms and pyramids follow simple patterns. A prism whose base has n sides has n + 2 faces, 3n edges and 2n vertices, and (n + 2) − 3n + 2n = 2 whatever n is. A pyramid with an n-sided base has n + 1 faces, 2n edges and n + 1 vertices: (n + 1) − 2n + (n + 1) = 2. Writing the counts with n is a small proof in itself. It covers every prism and every pyramid in one line.

The rule needs a solid without holes. A picture frame made of four wooden bars (a polyhedron shaped like a ring) gives F − E + V = 0. Curved solids are left out too: a cylinder has no vertices and its edges are circles, so the counting rule does not apply to it.
Euler's formulaF − E + V = 2
Cube: F, E, V6, 12, 8
n-sided prismF = n + 2, E = 3n, V = 2n
n-sided pyramidF = n + 1, E = 2n, V = n + 1
Common mistakes
  • Counting the cube's edges as 8 or its vertices as 12. The two numbers swap easily. A cube has 8 corners and 12 edges: 4 on top, 4 on the bottom and 4 upright.
  • Going face by face, adding up every side and calling that the number of edges. Every edge is shared by two faces, so that total counts each edge twice. For a cube, 6 × 4 = 24 and 24 ÷ 2 = 12.
  • Applying F − E + V = 2 to a cylinder. The rule is for polyhedra. A cylinder has curved surfaces, no vertices and circles for edges, so the count does not apply.
  • Expecting 2 for a ring-shaped solid such as a picture frame. A solid with one hole gives 0. The value 2 holds only for solids without holes.
Teacher's noteCounting is where learners go wrong here, far more than the formula. Give them a way to count without losing their place: put a dot of colour on each vertex, or count the top, the bottom and the uprights separately. Let a wrong total happen first. Working out why it is not 2 sticks better than being told. Euler's formula is not named in Korea's 2022 curriculum standards; the middle school standard asks students to explore the properties of polyhedra and solids of revolution with models or software, and this activity fits there as an extension.
  1. How many edges does a cube have?
  2. How many vertices does a square pyramid have?
  3. A polyhedron has 8 faces and 12 vertices. How many edges?
  4. A polyhedron has 20 faces and 30 edges. How many vertices?
  5. How many edges does a pentagonal prism have?
  6. How many faces does a hexagonal pyramid have?
  7. Which solid is not a polyhedron?
    • Cylinder
    • Triangular prism
    • Square pyramid
  8. You count a solid without holes and get F − E + V = 3. What does that most likely mean?
    • A counting mistake
    • A new kind of solid
    • The formula fails for big solids
  9. In which year did Euler describe the formula in a letter to Goldbach?
  10. F − E + V for a ring-shaped polyhedron like a picture frame?
Key points
  • Polyhedra without holes: F − E + V = 2.
  • E = F + V − 2 finds a missing count.
  • Prism with n-gon base: n + 2, 3n, 2n. Pyramid: n + 1, 2n, n + 1.
  • Euler described it in 1750; curved solids and solids with holes are excluded.
Sources for this course (8)
  • (checked 2026-10-17; reordered 2026-10-19: curriculum and textbooks first, then reference works and units, history last)
  • Curriculum: 교육부 고시 제2022-33호 [별책 8] 수학과 교육과정 (ncic.re.kr/inv/org/download.do?year=2022&seq=10003559&orgType=ogi4, PDF read 2026-10-19: 초등학교 5~6학년군 [6수03-03]~[6수03-08] 직육면체·정육면체·각기둥·각뿔·원기둥·원뿔·구, 원기둥의 전개도, "각뿔과 원뿔의 전개도는 다루지 않는다", 원주율의 근삿값 3.14, [6수03-17]~[6수03-19] 직육면체와 정육면체의 겉넓이, 1cm³·1m³, 부피; 3~4학년군 [4수03-17] 들이 1L·1mL; 중학교 1~3학년군 [9수03-06] 부채꼴, [9수03-07] 다면체와 회전체, [9수03-08] 입체도형의 겉넓이와 부피, 도형의 닮음·닮음비; 오일러 공식은 성취기준에 이름으로 없음)
  • Textbook: OpenStax Prealgebra 2e, 9.6 Solve Geometry Applications: Volume and Surface Area (openstax.org/books/prealgebra-2e/pages/9-6-solve-geometry-applications-volume-and-surface-area)
  • Reference: Wolfram MathWorld, Polyhedral Formula (mathworld.wolfram.com/PolyhedralFormula.html)
  • AMS Feature Column, Euler's Polyhedral Formula (ams.org/publicoutreach/feature-column/fcarc-eulers-formula)
  • BIPM SI Brochure and NIST SI Units - Volume (litre and cubic metre)
  • History block only: MacTutor, Archimedes biography (On the Sphere and Cylinder, sphere = 2/3 of the circumscribed cylinder, the figure on his tomb, Cicero's search; mathshistory.st-andrews.ac.uk/Biographies/Archimedes/)
  • MacTutor, A history of Topology (Euler's 1750 letter to Goldbach with v − e + f = 2; mathshistory.st-andrews.ac.uk/HistTopics/Topology_in_mathematics)

Checked: 2026-10-17