Planar Graphs and Euler's Formula
Can every graph be drawn on paper so that its edges never cross? This simple question is easy to ask a child. Yet it turns out to organize an enormous amount of combinatorics, topology, and computer science. Some graphs — a triangle, a cycle, a tree — obviously admit such a drawing. Others, like the "utility graph" connecting three houses to three utilities, stubbornly resist every attempt. No matter how cleverly you route the edges, crossings remain unavoidable. Planar graphs, the graphs that can be drawn without crossings, form one of the most beautifully constrained classes in all of graph theory. The reason planarity matters so much is that a planar drawing is not just a picture. It is combinatorial data. Once a graph is embedded in the plane, it carves the plane into regions called faces. These faces interact with the vertices and edges through an astonishingly rigid numerical law: Euler's formula, . This single equation was discovered by Euler in the context of polyhedra. It is the seed from which an entire structure theory of planar graphs grows: bounds on the number of edges, forced low-degree vertices, the impossibility of certain subgraphs, and ultimately a full characterization (Kuratowski's theorem) of which graphs are planar at all. The big picture is that planarity is a global topological constraint with local combinatorial consequences. Euler's formula converts a statement about embeddability into an algebraic identity relating three counts. That identity can be manipulated with elementary inequalities to derive surprising facts. These facts seem to have nothing to do with topology. For instance, every planar graph has a vertex of degree at most 5. Also, cannot be drawn in the plane without crossings. This article builds the formal machinery of plane embeddings and faces. It proves Euler's formula rigorously by induction on edges, and then extracts its standard consequences. It assumes familiarity with Connectivity and Components and Graph Coloring and Chromatic Number. It also sets up the tools needed for Kuratowski's Theorem and the broader family of Consequences of Euler's Formula.
- A graph is planar if it can be drawn in the plane with no edge crossings; such a drawing is a plane embedding.
- A plane embedding divides the plane into connected regions called faces, including one unbounded outer face.
- Euler's formula: for a connected plane graph, , where count vertices, edges, faces.
- The formula is proved by induction on the number of edges, using spanning trees as the base case.
- Counting edge-face incidences yields for simple planar graphs with , hence every planar graph has a vertex of degree .
- These bounds show and are non-planar, foreshadowing Kuratowski's Theorem.
- Key idea: planarity is a topological property, but Euler's formula turns it into a rigid algebraic constraint on , , and .
Where this lives today
Euler's formula and planarity are not museum pieces; they are load-bearing tools across mathematics and computing. In graph algorithms, planarity testing (linear-time algorithms exist, e.g. Hopcroft–Tarjan) and planar graph data structures exploit to guarantee sparse representations, which underlies efficient algorithms for shortest paths, network flow, and graph drawing in planar settings. In VLSI circuit design and printed circuit board layout, planarity corresponds to a circuit being routable on a single conducting layer without wires crossing, and Euler's formula bounds how many components and connections can fit. In cartography and GIS, planar subdivisions (maps of countries, states, districts) are literally plane graphs, and the four-color theorem — whose statement concerns exactly such maps — relies on the sparsity and low-degree consequences of Euler's formula (specifically the existence of a vertex of degree ) as a key ingredient in every known proof, tying back directly to Graph Coloring and Chromatic Number. In topology, the formula generalizes to the Euler characteristic of surfaces, where for the sphere/plane, for the torus, and so on, giving a bridge from elementary combinatorics to algebraic topology. In chemistry and materials science, fullerene molecules (like buckminsterfullerene) are modeled by planar 3-regular graphs whose face structure is constrained by Euler's formula, forcing exactly twelve pentagonal faces regardless of how many hexagonal faces are present. And in network science, planarity constraints are used to model road networks and certain classes of physical infrastructure networks where crossing-free layout is a hard physical requirement.
Ask the tutor: How does the proof of Euler's formula change if we allow the graph to be embedded on a torus instead of the plane?
Let be a finite simple graph (no loops or multiple edges, unless stated otherwise). A drawing of in the plane assigns to each vertex a distinct point of and to each edge a simple arc (a homeomorphic image of ) joining the points for and , such that: 1. no arc passes through a vertex point other than its own two endpoints, and 2. distinct arcs intersect only, if at all, at common endpoints. is planar if it admits a drawing satisfying (1) and (2) — that is, a drawing with no edge crossings. A plane graph is a planar graph together with a fixed such drawing; the drawing itself is called a plane embedding of . Given a plane graph, the drawing removes from the plane a set of points (vertices and edge-arcs). The connected components of the remaining open set are called the faces of the plane graph. Exactly one face is unbounded; it is called the outer face, and all others are inner (bounded) faces. The boundary of a face is the set of edges and vertices adjacent to it; a face is said to be incident to the vertices and edges on its boundary. Planarity is a property of the abstract graph (does some crossing-free drawing exist), while "face," "outer face," and the specific face structure are properties of a particular embedding — a planar graph may admit several combinatorially different embeddings (though for 3-connected planar graphs the face structure is in fact unique, a fact known as Whitney's theorem).
Intuition
Think of a plane graph as a map: vertices are cities, edges are roads, and faces are the countries the roads carve out of the plane, plus one infinite "ocean" surrounding everything. Euler's formula says that no matter how you draw the map — as long as it stays connected and crossing-free — the quantity is always exactly . Add a country by adding a road that splits a region in two, and you gain one face but also one edge, so the alternating sum doesn't change. Add a new city with a new road sticking off an existing structure (a "dead-end" road, a bridge), and you gain one vertex and one edge but no new face, again preserving the sum. Euler's formula is really a conservation law for a certain graph-building process. The second piece of intuition is a counting trick: each face is bounded by at least 3 edges (assuming at least 3 vertices and no multi-edges/loops), and each edge borders at most 2 faces. Summing "boundary length" two ways — once over faces, once over edges — turns into a linear inequality, and combining it with Euler's formula produces the sparsity bound . This is why planar graphs are "sparse": they simply cannot have too many edges relative to vertices, which is exactly the obstruction that rules out dense graphs like .
Let be a connected plane graph with vertices, edges, and faces (including the outer face). Then
We induct on the number of edges . The proof technique is induction on , using the structural fact that a connected graph is a tree iff it has edges and no cycles.
Base case. Suppose has no cycles. Since is connected, it is a tree, so . A tree drawn in the plane has no closed curves made of edges, so its complement in the plane is a single connected unbounded region: . (This is geometrically clear by induction on the tree's construction, adding one leaf at a time; a single point or single edge already has one face, the whole plane minus the drawing, and attaching a new leaf edge to an existing tree cannot separate the plane because a tree contains no cycle, hence no simple closed curve, and by the Jordan curve theorem only a simple closed curve can separate the plane into an inside and outside.) Then
This establishes the base case: the formula holds whenever is a tree.
Inductive step. Suppose is connected with edges and the formula holds for every connected plane graph with fewer than edges. If is a tree, we are done by the base case above (trees with any number of edges are covered there). So suppose is not a tree; then contains a cycle, hence contains some edge lying on a cycle.
Claim: removing merges the two faces incident to it into one, decreasing the face count by exactly , while the vertex count is unchanged and the edge count decreases by . To justify the claim: since lies on a cycle , the arc for is part of a simple closed curve in the plane (formed by 's edges). By the Jordan curve theorem, separates the plane into an inside and an outside, so the two sides of locally belong to two different faces of (a bridge could never do this, since removing a bridge from a connected graph disconnects it, but an edge on a cycle is never a bridge). Call these two faces and ; they are distinct because points immediately on either side of near an interior point of the arc cannot be connected by a path avoiding the drawing without crossing at some point (a consequence of the Jordan curve theorem separating the plane by ). Deleting the arc for merges and into a single connected region, and does not affect any other face, since no other face touches . All other faces, edges, and vertices of are untouched by this deletion. Let with the inherited plane drawing. Then is still connected: since was on a cycle, deleting it cannot disconnect (a cycle edge is never a cut edge — any path through can be rerouted around the rest of the cycle ). We have
and is a connected plane graph with edges, so the inductive hypothesis gives . Substituting,
By induction, the formula holds for every connected plane graph.
∎If is a plane graph with vertices, edges, faces, and connected components, then
We use Euler's Formula for Connected Plane Graphs together with a merging argument, another instance of induction — this time on the number of components. If , this is exactly the theorem above. Suppose and the claim holds for plane graphs with components. Let have components , and let (a plane graph with components, using the induced sub-drawing, which is still a valid plane drawing since deleting a subset of a valid drawing leaves a valid drawing). Since is drawn inside some face of (it lies in one connected region of the complement of 's drawing, as itself is connected and disjoint from ), attaching back inside does not create new faces outside , and it replaces by exactly the faces of 's own drawing restricted to region , contributing faces in place of the single face (one of which absorbs the rest of as its own outer boundary). Formally,
since is replaced by faces rather than counted separately. Also and . By the inductive hypothesis, , and by the theorem, . Adding these two equations and using the face relation above:
and since , substituting gives
This completes the induction.
∎Let be a simple, connected planar graph with vertices and edges. Then
Moreover if is triangle-free (contains no 3-cycle) and , then .
Fix a plane embedding of with faces; by Euler's Formula for Connected Plane Graphs, . Since and is simple (no loops, no multi-edges) and connected, every face boundary is a closed walk using at least edges: a face cannot be bounded by fewer than edge-sides, because a boundary of length would require a loop and a boundary of length would require either a multi-edge or a bridge counted twice bordering a single face on both sides — the latter is possible for bridges, but even then the total boundary length is what we bound, and the general inequality still holds via the following global count, which we now make precise. For each face , let denote its boundary length: the number of edge-sides incident to it, where an edge that is a bridge (has the same face on both sides) contributes to that single face's boundary length, and any other edge contributes to each of the (at most two, possibly equal only for bridges) faces it borders. Every edge contributes exactly to in total (once for each side), so
Since is simple and connected with , every face has : a face boundary that used fewer than 3 edge-sides would force either a loop ( around a single vertex, impossible as is simple) or a boundary consisting of two parallel edge-sides between the same two vertices with no third vertex anywhere, which since and connected would force disconnection or a multi-edge, both excluded. Hence
Substituting into Euler's formula :
For the triangle-free case, no face can have (a length-3 boundary using distinct edges would trace a 3-cycle; a bridge cannot contribute to a length-3 face boundary alone without creating a repeated edge on a boundary of odd minimal length forcing an actual triangle or contradiction with simplicity, so under triangle-freeness every face has ). Hence , so , and Euler's formula gives
Every simple planar graph with vertices has a vertex of degree at most .
We may assume is connected; if not, apply the argument to a component with vertices (a component with fewer vertices has maximum possible degree or , so the claim is trivial there), or note isolated small components have vertices of degree or . Suppose toward contradiction every vertex has degree . By the handshake lemma,
But by the Edge bound for simple planar graphs lemma, for all . This contradicts . Hence some vertex has degree .
∎Worked examples
Example 1: verifying and using Euler's formula on an asymmetric graph. Let be the graph with vertex set and edge set
So vertices form a complete graph , and vertex is attached only to vertex by a single pendant edge. Here and . is planar: draw as a triangle with vertex placed inside connected to all three (the standard planar drawing of ), and then attach the pendant vertex by a short edge from out into the outer face. This is a valid crossing-free drawing. Count the faces directly from this drawing. The planar alone has faces: three inner triangular faces (, say — depending on which face vertex is nested in, concretely the faces bounded by --, --, --) and one outer face bounded by the outer triangle --. Attaching the pendant edge inside the outer face does not split any face (a pendant edge, a bridge, borders the same face on both sides), so it contributes no new face. Hence
Check Euler's formula: . ✓. Now use the edge bound as a sanity check: with , the lemma predicts . Indeed , consistent (and not tight, since is not a maximal planar triangulation — one could still add two more edges, namely and or , wait: check feasibility — adding edge keeps it planar since sits in the outer face near vertex ; in fact a maximal planar graph on vertices has exactly edges, consistent with the bound being achievable). Finally, verify the minimum degree corollary: degrees are . The minimum is (in fact here every vertex has degree , consistent with, and far from tight against, the corollary).
Example 2: using Euler's formula to compute an unknown face count, and to detect non-planarity via the bound. A connected planar map (plane graph) has vertices and every face is bounded by exactly edges (a "planar pentagonal map", e.g. combinatorially like a dodecahedron graph), with each edge bordering exactly two distinct faces (no bridges). Find and . Since each face has boundary length and each edge is counted twice across all face boundaries (once per side, and here no bridge double-counts a single face), we have
Euler's formula gives , i.e. , so . Substitute into :
This is not an integer, which is a contradiction. Conclusion: no such plane graph exists — there is no connected planar map on exactly vertices in which every face has boundary length exactly with no bridges. (Contrast: the actual dodecahedral graph has , and indeed and checks out — the discrepancy above shows that was simply an inconsistent choice of parameters, and this computation is exactly the kind of arithmetic feasibility check Euler's formula enables before ever attempting to draw a graph.) As a second use of the bound: suppose someone claims to have a simple planar graph with vertices and edges. The lemma requires for planarity. Since , no such planar graph can exist — this instantly rules out planarity for something like (which has edges, far exceeding ), without ever attempting to draw it or invoking Kuratowski's Theorem.
Drop the hypothesis that is connected, but keep the naive formula (rather than the corrected ). Let consist of two disjoint triangles drawn side by side in the plane, with no edges between them. Here , . Draw them as two separate triangular outlines. The faces are: the interior of the first triangle, the interior of the second triangle, and the single unbounded outer face surrounding both — note the outer face is shared by both components, since it is one connected unbounded region touching both triangles. So . Compute: . The naive formula fails because has components. The corrected version, , gives , matching the count exactly. This shows the connectivity hypothesis in the basic theorem is not a technical nicety — omitting it changes the constant on the right-hand side, and using for a disconnected plane graph gives a false equation.
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Disconnected plane graphs | Use , not |
| Multigraphs / loops | Face boundary lengths can be (loop) or (parallel edges); the bound assumes simplicity |
| Bridges (cut edges) | A bridge borders the same face on both sides; it contributes to that face's boundary length but only edge |
| Different embeddings of the same | Face count is still forced to satisfy Euler's formula (since it only depends on ), but which sets of vertices/edges bound which face can differ, except for 3-connected planar graphs (Whitney's uniqueness theorem) |
| The bound can be vacuous or wrong (e.g. gives , meaningless as an edge bound); always check | |
| Non-planar graphs | Euler's formula simply does not apply; have no plane embedding at all, so is undefined for them |
The mathematician behind it
Origins · 1 minLeonhard Euler and how this was discovered
Euler was the most prolific mathematician in history, contributing foundational results across number theory, analysis, mechanics, and what would become graph theory. His 1736 resolution of the Königsberg bridge problem is widely regarded as the founding act of graph theory. His polyhedral formula, , first stated for convex polyhedra around 1750 (in letters to Christian Goldbach and in a paper presented to the St. Petersburg Academy), is the direct ancestor of the plane-graph version proved here, since the graph formed by a convex polyhedron's vertices and edges, projected onto a plane (or sphere), is always planar and connected.
Does Euler's formula prove that a graph is planar?
No. Euler's formula is a consequence of having a plane embedding, not a criterion that grants one. It takes as given a graph already drawn without crossings and relates the resulting vertex, edge, and face counts. You cannot run the formula "backwards" to conclude planarity just because , satisfy some numeric relation; the edge bound derived from it is a necessary condition for planarity (its failure proves non-planarity), but it is not sufficient. There exist non-planar graphs satisfying , so a full planarity characterization requires more machinery, namely Kuratowski's Theorem.
Does every planar graph have a unique face structure?
Not in general. A planar graph can have multiple combinatorially different plane embeddings with different face boundaries, especially if the graph has low connectivity (e.g., graphs with cut vertices can be "flipped" at those vertices to rearrange which pieces sit inside which face). However, Whitney's theorem states that every 3-connected planar graph has an essentially unique embedding on the sphere, meaning its face structure (the set of face boundaries) is the same in every plane embedding, up to the choice of outer face and reflection. Euler's formula's numeric conclusion, , holds for any embedding of a connected planar graph regardless of this uniqueness question, since is forced by and alone.
Why must every face have boundary length at least 3 in a simple graph?
A face boundary of length would trace a closed walk using a single edge-side, which only happens with a loop (an edge from a vertex to itself) — excluded by simplicity. A face boundary of length using two distinct edges between the same two vertices requires a multi-edge (two parallel edges enclosing a "bigon" face) — also excluded by simplicity, since simple graphs allow at most one edge between any two vertices. The only length- situation in a simple graph is a bridge bordering one face on both sides, but that face's total boundary length is still at least once you account for the rest of its perimeter, provided the graph has vertices, since a face cannot be bounded solely by a single back-and-forth edge with nothing else in a connected simple graph on 3+ vertices.
Can Euler's formula be used for graphs drawn on other surfaces, like a torus?
Yes, and this is one of the deepest generalizations of the idea. For a connected graph embedded on a closed orientable surface of genus (a sphere with handles), the analogous identity is , where is called the Euler characteristic of the surface. The plane (or equivalently the sphere, via stereographic projection) is the genus- case, recovering . This generalization lets you define and study "toroidal graphs" and other surface-embeddable graph classes using the same edge-counting techniques used here, replacing by throughout the derivation of bounds like .
Is the outer face fundamentally different from the inner faces?
Topologically, no — on the sphere (via stereographic projection, which turns the plane's point at infinity into an ordinary point), the outer face is just another bounded face like any other, and "outer" is only meaningful once you fix a particular point (or face) to serve as the "point at infinity" for the planar drawing. In practice, when working directly in the plane, the outer face is the one unbounded region, and it must be included in the face count in Euler's formula — a common student error is to forget to count the outer face, which silently shifts every computed value of down by one and breaks the identity.
Does Euler's formula require the graph to be simple?
No — the theorem as proved here (via induction on edges, base case trees) works for connected multigraphs (graphs with loops and parallel edges) too, as long as "plane graph" is interpreted correctly (loops are drawn as simple closed curves, parallel edges as non-crossing arcs). What does require simplicity is the derived inequality , since that argument used the fact that no face can have boundary length less than , which fails once loops (boundary length ) or parallel edges (boundary length , forming a "bigon" face) are allowed.
How does Euler's formula connect to Kuratowski's theorem?
Euler's formula gives necessary numerical conditions for planarity (like ), which are enough to rule out specific dense graphs such as and directly by arithmetic. But these numerical conditions are not sufficient — there exist graphs satisfying that are still non-planar. Kuratowski's Theorem closes this gap completely: it states that a graph is planar if and only if it contains no subgraph that is a subdivision of or . Euler's formula is the essential first step used inside the proof of Kuratowski's theorem, precisely because it is what shows and themselves must be forbidden.