← Polygon Calculators /

Polygon Angle Sum Calculator

Calculate interior and exterior angle sums of any polygon. Enter number of sides.

Reviewed by Geometry Calculator, Geometry Calculator Developer & Online Math Educator Last updated April 24, 2026

Polygon Angle Sum Calculator

Formulas Used in Polygon Angle Sum Calculator

Interior sum = (n − 2) × 180°
Each interior (regular) = (n−2)×180/n
Exterior sum = 360°

Full formula reference: Polygon Interior & Exterior Angle Formulas · Octagon Formula

In-Depth Tutorial: Polygon Angle Sum Calculator

The Polygon Angle Sum Calculator returns the total of all interior angles in any polygon, given only the number of sides. The formula is one of the cleanest in plane geometry: (n − 2) × 180°. This same formula, divided by n, gives the measure of each individual interior angle when the polygon is regular (all sides and angles equal). This tutorial proves the formula by triangle decomposition, walks through interior and exterior angles for the most common polygons, and explains why exterior angles always sum to exactly 360° regardless of n.

The interior angle sum formula

For any simple polygon (no self-crossings) with n sides:

Interior angle sum = (n − 2) × 180°

The formula works for both convex and concave polygons. It does not require regularity — irregular polygons with the same number of sides have the same total angle sum, even though their individual angles differ.

Why the formula is (n − 2) × 180°

Pick any vertex of an n-sided polygon. Draw diagonals from that vertex to every other non-adjacent vertex. You will have drawn n − 3 diagonals (one to each of the n − 3 non-adjacent vertices — you cannot draw a diagonal to the two adjacent ones or to yourself).

These n − 3 diagonals divide the polygon into n − 2 triangles. The interior angles of each triangle sum to 180°. Total: (n − 2) × 180°.

This proof works for any convex polygon directly. For concave polygons, you may need to pick the vertex carefully so the diagonals stay inside the figure, but the count of triangles is still n − 2.

Worked tables for common polygons

nPolygonInterior sumEach interior (regular)
3Triangle180°60°
4Quadrilateral360°90°
5Pentagon540°108°
6Hexagon720°120°
7Heptagon900°≈128.57°
8Octagon1080°135°
9Nonagon1260°140°
10Decagon1440°144°
12Dodecagon1800°150°
nn-gon(n−2)×180°(n−2)×180°/n

The "each interior" column only applies if the polygon is regular. An irregular pentagon still has interior sum 540°, but the five angles can be anything summing to 540°.

The exterior angle sum is always 360°

An exterior angle at a vertex is the supplement of the interior angle: exterior = 180° − interior. Equivalently, an exterior angle is what you would turn through if you walked along the boundary and turned at each vertex to follow the next side.

For any convex polygon, the exterior angles sum to exactly 360° — regardless of n. Geometric intuition: if you walk all the way around the polygon, you make exactly one full turn (360°) by the time you return to your starting orientation. The total turn equals the sum of all the individual turns at each vertex.

For a regular polygon, each exterior angle equals 360° / n. So a regular hexagon has exterior angles of 60° (and interior angles of 120°, since 60° + 120° = 180°).

Why interior + exterior at each vertex = 180°

The interior angle and the exterior angle at the same vertex form a linear pair — they are on opposite sides of the same vertex, sharing one side. A linear pair sums to 180°. So:

interior + exterior = 180°

For a regular polygon:

(n − 2) × 180° / n + 360° / n = 180°

You can verify: ((n − 2) × 180° + 360°) / n = (180n − 360 + 360) / n = 180n / n = 180°. ✓

Finding the number of sides from an interior angle

If you know each interior angle of a regular polygon, you can solve for n. From each interior = (n − 2) × 180° / n:

n × (each interior) = (n − 2) × 180°
n × (each interior) = 180n − 360
180n − n × (each interior) = 360
n(180 − each interior) = 360
n = 360 / (180 − each interior)

Example: each interior = 144°. Then n = 360 / (180 − 144) = 360 / 36 = 10. Regular decagon.

Worked examples

Example 1 — sum for n = 7: (7 − 2) × 180° = 5 × 180° = 900°.

Example 2 — each interior for regular n = 12: (12 − 2) × 180° / 12 = 1800° / 12 = 150°.

Example 3 — find n from a given regular interior of 162°: n = 360 / (180 − 162) = 360 / 18 = 20. Regular icosagon.

Real-world applications

  • Tiling and tessellation. A polygon can tile the plane (alone, edge-to-edge) only if its interior angle divides 360° evenly. Triangles (60° each), squares (90°), and regular hexagons (120°) are the only regular polygons that can tile the plane alone. Pentagons (108°) cannot — 360°/108° is not an integer.
  • Architecture and design. The interior angle of a regular polygon dictates corner cuts in wood, metal, or glass when building n-sided structures (gazebos, planters, picture frames).
  • Crystallography and chemistry. Molecular geometries (trigonal, square planar, octahedral, etc.) describe bond angles at the central atom — exactly the interior angles of regular polygons.
  • Game design and graphics. Procedural generation of polygons (city plans, asteroids, geodesic domes) relies on (n − 2) × 180° to compute correct angles.

Common mistakes

  • Using n × 180° instead of (n − 2) × 180°. The formula subtracts 2 first. Without that, you would be over-counting by 360°.
  • Applying the regular-polygon "each interior" formula to irregular polygons. Irregular polygons have the same sum but different individual angles.
  • Confusing interior with exterior. Interior is inside the polygon. Exterior is outside, the supplement.
  • Using the formula on self-intersecting figures. Star polygons (e.g., pentagrams) do not satisfy (n − 2) × 180° in the standard sense — their "interior angle sums" depend on which crossings are interior.

Frequently Asked Questions – Polygon Angle Sum Calculator

