English | Español

Octagon Diagonals

A diagonal is a line segment that connects two non-adjacent corners of a shape. An octagon has 20 diagonals in total.

Octagon Diagonals

What Is a Diagonal?

A diagonal is a line connecting one corner to another corner inside a shape, without going along the edge. In the image, the diagonals are shown in teal.


Formula for Counting Diagonals

There is a general formula for finding the number of diagonals in any polygon:

Diagonals Formula

Octagon Diagonals Formula
Dnumber of diagonals nnumber of sides of the octagon (n = 8)

More About the Octagon

Click on any element to learn more.

Explore More Shapes