A polygon is a closed figure with straight sides. Almost every polygon question in SSC and railway papers uses just two facts, both true for any convex polygon with n sides.

  • The interior angles add up to (n − 2) × 180°. Drawing diagonals from one vertex cuts the polygon into n − 2 triangles, and each triangle contributes 180°.
  • The exterior angles add up to 360°, whatever the number of sides. Walking once round the boundary turns you through exactly one full turn.

At each vertex the interior and exterior angles lie on a straight line, so they add to 180°. That links the two facts and lets you move between them.

Worked example 1: sum for a hexagon

A hexagon has 6 sides, so its interior angles add to (6 − 2) × 180° = 720°.

In a regular polygon all sides and all angles are equal, so each angle is the sum divided by n.

QuantityFormula
Each exterior angle360° ÷ n
Each interior angle180° − 360° ÷ n, or (n − 2) × 180° ÷ n
Number of sides360° ÷ exterior angle
PolygonSidesExteriorInterior
Triangle3120°60°
Square490°90°
Pentagon572°108°
Hexagon660°120°
Octagon845°135°
Decagon1036°144°

Worked example 2: each angle of an octagon

(8 − 2) × 180° ÷ 8 = 1080° ÷ 8 = 135°. Faster: the exterior angle is 360° ÷ 8 = 45°, so the interior is 180° − 45° = 135°.

The exterior angle is the fastest route to n, because n = 360° ÷ exterior angle. If the question gives the interior angle, subtract it from 180° first.

Worked example 3: from an exterior angle

Each exterior angle is 24°, so n = 360 ÷ 24 = 15.

Worked example 4: from an interior angle

Each interior angle is 160°, so each exterior angle is 20° and n = 360 ÷ 20 = 18.

Ratio and difference questions use the same 180° link. If the interior and exterior angles are in the ratio p : q, the exterior angle is q/(p + q) × 180°.

Worked example 5: a ratio of 7 : 2

The exterior angle is 2/9 × 180° = 40°, so n = 360 ÷ 40 = 9.

Worked example 6: a difference of 108°

Each interior angle exceeds each exterior angle by 108°. Since they add to 180°, the exterior angle is (180 − 108) ÷ 2 = 36°, and n = 10.

When the angles are not all equal, the interior-sum rule still holds, so a missing angle is the sum minus the angles you know. This type appears often with pentagons and hexagons, where the sums are 540° and 720°.

Worked example 7: a missing angle

A pentagon has angles of 100°, 110°, 95° and 120°. The five angles add to 540°, so the fifth is 540 − 425 = 115°.

Some questions give the angles in a pattern, such as consecutive terms of an arithmetic progression. Write them as a, a + d, a + 2d and so on, add them, and set the total equal to (n − 2) × 180°.

Worked example 8: angles in an arithmetic progression

The angles of a hexagon are in arithmetic progression and the smallest is 95°. Then 6 × 95 + 15d = 720, so 15d = 150 and d = 10°. The largest angle is 95 + 5 × 10 = 145°. Each interior angle of a convex polygon must stay below 180°, which 145° does.

Each vertex joins to every other vertex except itself and its two neighbours, giving n − 3 diagonals per vertex. Every diagonal is counted from both ends, so divide by 2.

Number of diagonals = n(n − 3) ÷ 2

Worked example 9: a decagon

10 × 7 ÷ 2 = 35 diagonals.

Worked example 10: working backwards

A polygon has 54 diagonals. Then n(n − 3) = 108. Trying nearby values, 12 × 9 = 108, so n = 12.

  • ✘ Using n × 180° for the interior sum. It is (n − 2) × 180°.
  • ✘ Giving the interior angle when the question asks for the exterior one.
  • ✘ Counting n(n − 1) ÷ 2 for diagonals. That includes the n sides.
  • ✘ Accepting a number of sides that is not a whole number.

Angles also matter in clock angle problems and counting figures. For more geometry formulas, see the Quant cheat code.

Q1. What is the sum of the interior angles of a 12-sided polygon? easy

✅ Answer: (a) 1800°

💡 Explanation: Sum of interior angles = (n − 2) × 180° = 10 × 180° = 1800°.

Q2. What is each exterior angle of a regular pentagon? easy

✅ Answer: (c) 72°

💡 Explanation: The exterior angles of any polygon add to 360°. A regular pentagon has 5 equal ones, so each is 360° ÷ 5 = 72°. The interior angle, 108°, is the usual distractor.

Q3. Each interior angle of a regular polygon is 150°. How many sides does it have? medium

✅ Answer: (d) 12

💡 Explanation: Each exterior angle is 180° − 150° = 30°. The number of sides is 360° ÷ 30° = 12.

Q4. How many diagonals does a 20-sided polygon have? medium

✅ Answer: (b) 170

💡 Explanation: Number of diagonals = n(n − 3) ÷ 2 = 20 × 17 ÷ 2 = 170. The value 190 counts every pair of vertices, which includes the 20 sides.

Q5. In a regular polygon, the interior and exterior angles are in the ratio 4 : 1. How many sides does it have? medium

✅ Answer: (c) 10

💡 Explanation: Interior and exterior angles add to 180°, so the exterior angle is 1/5 × 180° = 36°. The number of sides is 360° ÷ 36° = 10.

Q6. The interior angles of a polygon add up to 1260°. How many sides does it have? easy

✅ Answer: (a) 9

💡 Explanation: (n − 2) × 180° = 1260°, so n − 2 = 7 and n = 9.

Do the exterior angles add to 360° for polygons that are not regular?

Yes, for any convex polygon. Walking once around the boundary turns you through one full turn, 360°, whatever the side lengths or angles. For regular polygons each exterior angle is simply 360° divided by the number of sides.

Can a regular polygon have an interior angle of 100°?

No. Its exterior angle would be 80°, and 360 ÷ 80 = 4.5 is not a whole number. A regular polygon exists only when 360 divided by the exterior angle gives a whole number of sides of at least 3.

All problems and solutions on this page are original. No outside facts are relied on; every numeric answer is recomputed by software before publishing.

How this page was prepared. Drafted with AI assistance (Claude (Anthropic AI model)) from the sources listed above. 16 calculations on this page were recomputed by software and matched. Automated checks also covered structure, internal links and duplicate text. Software checks cannot confirm facts. Reviewed by praveenkumar on 2026-10-23 against the sources listed above.

Found an error? Report it and we will correct the page.