Math Playground
Geometry

Diagonals of polygons

How many diagonals does an n-gon have? n(n−3)/2.

Diagonals are line segments connecting non-adjacent vertices.

Number of diagonals
n(n−3)/2
Try it

Hexagon (n=6)

6·3/2 = 9 diagonals.