To find the number of diagonals in an octagon (a polygon with 8 sides), use the formula for the number of diagonals in a polygon, which is:2n(n−3)​where n is the number of sides of the polygon.For an octagon, n=8. Plug this value into the formula:28(8−3)​=28×5​=240​=20Therefore, an octagon has 20 diagonals.