How many diagonals does a octagon have?

20 diagonals For any n-sided polygon, the formula for the number of diagonals is (n/2) x (n-3), so for an octagon it is (8/2) x (8-3) = 4 x 5 = 20.