Study Guides/Maths/Number of Diagonals in a Polygon
Study Guide ยท Maths

Formula for Number of Diagonals in a Polygon

A diagonal is a line segment connecting two non-adjacent vertices of a polygon. There is a neat formula to calculate the number of diagonals in any polygon.

Question (Click to Flip)

How many diagonals does a regular hexagon have?

Answer

n = 6: Diagonals = 6(6-3)/2 = 6ร—3/2 = 9 diagonals

Card 1 of 1 free previews

Key Facts

A triangle has 0 diagonals. A quadrilateral has exactly 2 diagonals. These are useful facts to verify the formula.

The Formula

Number of Diagonals = n(n-3) / 2

Where n = number of sides (or vertices) of the polygon.

Solved Examples

PolygonSides (n)FormulaDiagonals
Triangle33(3-3)/20
Quadrilateral44(4-3)/22
Pentagon55(5-3)/25
Hexagon66(6-3)/29
Octagon88(8-3)/220
Decagon1010(10-3)/235

Derivation of the Formula

From any vertex, you can draw diagonals to (n-3) other vertices (you cannot draw to itself or its 2 adjacent vertices).

Total = n ร— (n-3) โ€” but each diagonal is counted twice (once from each end).

So divide by 2: n(n-3)/2

Questions and Answers

How many diagonals does a regular hexagon have?+

n = 6: Diagonals = 6(6-3)/2 = 6ร—3/2 = **9 diagonals**

More in Maths

Study Smarter with Shinyu.ai

Turn this guide into revision flashcards, a practice exam, or an AI-generated podcast โ€” free, no signup required.