O-Level Guide

Polygon Calculator: Sum of Interior & Exterior Angles (Step-by-Step)

Calculate sum of interior angles, each interior/exterior angle, and number of diagonals for any polygon. Includes step-by-step working and formulas.

31 January 2026 6 min read
Polygon Calculator: Sum of Interior & Exterior Angles (Step-by-Step)

Polygon Calculator: Interior & Exterior Angles

Instantly calculate the sum of interior angles, each interior/exterior angle (for regular polygons), and the number of diagonals. Get step-by-step working for your Geometry homework.

Interactive Polygon Calculator

Enter the number of sides (nn) below to see the full breakdown of properties for that polygon.

Polygon Calculator

Min: 3 sides

Key Formulas for Polygons

For any polygon with nn sides, here are the essential formulas you need to know for Secondary 1 & 2 Math.

1. Sum of Interior Angles

The sum of all interior angles in any polygon (regular or irregular) is found by dividing the polygon into triangles.

Sum of Interior Angles=(n−2)×180∘\text{Sum of Interior Angles} = (n - 2) \times 180^\circ

Why? A polygon with nn sides can be divided into (n−2)(n-2) triangles from one vertex. Since each triangle has angles adding up to 180∘180^\circ, the total sum is (n−2)×180∘(n-2) \times 180^\circ.

2. Each Interior Angle (Regular Polygon)

For a regular polygon (where all sides and angles are equal), you can find the size of one interior angle by dividing the sum by nn.

Interior Angle=(n−2)×180∘n\text{Interior Angle} = \frac{(n - 2) \times 180^\circ}{n}

3. Each Exterior Angle (Regular Polygon)

The sum of exterior angles of any convex polygon is always 360∘360^\circ. For a regular polygon, each exterior angle is the same size.

Exterior Angle=360∘n\text{Exterior Angle} = \frac{360^\circ}{n}

💡 Shortcut Trick

It is often easier to find the Exterior Angle first (360∘÷n360^\circ \div n), and then find the Interior Angle using angles on a straight line: Interior Angle=180∘−Exterior Angle\text{Interior Angle} = 180^\circ - \text{Exterior Angle}

4. Number of Diagonals

A diagonal is a line segment connecting two non-adjacent vertices.

Number of Diagonals=n(n−3)2\text{Number of Diagonals} = \frac{n(n - 3)}{2}

Worked Examples

Example 1: Finding Angle Sum

Question: Find the sum of interior angles of a decagon (10 sides).

Solution: Using the formula with n=10n = 10: Sum=(10−2)×180∘\text{Sum} = (10 - 2) \times 180^\circ Sum=8×180∘\text{Sum} = 8 \times 180^\circ Sum=1440∘\text{Sum} = 1440^\circ

Example 2: Finding Number of Sides

Question: Each exterior angle of a regular polygon is 24∘24^\circ. How many sides does it have?

Solution: Using the exterior angle formula: Exterior Angle=360∘n\text{Exterior Angle} = \frac{360^\circ}{n} 24∘=360∘n24^\circ = \frac{360^\circ}{n} n=360∘24∘n = \frac{360^\circ}{24^\circ} n=15n = 15 The polygon has 15 sides.

⚠️ Common Mistake

Don’t mix up Interior and Exterior angle formulas! Remember:

  • Interior Sum depends on nn (gets bigger as sides increase).
  • Exterior Sum is ALWAYS 360∘360^\circ (constant).

Polygon Names Reference

Sides (nn)NameInterior SumEach Interior (Regular)
3Triangle180∘180^\circ60∘60^\circ
4Quadrilateral360∘360^\circ90∘90^\circ
5Pentagon540∘540^\circ108∘108^\circ
6Hexagon720∘720^\circ120∘120^\circ
7Heptagon900∘900^\circ≈128.57∘\approx 128.57^\circ
8Octagon1080∘1080^\circ135∘135^\circ
9Nonagon1260∘1260^\circ140∘140^\circ
10Decagon1440∘1440^\circ144∘144^\circ
12Dodecagon1800∘1800^\circ150∘150^\circ

Master Geometry with AI

Practice thousands of polygon and geometry questions with our AI-powered analytical tutor.

Start Practicing →

Topics covered:

polygon calculator sum of interior angles exterior angles n-2 times 180 geometry formulas Secondary 1 Math regular polygon number of diagonals

Want personalized AI tutoring?

Get step-by-step help with practice problems and instant feedback.

Sign up for free