Diagonals of a Polygon in GRE Geometry

Students love to skip over the basics, asking questions like: How many vertices does an octagon have? How many diagonals does an octagon have? What’s the difference between a regular octagon and, well, an octagon? And GRE geometry does delve into some complex polygon math.

But before we get to that, I will begin with two challenging GRE math problems.

GRE polygon geometry - image by Magoosh

GRE Geometry: Polygon Problems

1) Regular pentagon P has all five diagonals drawn.  What is the angle between two of these diagonals where they meet at a vertex of the pentagon?

(A) 12°

(B) 36°

(C) 54°

(D) 60°

(E) 72°


2) How many diagonals does a regular 20-sided polygon have?

(A) 60

(B) 120

(C) 170

(D) 240

(E) 400


Explanations to these practice problems will appear at the end of this blog article. Jump ahead by clicking here.


First, some basic terminology to begin this discussion.  A polygon is any geometric shape all of whose sides are straight line-segments.   Any triangle is a polygon.  Any quadrilateral (including trapezoids, parallelograms, rhombuses, rectangles and squares) are polygons.  A pentagon is a 5-sided polygon.  A hexagon is a 6-sided polygon.  An octagon is an eight-sided polygon.  A circle or parabola or anything with a curved side is not a polygon.

A point where two of the sides of a polygon meet is called a vertex.  The number of vertices a polygon has is always equal to the number of sides it has.

Another important polygon fact concerns the sum of angles.  You may know that the sum of the three angles in any triangle is 180°.  You may even know that the sum of the four angles in any quadrilateral is 360°.  This pattern generalizes.  The sum of all n angle in any n-sided polygon is:

sum of angles = (n – 2)*180°

Improve your GRE score with Magoosh.

Thus, any pentagon (n = 5) would have angles that add up to 3*180 = 540°.  Any hexagon (n = 6) would have angles that add up to 4*180 = 720°.  Any octagon (n = 8) would have angles that add up to 6*180 = 1080°.  (See the blog on GRE Geometric Formulas)

Finally, there is this paradoxical word “regular.”  In everyday language, “regular” means “ordinary, unexceptional, commonplace.”  In geometry, it connotes the exact opposite!  A shape is regular if and only if it is both equilateral and equiangular—that is, if and only if all the sides have the same length and all the angles are equal.  The “regular” version of any polygon is the most elite, most symmetrical version possible of that polygon.  The “regular triangle” would be what we known as an equilateral triangle.  The “regular quadrilateral” is the square.   For higher polygons, you are most likely to see the regular version on the GRE, because the test (like all mathematicians) loves symmetry.

Diagonals of a Polygon

Now, we can talk about diagonals.   A diagonal is any line through the interior of a polygon that connects two non-adjacent vertices.  What does this mean?  Well, first of all, starting from any vertex, an adjacent vertex is either vertex connected to the starting vertex by one side of the polygon.

Consider an irregular quadrilateral:

irr quadrilateral, without diagonals

Let’s start at vertex A.  Starting from vertex A, we are connected by sides of this quadrilateral to both B and D; vertices B & D are the ones that are adjacent to vertex A.  The only vertex not connected to A by a side of the quadrilateral is C.  C is A’s only non-adjacent vertex, and A is C’s.  Thus, one diagonal goes from A to C.  It’s not hard to see that the other goes from B to D.  Any quadrilateral has just two diagonals.

irr quadrilateral, with diagonals

Notice that triangles NEVER have diagonals: if we start from any vertex in a triangle, the other two vertices are adjacent.   There simply are no non-adjacent vertices in a triangle, so diagonals are not possible.  Among quadrilaterals, there are special rules for the diagonals of a parallelogram and the categories within parallelograms:

special quadrilaterals with diagonals

The diagonals of a parallelogram bisect each other: that is to say, the intersection point of the two diagonals is the midpoint of each one.

A rhombus is a parallelogram with four equal sides.  The diagonals of a rhombus bisect each other and are perpendicular.

