Overview
Every polygon follows simple angle rules that depend only on the number of sides.
Enter the number of sides to get the angles and diagonals.
Worked examples
| Inputs | Result |
|---|---|
| Number of sides6 | Sum of interior angles: 720°Each interior angle: 120°Each exterior angle: 60°Diagonals: 9 |
Show 2 more examples
| Number of sides5 | Sum of interior angles: 540°Each interior angle: 108°Each exterior angle: 72°Diagonals: 5 |
| Number of sides8 | Sum of interior angles: 1,080°Each interior angle: 135°Each exterior angle: 45°Diagonals: 20 |
Sum of interior angles by number of sides
With the calculator's starting values, the sum of interior angles is 720°. The table shows how it changes with the number of sides.
| Number of sides | Sum of interior angles (°) |
|---|---|
| 3 | 180° |
| 4 | 360° |
| 5 | 540° |
| 6starting value | 720° |
| 7 | 900° |
| 8 | 1,080° |
| 9 | 1,260° |
How it works
A polygon splits into n − 2 triangles, so its interior angles add up to (n − 2) × 180°. Exterior angles always total 360°.
The formula
Sum = (n − 2) × 180° · Each = sum ÷ n · Diagonals = n(n − 3) ÷ 2
| n | Number of sides |
Practical tips
- A hexagon’s angles add up to 720°, each 120°, with 9 diagonals.
- Exterior angles of any convex polygon total 360°.
- The per-angle figures assume a regular polygon.
Frequently asked questions
What is the angle of an octagon?
135° for a regular octagon.
How many diagonals does a pentagon have?
5.