

How to Calculate Diagonals in Polygons with Step-by-Step Examples
The diagonal of a polygon is a line segment that connects any two non-adjacent vertices. The number of diagonals and their attributes vary depending on the type of polygon and the number of sides. Let's review what a polygon is and what a diagonal is before learning the diagonal of a polygon formula.
A closed shape made up of three or more line segments is called a polygon. A line segment generated by joining any two non-adjacent vertices forms the diagonal of a polygon. Let's look at the formula for a polygon's diagonal, as well as some examples of solved problems. You can quickly count all of the possible diagonals of a basic polygon with a few sides. Counting polygons can be difficult when they become more intricate.
Fortunately, there is a straightforward formula for calculating the number of diagonals in a polygon. Because any vertex (corner) is connected to two other vertices by sides, those connections cannot be considered diagonals. That vertex, too, is unable to make a connection with itself. As a result, ‘n’ we'll immediately lower the number of viable diagonals by three.
That vertex, too, is unable to make a connection with itself. For example, our door only has two diagonals if you don't include moving from the top hinge to the bottom opposite and back. Any solution will have to be divided by two.
Diagonal- Polygons Diagonals
A diagonal is a segment of a polygon that connects two non-consecutive vertices. In a polygon, the number of diagonals that can be drawn from any vertex is three less than the number of sides. Multiply the number into totaling of diagonals per vertex (n - 3) by the number of vertices, n, then divide by 2 to get the total number of diagonals in a polygon (otherwise each diagonal is counted twice).
Number of Diagonals = \[\frac{n(n-3)}{2}\]
Simply subtract the total sides from the diagonals given by each vertex to another vertex to arrive at this formula. To put it another way, an n-sided polygon has n-vertices that can be connected in nC2 ways.
The formula obtained by subtracting n using nC2 methods is \[\frac{n(n-3)}{2}\].
The total sides of a hexagon, for example, are six. As a result, the total diagonals are 6(6-3)/2 = 9
Let’s know what a diagonal is. A diagonal of a polygon can be defined as a line segment joining two vertices. From any given vertex, there are no diagonals to the vertex on either side of it, since that would lay on top of the side. Also, remember that there is obviously no diagonal from a vertex back to itself. This means there are three less diagonals than the number of vertices. (We do not count diagonals to itself and one either side). This is a diagonal definition.
Here, we are going to discuss the number of diagonals in a polygon, diagonal definition.
Formula for the Number of Diagonals
As described above, the number of diagonals from a single vertex is three less than the number of vertices or sides, or (n-3).
There are a total number of N vertices, which gives us n(n-3) diagonals.
But each diagonal of the polygon has two ends, so this would count each one twice. So as a final step we need to divide by 2, for the final formula:
Number of distinct diagonals = \[\frac{n(n-3)}{2}\]
where,
n is the number of sides (or vertices).
Diagonals of Polygon
The diagonals of a polygon is a segment line in which the ends are non-adjacent vertices of a polygon.
How many diagonals does n-polygon have? Let’s see the diagonals of a polygon and the no. of diagonals in a polygon.
For n = 3 we have a triangle. We can clearly see the triangle has no diagonals because each vertex has only adjacent vertices. Therefore, the number of diagonals in a polygon triangle is 0.
For n = 4 we have quadrilateral. It has 2 diagonals. Therefore, the number of diagonals in a polygon quadrilateral is 2.
For n = 5, we have a pentagon with 5 diagonals. Therefore, the number of diagonals in a polygon pentagon is 5.
For n = 6, n-polygon is called hexagon and it has 9 diagonals. Therefore, the number of diagonals in a polygon hexagon is 9.
Since n was a lower number we could easily draw the diagonals of n-polygons and then count the number of diagonals in a polygon.
Diagonals in Real Life
Diagonals in rectangles, as well as diagonals in squares, add toughness to construction, whether for a house wall, bridge, or tall building. You may have seen diagonal wires used to keep the bridges steady. When houses are being built, look for the diagonal braces that tend to hold the walls straight and true.
Bookshelves and scaffolding are braced with diagonals. For a catcher in softball or for a catcher in baseball to throw out a runner at second base, the catcher throws along a diagonal from home plate to second.
The phone screen or computer screen you are viewing this lesson on is measured along its diagonal. A 21" screen never tells you the width and height of the screen; it is 21" from one corner to an opposite corner.
Diagonal Formulas
1) Diagonal of a Rectangle Formula:
2) Diagonal of a Square Formula:
Now let's look at a few different diagonal formulas to find the length of a diagonal of a square.
3) Diagonal of a Cube Formula:
For any given cube, we find the diagonal by using a three-dimensional version of the Pythagorean Theorem/distance formula:
Important Note
The above-given formula gives us the number of distinct diagonals - that is, the number of actual line segments. At times it is easy to miscount the diagonals of a polygon when doing it by eye.
If you glance quickly at the pentagon given below, you may be tempted to say that the number of diagonals is 10. After all, there are 2 at each vertex and 5 vertices. Few people watch them making 3 triangles, for 6 diagonals. But there are only 5 diagonals. You need to count them carefully.
Solved Examples
Question 1) Find the total number of diagonals contained in an 11-sided regular polygon.
Solution) In an 11-sided polygon, total vertices are 11. Now, the 11 vertices can be joined with each other by C211 ways i.e. 55 ways.
Now, there are a total of 55 diagonals possible for an 11-sided polygon which includes its sides also. So, subtracting the sides will give the total number of diagonals contained by the polygon.
So, total diagonals contained within an 11-sided polygon = 55 -11 which is equal to 44.
Formula Method:
According to the formula, the number of diagonals equals \[\frac{n(n-3)}{2}\].
So, 11-sided polygon will contain 11(11-3)/2 = 44 diagonals.
FAQs on Polygon Diagonals Explained: Formula, Calculation & Uses
1. What is a diagonal in a polygon?
A diagonal in a polygon is a line segment connecting two non-adjacent vertices. In any polygon,
- diagonals do not share sides with the edges
- they run across the inside of the shape
2. How do you calculate the total number of diagonals in a polygon?
The formula for finding the number of diagonals in a polygon with $n$ sides is given by $\frac{n(n-3)}{2}$. This counts every way to connect two non-adjacent vertices, which always forms a diagonal.
3. Why does a triangle have no diagonals?
A triangle does not have any diagonals because each vertex is adjacent to every other vertex. For a diagonal, you need non-adjacent vertices, but in a triangle, every pair is joined by a side instead of a diagonal.
4. How many diagonals does a hexagon have?
A hexagon has $6$ sides. To find the number of diagonals, use $\frac{6(6-3)}{2} = 9$. Therefore, a hexagon has 9 unique diagonals connecting non-adjacent vertices inside the polygon.
5. What is the difference between sides and diagonals in a polygon?
In a polygon,
- sides are line segments connecting neighboring vertices around the shape's edge
- diagonals link non-adjacent vertices within the shape
6. Can a polygon have no diagonals except its sides?
Yes, only polygons with less than four sides lack diagonals. Triangles have no diagonals because every vertex is connected by a side. All polygons with four or more sides, like quadrilaterals, have at least two or more diagonals.
7. How are diagonals useful in geometry?
In geometry, diagonals help divide polygons into triangles, assist in finding the area of complex shapes, and support structural strength in architecture. Studying diagonals reveals internal properties of many different polygons.
8. How many diagonals does a regular pentagon have?
A regular pentagon has $5$ sides. Use the formula $\frac{n(n-3)}{2}$. Substituting $n = 5$, we get $\frac{5(5-3)}{2} = 5$ diagonals for any pentagon, regular or irregular.
9. Are diagonals always equal in regular polygons?
In regular polygons, some diagonals may be equal, but not always all. Equal sides ensure symmetry, but diagonal lengths can differ, especially in polygons with more than five sides, due to varying distances between non-adjacent vertices.
10. How do diagonals relate to the interior angles of a polygon?
Diagonals in a polygon form triangles whose angles add up to the polygon's total interior angle sum. For $n$ sides, the sum is $(n-2) \times 180^\circ$, and diagonals help break the shape into $(n-2)$ triangles to calculate that.
11. Can diagonals occur outside a polygon?
No, true diagonals of a polygon are always inside the shape, connecting internal, non-adjacent vertices. Lines that extend outside are not considered diagonals; they are exterior lines or extensions, not part of the polygon's structure.
12. What is the relationship between the number of sides and diagonals in a polygon?
As the number of sides in a polygon increases, the number of diagonals also grows. The formula $\frac{n(n-3)}{2}$ shows how each new vertex adds several new possible diagonals inside the polygon.

