A rectangle is a parallelogram with four 90° angles.  The rectangle of a rhombus bisect each other and have equal length.   This is related to an old trick among carpenters.  When a carpenter cuts two pairs of equal lengths to make the sides of a door or window frame, he knows he has a parallelogram because of the equal lengths, but how does he know whether he has a rectangle?  Without precise equipment, it’s very hard to measure the difference between, say, an 89° or 90° angle.  Well, all the carpenter has to do is measure the two diagonals: if these two easy-to-measure lengths are equal, then it’s guaranteed that he has four right angles!

A square is a parallelogram, a rectangle, and a rhombus.  It is a regular quadrilateral with four equal sides and four 90° angles.  The diagonals of a square bisect each other, have equal length, and are perpendicular.

Diagonals of a Regular Pentagon

A pentagon is any five-sided polygon, and the sum of its angles is 540°, as we saw above.  The only pentagon you are likely to meet on the GRE is the most symmetrical, the regular pentagon.  Since the angles are equal, we can divide the sum of the angles by five.

540°/5 = 108°

That’s the angle of each of the five angles in the pentagon.

Here’s a regular pentagon with the five diagonals drawn.

regular pentagon with diagonals

How many diagonals does a pentagon have? Any pentagon has exactly five diagonals.  These diagonals trace out the shape of a classic five-pointed star, such as that those on the Flag of the United States of America.  The lengths and divisions of this star are intimately related to that magical and mystical number, the Golden Ratio; Sacred Geometry is purported to give insight into the meaning of life, but you don’t need to know any of that for the GRE!

How would we find any angles in this shape?  Well, we know each big angle of the pentagon is 108°.  Look, for example, triangle ABC.  This triangle is an isosceles triangle, because AB = BC, and we know that angle ABC = 108°.  The other two angles must be equal: call them x.

108° + x + x = 180*

2x = 180° – 108° = 72°

x = 36°

This means that angle BAC = angle BCA = 36°, and so do many other symmetrically related angles around the shape.  We could subtract (angle BAC) from (angle BAE) to get (angle CAE)

angle CAE = (angle BAE) – (angle BAC) = 108° – 36° = 72°

From that, we could find many other angles inside the shape.   We could use analogous means to find angles involving the diagonals of any higher polygon.

Diagonals of a Regular Hexagon

A hexagon is any six-sided polygon, and the sum of its angles is 720°, as we saw above.  In a regular hexagon,

each angle = 720°/6 = 120°

How many diagonals does a hexagon have? Starting from one vertex, two other vertices are adjacent, so 3 vertices are non-adjacent, making possible three diagonals from one vertex.  From A, we can draw diagonals to C, D, and E.

regular hexagon with diagonals from a vertex

From each vertex, there are three diagonals.  Since there are six vertices, you might think there would be a total of 3*6 = 18 diagonals, but that counting method double-counts everything.  You see, the diagonal from A to C would get counted once as a diagonal from A and again as a diagonal from C to A.  Thus, the number of diagonals in a hexagon is 18/2 = 9.   These can be groups into two kinds.  The six shorter diagonals together make a six-sided star, the Magen David.  The three longer diagonals form just three symmetrically criss-crossing segments, what is called in mathematics a “degenerate six-pointed star.”

regular hexagon with stars

These two diagrams show the nine diagonals of a regular hexagon.  Of course, the six-pointed star simply consists of two overlapping equilateral triangles, pointing in opposite directions.  (That geometric fact led to extensive mystical speculation in about the Star of David in the Kabbalah,  but again, you don’t need to understand any mysticism for the GRE!)

Diagonals of a Regular Heptagon

A heptagon is any seven-sided polygon (n = 7).  Sometimes it is called a “septagon,” but “heptagon” is the preferred mathematical name.  The sum of its angles would be

(n – 2)*180° = 5*180° = 900°

This means that each of the seven angles in a regular heptagon would have a measure of

each angle = 900°/7 = 128.5714286…°

The angle measures are not integers!  This is why the GRE is exceptionally unlikely to ask you anything about the regular heptagon, and it’s also why you probably never talked much about regular heptagons in high school geometry.  It’s why most people aren’t even clear on the proper name for this beast!  Their non-integer angle measure makes them the first “black sheep” in the regular polygon family!  I won’t say anything else about them, because they almost never make an appearance on the GRE, but I will show you the two possible seven pointed stars from their diagonals: these stars are hauntingly beautiful, because of their idiosyncratic symmetry.

