Find How Many Diagonals Are in a Polygon

Finding diagonals in a polygon is a necessary skill to develop in math. It may seem difficult at first, but is pretty simple once you learn the basic formula. A diagonal is any line segment drawn between vertices of a polygon that doesn’t include the sides of that polygon.[1] A polygon is any shape that has more than three sides. Using a very simple formula, you can calculate the number of diagonals in any polygon, whether it has 4 sides or 4,000 sides.

Steps

Drawing the Diagonals

  1. Know the names of polygons. You may need to first identify how many sides are present in the polygon. Each polygon has a prefix that indicates the number of sides it has. Here are the names of polygons with up to twenty sides:[2]
    • Quadrilateral/tetragon: 4 sides
    • Pentagon: 5 sides
    • Hexagon: 6 sides
    • Heptagon: 7 sides
    • Octagon: 8 sides
    • Nonagon/Enneagon: 9 sides
    • Decagon: 10 sides
    • Hendecagon: 11 sides
    • Dodecagon: 12 sides
    • Triskaidecagon/tridecagon: 13 sides
    • Tetrakaidecagon/tetradecagon: 14 sides
    • Pendedecagon: 15 sides
    • Hexdecagon: 16 sides
    • Heptdecagon: 17 sides
    • Octdecagon: 18 sides
    • Enneadecagon: 19 sides
    • Icosagon: 20 sides
    • Note that a triangle has no diagonals.[1]
  2. Draw the polygon. If you wanted to know how many diagonals were present in a square, you would start by drawing the square. The easiest way to find diagonals and count them is to draw the polygon symmetrically, each side has the same length. It’s important to note that even if the polygon is not symmetrical, it will still have the same number of diagonals.[1]
    • To draw the polygon, use a ruler and draw each side the same length, connecting all of the sides together.
    • If you’re unsure what the polygon will look like, search for pictures online. For example, a stop sign is an octagon.
  3. Draw the diagonals. A diagonal is a line segment drawn from one corner of the shape to another, excluding the sides of the polygon.[1] Starting at one vertex of the polygon, use a ruler to draw a diagonal to every other available vertex.
    • For a square, draw one line from the bottom left corner to the top right corner and another line from the bottom right corner to the top left corner.
    • Draw diagonals in different colors to make them easier to count.[3]
    • Note that this method gets much more difficult with polygons that have more than ten sides.
  4. Count the diagonals. There are two options for counting: you can count as you draw the diagonals or count them once they have been drawn. As you count each diagonal, draw a small number above the diagonal to denote that it has been counted. It is easy to lose track while counting when there are a lot of diagonals crossing each other.
    • For the square, there are two diagonals: one diagonal for every two vertices.[3]
    • A hexagon has 9 diagonals: there are three diagonals for every three vertices.
    • A heptagon has 14 diagonals. Past the heptagon, it gets more difficult to count the diagonals because there are so many of them.
  5. Beware of counting a diagonal more than once. Each vertex may have multiple diagonals, but that doesn’t mean that the number of diagonals is equal to the number of vertices times the number of diagonals. Take care when counting the diagonals to count each one only once.[4]
    • For example, a pentagon (5 sides) has only 5 diagonals. Each vertex has two diagonals, so if you counted each diagonal from every vertex twice, you might think there were 10 diagonals. This is incorrect because you would have counted each diagonal twice!
  6. Practice with some examples. Draw some other polygons and count the number of diagonals. The polygon does not have to be symmetric for this method to work. In the case of a concave polygon, you may have to draw some of the diagonals outside the actual polygon.[1]
    • A hexagon has 9 diagonals.
    • A heptagon has 14 diagonals.

Using the Diagonal Formula

  1. Define the formula. The formula to find the number of sides of a polygon is n(n-3)/2 where “n” equals the number of sides of the polygon.[1] Using the distributive property this can be rewritten as (n2 - 3n)/2. You may see it either way, both equations are identical.
    • This equation can be used to find the number of diagonals of any polygon.
    • Note that the triangle is an exception to this rule. Due to the shape of the triangle, it does not have any diagonals.[1]
  2. Identify the number of sides in the polygon. To use this formula, you must identify the number of sides that the polygon has. The number of sides is given in the name of the polygon, you just need to know what each name means. Here are some of common prefixes you will see in polygons:[5]
    • Tetra (4), penta (5), hexa (6), hepta (7), octa (8), ennea (9), deca (10), hendeca (11), dodeca (12), trideca (13), tetradeca (14), pentadeca (15), etc.
    • For very large sided polygons you may simply see it written “n-gon”, where “n” is the number of sides. For example, a 44-sided polygon would be written as 44-gon.
    • If you are given a picture of the polygon, you can simply count the number of sides.
  3. Plug the number of sides into the equation. Once you know how many sides the polygon has, you just need to plug that number into the equation and solve. Everywhere you see “n” in the equation will be replaced with the number of sides of the polygon.[4]
    • For example: A dodecagon has 12 sides.
    • Write the equation: n(n-3)/2
    • Plug in the variable: (12(12 - 3))/2
  4. Solve the equation. Finish by solving the equation using the proper order of operations. Start by solving the subtraction, then multiply, then divide. The final answer is the number of diagonals the polygon has.[4]
    • For example: (12(12 – 3))/2
    • Subtract: (12*9)/2
    • Multiply: (108)/2
    • Divide: 54
    • A dodecagon has 54 diagonals.
  5. Practice with more examples. The more practice you have with a math concept, the better you will be at using it. Doing lots of examples will also help you memorize the formula in case you need it for a quiz, test, or exam. Remember, this formula works for a polygon of any number of sides greater than 3.
    • Hexagon (6 sides): n(n-3)/2 = 6(6-3)/2 = 6*3/2 = 18/2 = 9 diagonals.
    • Decagon (10 sides): n(n-3)/2 = 10(10-3)/2 = 10*7/2 = 70/2 = 35 diagonals.
    • Icosagon (20 sides): n(n-3)/2 = 20(20-3)/2 = 20*17/2 = 340/2 = 170 diagonals.
    • 96-gon (96 sides): 96(96-3)/2 = 96*93/2 = 8928/2 = 4464 diagonals.

Related Articles

  • Draw a Hexagon

Sources and Citations