Polygon Angle Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the number of sides, or the interior angle of a regular polygon to find how many sides it has.
Result
Sum of the interior angles°
Number of sides
- Each interior angle of a regular polygon (degrees)
- Each exterior angle of a regular polygon (degrees)
- Regular polygon check
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- What you know: choose Number of sides n or Interior angle of a regular polygon.
- Number of sides n (3 or more; first choice): enter 3 or more.
- Interior angle (second choice), in °: enter a number from 0 to 180.
- Read the result: Sum of the interior angles; the panel also shows Number of sides, Each interior angle of a regular polygon (degrees), Each exterior angle of a regular polygon (degrees) and Regular polygon check.
How this calculator works
Any polygon with n sides splits into n − 2 triangles from one vertex, so its interior angles add up to (n − 2) × 180°.
In a regular polygon all angles are equal: each interior angle is (n − 2) × 180° ÷ n and each exterior angle is 360° ÷ n, since the exterior angles of any convex polygon add up to 360°. From an interior angle α, n = 360 ÷ (180 − α).
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| What you know (1: Number of sides n; 2: Interior angle of a regular polygon) | ||
| Number of sides n (3 or more; first choice) | ||
| Interior angle (second choice) | ° | |
| Number of sides | ||
| Sum of the interior angles | ° |
Worked example
| What you know | Number of sides n |
|---|---|
| Number of sides n (3 or more; first choice) | 7 |
| Number of sides | 7 |
|---|---|
| Each interior angle of a regular polygon (degrees) | 128.5714 |
| Each exterior angle of a regular polygon (degrees) | 51.4286 |
| Regular polygon check | A regular polygon has this many sides |
Sum of the interior angles 900 °
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the sum of the interior angles of a heptagon?
(7 − 2) × 180° = 900°. In a regular heptagon each angle is about 128.5714°.
A regular polygon has interior angles of 135°. How many sides does it have?
360 ÷ (180 − 135) = 8: it is an octagon, and its angles add up to 1,080°.