seven pointed stars

Diagonals of a Regular Octagon

An octagon is any eight-sided polygon, and the sum of its angles is 1080°, as we saw above.  In a regular octagon,

each angle = 1080°/8 = 135°

That angle is the supplement of a 45° angle.  The regular octagon is the typical stop sign shape in many parts of the world.

How many diagonals does an octagon have? How many vertices does an octagon have?

Starting from one vertex, two other vertices are adjacent, so five vertices are non-adjacent, making possible five diagonals from one vertex.  From A, B & H are the symmetrical vertices, so we can draw diagonals to C, D, E, F, and G.

regular octagon with diagonals from a vertex

Similar logic as with the hexagon: five at each vertex, eight vertices, but that counts each diagonal twice, so the total number is 5*8/2 = 20.  AC and AG are what we might call “3 vertex diagonals”: there are eight of these, which form a star.  AF and AD, each parallel to two sides, are what we might call “4 vertex diagonals”: eight of these form another star.  Finally, AE is like a diameter of the whole octagon, cutting across its center: there are four such lines, and they form a degenerate eight-pointed star.

regular octagon with stars

Just as the six-pointed star consisted of two overlapping equilateral triangles, the first eight-pointed star on the left consists of two separate overlapping squares: square ACEG and square BDFG.  (The names of these squares are reminiscent of the lines at W. 4th Street!)  Between these three stars (counting the degenerate thing on the right as a “star”) we have all 20 of the regular octagon’s diagonals.


Onward and upward!  The methods discussed in this blog can be extended to apply to a nonagon (n = 9), a decagon (n = 10), or any higher polygon.   Armed with this information, you should be able to answer anything the GRE asks you about a diagonal of a polygon!  If you had any “aha” moments while reading this blog, you might want to give the practice problems on the top another peek before reading the explanations below.

seven seventeen-pointed stars

Practice Problem Explanations

1) Let’s take a look at the pentagon with its five diagonals.

regular pentagon with diagonals

An example of the angle between two diagonals at a vertex would be angle EBD, where diagonals BD and BE meet at vertex B.

We will follow the logic outlined above.

Triangle BCD is isosceles with BC = CD, and angle BCD = 108°.  The other two angles are equal: call them each x.

108° + x + x = 180*

2x = 180° – 108° = 72°

x = 36°

So, angle CBD = 36°.  Well, triangle ABE is in every way equal to triangle BCD, so angle ABE must also equal 36°.  Thus, we can subtract from the big angle at vertex B.

(angle EBD) = (angle ABC) – (angle CBD) – (angle ABE)

(angle EBD) = 108° – 36° – 36° = 36°

Answer = (B)


2) If we start at one vertex of the 20-sided polygon, then there’s an adjacent vertex on each side.  Not counting these three vertices, there would be 17 non-adjacent vertices, so 17 possible diagonals could be drawn from any vertex.  Twenty vertices, 17 diagonals from each vertex, but this method double-counts the diagonals, as pointed out above.

# of diagonals = (17*20)/2 = 17*10 = 170

Answer = (C)


Editor’s Note: This post was originally published in January, 2014, and has been updated for freshness, accuracy, and comprehensiveness.


Most Popular Resources


  • Mike MᶜGarry

    Mike served as a GMAT Expert at Magoosh, helping create hundreds of lesson videos and practice questions to help guide GMAT students to success. He was also featured as "member of the month" for over two years at GMAT Club. Mike holds an A.B. in Physics (graduating magna cum laude) and an M.T.S. in Religions of the World, both from Harvard. Beyond standardized testing, Mike has over 20 years of both private and public high school teaching experience specializing in math and physics. In his free time, Mike likes smashing foosballs into orbit, and despite having no obvious cranial deficiency, he insists on rooting for the NY Mets. Learn more about the GMAT through Mike's Youtube video explanations and resources like What is a Good GMAT Score? and the GMAT Diagnostic Test.

More from Magoosh