What This Calculator Does
This tool calculates the sum of the interior angles of any simple polygon based on its number of sides. A polygon's interior angles always add up to a fixed total that depends only on how many sides it has — not on its shape or size. Enter the number of sides and you instantly get the total, plus the measure of each angle if the polygon is regular (all sides and angles equal).
The Formula
The sum of interior angles is given by:
$$S = (n - 2) \times 180^\circ$$
Here n is the number of sides. The logic: any convex polygon can be split into \((n - 2)\) triangles, and each triangle's angles sum to \(180^\circ\). For a regular polygon, each interior angle equals \(S \div n\). The exterior angles of any convex polygon always sum to \(360^\circ\), so each exterior angle of a regular polygon is \(360^\circ \div n\).
How to Use It
Type the number of sides (must be 3 or more) and read the results. For example, a pentagon has 5 sides.
Worked Example
For a hexagon, \(n = 6\). Sum of interior angles = $$(6 - 2) \times 180 = 4 \times 180 = 720^\circ$$ If it is regular, each interior angle = \(720 \div 6 = 120^\circ\), and each exterior angle = \(360 \div 6 = 60^\circ\).
Interior Angle Reference Table for Common Polygons
The sum of the interior angles of any simple polygon with \(n\) sides is \(S = (n-2)\times 180^\circ\). For a regular polygon (all sides and angles equal), each interior angle is \(S/n\) and each exterior angle is \(360^\circ/n\). Interior and exterior angles at the same vertex add up to 180°. Values for n = 7 and n = 11 are rounded to three decimals.
| Sides (n) | Polygon | Sum of interior angles | Each interior angle (regular) | Each exterior angle (regular) |
|---|---|---|---|---|
| 3 | Triangle | 180° | 60° | 120° |
| 4 | Quadrilateral (square) | 360° | 90° | 90° |
| 5 | Pentagon | 540° | 108° | 72° |
| 6 | Hexagon | 720° | 120° | 60° |
| 7 | Heptagon | 900° | ≈128.571° | ≈51.429° |
| 8 | Octagon | 1080° | 135° | 45° |
| 9 | Nonagon | 1260° | 140° | 40° |
| 10 | Decagon | 1440° | 144° | 36° |
| 11 | Hendecagon | 1620° | ≈147.273° | ≈32.727° |
| 12 | Dodecagon | 1800° | 150° | 30° |
| 15 | Pentadecagon (15-gon) | 2340° | 156° | 24° |
| 20 | Icosagon (20-gon) | 3240° | 162° | 18° |
Example: for a hexagon, \(S = (6-2)\times 180^\circ = 4\times 180^\circ = 720^\circ\), and each regular interior angle is \(720^\circ / 6 = 120^\circ\).
Key Terms: Interior, Exterior, Regular and Convex Polygons
- Polygon: a closed flat shape made of straight line segments (sides) that meet end to end. It has at least 3 sides.
- Vertex: a corner point where two sides meet.
- Interior angle: the angle between two adjacent sides, measured inside the polygon at a vertex.
- Exterior angle: the angle between one side and the extension of the adjacent side, measured outside the polygon. At a vertex of a convex polygon, interior + exterior = 180°.
- Regular polygon: all sides are equal and all interior angles are equal (for example a square or a regular hexagon). Each interior angle is \(\frac{(n-2)\times 180^\circ}{n}\).
- Irregular polygon: sides and/or angles are not all equal. The angle sum is still \((n-2)\times 180^\circ\), but you cannot divide it evenly to find each angle.
- Convex polygon: every interior angle is less than 180°, and any line segment between two points of the polygon stays inside it.
- Concave polygon: at least one interior angle is greater than 180° (a reflex angle), so the polygon has a "dent" pointing inward.
- Simple polygon: a polygon whose sides do not cross each other and which has no holes.
The formula \(S = (n-2)\times 180^\circ\) holds for every simple polygon, convex or concave, because any such polygon can be split into \(n-2\) triangles, each contributing 180°. It does not apply to self-intersecting shapes such as a pentagram.
The exterior angles of a convex polygon, taking one exterior angle at each vertex, always add up to 360°, regardless of the number of sides. This is why each exterior angle of a regular polygon is \(360^\circ/n\). For a concave polygon, the exterior angle at a reflex vertex counts as negative if you want the total to stay 360°.
FAQ
Does this work for irregular polygons? Yes — the sum depends only on the number of sides. The "each angle" values, however, assume the polygon is regular.
What about a triangle? \(n = 3\) gives \((3 - 2) \times 180 = 180^\circ\), the familiar triangle angle sum.
Why do exterior angles always add to 360°? Walking once around any convex polygon turns you through a full circle, totalling \(360^\circ\) of turns regardless of the number of sides.