Polygon Angle Calculator: Interior and Exterior Angles
Enter the number of sides to get the sum of the interior angles, each angle of a regular polygon and the exterior angle. Or enter one angle of a regular polygon and find how many sides it has. Everything is calculated in your browser. Nothing you type is saved or sent anywhere.
JavaScript is needed to calculate. The method, formulae and worked example below stay readable without it.
Polygon angles
Find the angles from the number of sides, or work out the number of sides of a regular polygon from one angle.
Your answer and working
Enter your values and choose Calculate to see every step.
How to use this calculator
- Choose what you know: the number of sides, an exterior angle or an interior angle.
- Type the value and press Calculate.
- From a number of sides, the working splits the polygon into triangles. From an angle, it divides 360° by the exterior angle.
- If no regular polygon has the angle you entered, the calculator says so instead of guessing.
Formulae used
| Sum of interior angles | (n − 2) × 180° |
|---|---|
| One interior angle (regular) | (n − 2) × 180° ÷ n |
| Sum of exterior angles | 360° |
| One exterior angle (regular) | 360° ÷ n |
| Diagonals | n(n − 3) ÷ 2 |
A polygon with n sides can be split into n − 2 triangles from one corner, and each triangle's angles add to 180°. Interior and exterior angles at a vertex lie on a straight line, so they add to 180°.
Worked example
A regular polygon has exterior angles of 24°. How many sides does it have, and what is each interior angle?
- Number of sides = 360° ÷ 24° = 15.
- Each interior angle = 180° − 24° = 156°.
- Check with the sum: (15 − 2) × 180° = 2340°, and 2340° ÷ 15 = 156°.
Answer: 15 sides, each interior angle 156°.
Mistakes that cost marks
- Using n × 180° instead of (n − 2) × 180° for the interior angle sum.
- Applying 360 ÷ n to an irregular polygon. It gives one angle only when all exterior angles are equal.
- Mixing up interior and exterior angles.
- Forgetting that an interior angle of 150° means an exterior angle of 30°, so n = 12.
Common questions
What is the exterior angle formula?
For a regular polygon with n sides, each exterior angle is 360° ÷ n.
What is the sum of the interior angles of a hexagon?
(6 − 2) × 180° = 720°, so each angle of a regular hexagon is 120°.
Can a regular polygon have an interior angle of 100°?
No. The exterior angle would be 80°, and 360 ÷ 80 = 4.5, which is not a whole number of sides.
Does it work for irregular polygons?
The angle sum does. The 'each angle' results apply to regular polygons only.
Do I need an account, and is my data saved?
No account is needed. The calculation happens in your browser, and what you type is not saved or sent to a server or an analytics service.
Limits and accuracy
Convex polygons with 3 to 1000 sides. The 'each angle' values assume all sides and angles are equal.
Official sources
Formula facts were read from these sources on the dates shown. Calculation is done by the same code that the worked examples above were checked against. This tool has had no separate tutor review.
Learn the method behind it
Want someone to check your working?
A calculator gives you an answer; a tutor shows you why it works. If a topic keeps going wrong, you can work through it with a tutor in a free 30-minute demo. No payment details are needed.
Request a free 30-minute demo