Interior angle sum = (n − 2) × 180°, where n is the number of sides. For example, a hexagon (n = 6) has (6 − 2) × 180° = 720°.

Any polygon can be divided into (n − 2) triangles by drawing diagonals from one vertex. Each triangle contributes 180°, giving the total angle sum.

The exterior angles of any convex polygon always sum to exactly 360°, regardless of the number of sides.

Yes — free and unlimited.

Only three regular polygons tile the plane — and the angle sum tells you why

The tutorial above mentions in passing that only triangles, squares, and hexagons can tile the plane on their own. The reason is a direct consequence of the interior-angle formula. For a regular polygon to tile by itself, several copies must meet at every vertex with their interior angles totaling exactly 360° — no gaps, no overlaps. That requires the interior angle to divide 360° evenly.

Checking the candidates:

  • Triangle: interior 60°, and 6 × 60° = 360°. Six triangles meet at each vertex. Tiles.
  • Square: interior 90°, and 4 × 90° = 360°. Four squares meet at each vertex. Tiles.
  • Pentagon: interior 108°, but 360° / 108° ≈ 3.33 — not an integer. No way to fit pentagons around a vertex without leaving a gap or overlapping. Fails.
  • Hexagon: interior 120°, and 3 × 120° = 360°. Three hexagons meet at each vertex. Tiles.
  • Heptagon and beyond: interior angles between 128.57° and 180°, none of which divide 360°. All fail.

This three-shape limit is exactly why regular tilings in floor patterns, mosaic art, and snowflake symmetry are dominated by triangular, square, and hexagonal grids. To tile the plane with other regular polygons, you have to mix shapes — the eight semiregular (Archimedean) tilings like 3.6.3.6 (alternating triangles and hexagons around each vertex) or 4.8.8 (a square and two octagons at each vertex) are the only ways. Pentagons, heptagons, and most other regulars can't participate in any plane tiling, regular or semiregular.

The "n-2 triangles" decomposition isn't unique

The proof that interior sum = (n − 2) × 180° works by splitting the polygon into n − 2 triangles via diagonals from a single vertex. That's one specific decomposition. There are typically many other ways to triangulate the same polygon — using diagonals between different vertex pairs — and every one of them produces exactly n − 2 triangles. The count is invariant.

How many different triangulations does an n-gon admit? The answer is the Catalan number C(n−2). For an n-gon: n = 3 has 1 triangulation, n = 4 has 2, n = 5 has 5, n = 6 has 14, n = 7 has 42, n = 10 has 1430. The numbers grow fast — by n = 20 there are over 477 million distinct triangulations of a single 20-gon. But every triangulation has exactly 18 triangles, contributing 18 × 180° = 3240°, which is (20 − 2) × 180° — the angle sum is the same regardless of which triangulation you pick.

This invariance has practical use in computer graphics. Mesh-based 3D models triangulate complex polygon faces in many possible ways; the rendering engine's choice of triangulation affects efficiency and visual artifacts but not the total enclosed angle. Delaunay triangulation picks the specific triangulation that maximizes the minimum angle in any triangle, avoiding "sliver" triangles that cause numerical instability in finite-element analysis. The polygon's angle sum is the same; the triangulation choice optimizes how those degrees are distributed.

Questions about angle sums that go beyond the formula

What about star polygons like the pentagram?

For a regular star polygon written in Schläfli notation as {n/k} — where n is the number of vertices and k is the step (skipping k − 1 points between each connection) — the interior angle sum at all n vertices is (n − 2k) × 180°. A pentagram is {5/2}, so the sum of its five pointed-tip angles is (5 − 4) × 180° = 180°. That is, each point of a regular pentagram has an angle of 36°, and five of them sum to 180°. The standard (n − 2) × 180° formula doesn't apply because the star self-intersects — it's not a "simple" polygon. The same generalization handles seven-pointed stars ({7/2} or {7/3}) and other star polygons.

For a concave polygon, what counts as the "interior" angle?

The interior angle at each vertex is measured from inside the polygon, on the side enclosed by the figure. For a vertex where the polygon "caves in" (a reflex vertex), the interior angle is greater than 180° and is measured as the larger of the two possible angles at that point. A common arrowhead-shaped concave quadrilateral has three angles around 30°–40° and one reflex angle around 260°–280°, with the four summing to 360° as required for any quadrilateral. The angle-sum formula still works, but the measurement at the reflex vertex requires care — confusing it with the smaller 360° − reflex value gives the wrong total.

How do I solve a "missing angle" homework problem most efficiently?

Three steps. (1) Compute the total angle sum from the side count: (n − 2) × 180°. (2) Add up all the angles you've been given. (3) Subtract the given total from the formula result; the difference is the missing angle (or the sum of missing angles, if more than one is unknown). For a pentagon (sum 540°) with given angles 90°, 100°, 110°, 130°: the missing fifth angle is 540 − 90 − 100 − 110 − 130 = 110°. This shortcut beats trying to figure out individual angle relationships from triangle decomposition for typical homework — and it works equally for regular or irregular polygons.

Is the formula related to Euler's V − E + F = 2 formula for polyhedra?

Yes — at one remove. Euler's formula V − E + F = 2 for convex polyhedra is a topological invariant that says how vertices, edges, and faces relate on any sphere-like surface. The angle-sum formula (n − 2) × 180° for a single polygon is a 2D analog: every triangulation has exactly n − 2 triangles, regardless of how you draw the diagonals, because the triangulation is constrained by the same combinatorial relations Euler's formula encodes. Both are special cases of the Gauss-Bonnet theorem, which links the total curvature of a surface to its topological structure. The polygon angle formula is what Gauss-Bonnet reduces to in flat 2D Euclidean geometry.