Summarize this article:
291 LearnersLast updated on August 9, 2025

A diagonal is a line segment connecting two non-adjacent vertices in a polygon. The formula to calculate the number of diagonals in a polygon with n sides is:
Diagonals = n(n-3)/2
Where n represents the number of sides in the polygon.
The formula for the number of diagonals is derived by considering each vertex of the polygon, which can connect to any of the other n-3 vertices (excluding itself and its two adjacent vertices). Thus, the total number of connections (or diagonals) is divided by 2, as each diagonal is counted twice.


Consider a pentagon, which has 5 sides.
Using the diagonal formula:
Diagonals = 5(5-3)/2 = 5
In a hexagon with 6 sides:
Diagonals = 6(6-3)/2 = 9
The diagonals formula is used in various geometric problems and proofs. By understanding this formula, students can easily analyze complex polygonal shapes and their properties. It also aids in visualizing the internal structure of polygons.
Students often find geometry formulas challenging. To memorize the diagonals formula, remember that you subtract 3 from the number of sides to account for the vertices that cannot form diagonals (itself and two adjacent vertices) and divide by 2 because each diagonal is counted twice.
Students often make errors when calculating the number of diagonals. Here are some common mistakes and tips to avoid them.
How many diagonals are there in an octagon?
There are 20 diagonals in an octagon.
Using the formula:
Diagonals = 8(8-3)/2 = 20
Find the number of diagonals in a decagon.
A decagon has 35 diagonals.
Using the formula:
Diagonals = 10(10-3)/2 = 35
Calculate the number of diagonals in a heptagon.
There are 14 diagonals in a heptagon.
Using the formula:
Diagonals = 7(7-3)/2 = 14
Vikrant is a passionate Mathematics teacher with over 5 years of teaching experience in both conventional and Vedic Maths. His student-focused approach combines clear concepts with motivation and encouragement, helping students build confidence and develo
: He loves to play the quiz with kids through algebra to make kids love it.
We use cookies for essential site function, analytics, and marketing. You can accept all, reject non-essential cookies, or customize your choices. See our Cookie Policy.





