Number of diagonals of a polygon

A diagonal is a segment joining two vertices that are not next to each other. From one vertex of an n-gon you can draw n − 3 diagonals, leaving out the vertex itself and its 2 neighbors. If you count from every vertex, each diagonal gets counted twice (once from each end), so divide by 2.

Chalcack concept card · Reviewed by the Chalcack team ·

From one vertex of a pentagon you can draw 2 diagonals, and the pentagon has 5 diagonals in all.

Formulas

  • (diagonals from one vertex)=n−3\text{(diagonals from one vertex)} = n - 3
  • (diagonals of an n-gon)=n×(n−3)2\text{(diagonals of an n-gon)} = \frac{n \times (n-3)}{2}

When to use it

Use it when you know how many sides a polygon has and need the total number of diagonals.

Worked example

Find the number of diagonals of a hexagon. From one vertex you can draw 6−3=36 - 3 = 3 diagonals. There are 6 vertices, so 6×3=186 \times 3 = 18, and since each diagonal was counted twice, 18÷2=918 \div 2 = 9. The answer is 9 diagonals.

Common mistake

Many students forget to divide by 2 at the end. Each diagonal was counted once from each of its two endpoints, so you must divide by 2.

Related concepts

All 181 math concepts