Skip to content
Tutorials Center
My learning

Topics

Lesson 9 of 37 · Points, Lines and Angles

Angle Sums in Polygons

Learn why the interior angles of an n-sided polygon sum to (n-2)×180°, why exterior angles total 360°, and how to find regular polygon angles.

How many degrees do the corners of a hexagon add up to? Do you have to measure each one? No. A single formula gives the answer for any polygon, and the reason it works is a beautiful piece of reasoning you can reproduce yourself. This lesson also brings in exterior angles, which have an even simpler rule.

Interior angles

An interior angle of a polygon is an angle inside the shape at a vertex. For a triangle, the three interior angles add up to 180° (you will prove this in the next chapter). Now use triangles to handle other polygons.

Pick one vertex of an n-sided convex polygon and draw all the diagonals from it. This slices the polygon into n - 2 triangles.

  • A quadrilateral (n = 4) gives 2 triangles.
  • A pentagon (n = 5) gives 3 triangles.
  • A hexagon (n = 6) gives 4 triangles.

The angles of those triangles together make up exactly the interior angles of the polygon, so:

Sum of interior angles = (n - 2) × 180°

flowchart LR
    A["Choose a vertex"] --> B["Draw diagonals from it"]
    B --> C["n - 2 triangles appear"]
    C --> D["Sum = (n - 2) × 180°"]

Splitting a polygon into triangles gives the formula.

For a quadrilateral that is (4 - 2) × 180° = 360°, which matches a rectangle: four right angles. For a hexagon it is 4 × 180° = 720°.

The formula also works for concave polygons, as long as the interior angles (some may be reflex) are measured inside the shape.

Worked example. Three angles of a quadrilateral are 95°, 110° and 70°. Find the fourth. The total is 360°, so the fourth angle is 360 - (95 + 110 + 70) = 360 - 275 = 85°.

Regular polygons

In a regular polygon all n interior angles are equal, so each one is

interior angle = (n - 2) × 180° / n

Polygon n Each interior angle
Equilateral triangle 3 60°
Square 4 90°
Regular pentagon 5 108°
Regular hexagon 6 120°
Regular octagon 8 135°
Regular decagon 10 144°
Python Interior angle table

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice that as n gets larger, each angle of a regular polygon gets closer to 180°, and the polygon looks more and more like a circle.

Exterior angles

Extend one side of a polygon past a vertex. The angle between that extension and the next side is an exterior angle. At each vertex, the interior and exterior angles form a linear pair, so

interior + exterior = 180°.

The remarkable fact: the exterior angles of any convex polygon, one per vertex, always add up to 360°, no matter how many sides it has. Think of walking around the polygon: at each corner you turn through the exterior angle, and after one lap you have turned through exactly one full circle.

You can confirm it with the interior formula. For n vertices, the exterior angles sum to n × 180° - (n - 2) × 180° = 360°. ✓

For a regular polygon each exterior angle is 360° / n. This is handy for finding n: if an exterior angle is 40°, then n = 360 / 40 = 9.

Worked example. Each interior angle of a regular polygon is 156°. How many sides? The exterior angle is 180 - 156 = 24°, so n = 360/24 = 15.

Python Find n from an angle

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Angle 100° gives n = 360/80 = 4.5, which is not a whole number, so no regular polygon has 100° angles.

Seeing a regular polygon

A regular n-gon can be built by placing n points evenly around a circle, 360°/n apart. Run the plot and try other values of n.

Python Draw a regular polygon

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the sum of the interior angles of a pentagon?

    (5 - 2) × 180° = 3 × 180° = 540°.
  2. 2. What is each interior angle of a regular octagon?

    (8 - 2) × 180° / 8 = 1080° / 8 = 135°.
  3. 3. The exterior angles of a convex polygon (one at each vertex) add up to what?

    They always total 360°, however many sides there are.
  4. 4. A regular polygon has exterior angles of 30°. How many sides does it have?

    n = 360° / 30° = 12.

Summary

  • Drawing diagonals from one vertex splits an n-gon into n - 2 triangles.
  • Interior angles sum to (n - 2) × 180°.
  • Each interior angle of a regular n-gon is (n - 2) × 180° / n.
  • Exterior angles of a convex polygon always sum to 360°; each regular one is 360°/n.
  • Interior + exterior = 180° at every vertex.

Next: Triangles by Sides and Angles