Diagonals of Polygons
|A square has
|An octagon has
A polygon's diagonals are line segments from one corner to another (but not the sides).
The number of diagonals of an n-sided polygon is:
n(n − 3) / 2
Try it Yourself:
|A diagonal can actually be outside the polygon,
which happens with some concave polygons.