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

InputsResult
Number of sides6Sum of interior angles: 720°Each interior angle: 120°Each exterior angle: 60°Diagonals: 9
Show 2 more examples
Number of sides5Sum of interior angles: 540°Each interior angle: 108°Each exterior angle: 72°Diagonals: 5
Number of sides8Sum 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 sidesSum of interior angles (°)
3180°
4360°
5540°
6starting value720°
7900°
81,080°
91,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
nNumber 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.