What is a regular polygon?
A regular polygon is a flat shape with all sides the same length and all angles the same size, like an equilateral triangle, a square, a regular pentagon or a regular hexagon. The word regular means the shape is perfectly even, with no side longer than another and no angle wider than another. Regular polygons appear in tiling, in architecture, in nature, from honeycomb to snowflakes, and in school geometry, where they are the standard examples for angle work.
This calculator finds the three angle numbers for any regular polygon from the number of sides: the interior angle at each corner, the exterior angle, and the sum of all the interior angles. For the area of the simplest polygon, a triangle area calculator covers the triangle, while this page covers the angles of any polygon.
Everything on this page runs in your browser, so the numbers you type never leave your device. There is no sign-up, no upload and no waiting for a server. Change any input and the results update straight away, which makes it easy to test a few values side by side before you decide anything. You can also use it offline once the page has loaded, because the calculation needs no connection at all.
How polygon angles are calculated
The sum of the interior angles is the number of sides minus two, multiplied by 180 degrees. That works because any polygon can be divided into triangles by drawing diagonals from one vertex, and a polygon with n sides divides into n minus 2 triangles, each contributing 180 degrees. The interior angle of a regular polygon is that sum divided by n, because all the angles are equal. The exterior angle is 360 degrees divided by n, because the exterior angles of any polygon always add up to 360 degrees.
The only input is the number of sides, which must be a whole number of 3 or more. A polygon with 3 sides is a triangle, with 4 sides a quadrilateral, with 5 a pentagon, with 6 a hexagon, and so on. The calculator accepts up to 100 sides, at which point the polygon is visually almost a circle, although its angles are still well defined.
The interior angle is the headline number, in degrees, and it is the angle inside the shape at each corner. The exterior angle is the angle you turn through when you walk around the polygon, and it is 180 degrees minus the interior angle. The sum is the total of all the interior angles, which grows with the number of sides.
Read the results together, not in isolation. The main result answers the headline question, but the supporting rows explain how it was reached, and they are the first place to look when a number surprises you. If the main result moves more than you expected when you change an input, check the supporting rows: they usually show which part of the calculation moved, and whether the change came from the input you intended or from a different one.
The number of sides, explained
The number of sides is the only input, and it decides all three answers. As the number of sides grows, the interior angle grows towards 180 degrees, because the polygon becomes flatter at each corner, approaching a circle. The exterior angle shrinks towards zero, because you turn less at each corner when there are more corners. The sum grows by 180 degrees for each extra side, because each extra side adds one more triangle to the division.
The familiar cases are worth memorising. A triangle has interior angles of 60 degrees, a square has 90 degrees, a regular pentagon has 108 degrees, and a regular hexagon has 120 degrees. The hexagon is special because its interior angle of 120 degrees divides 360 degrees exactly, which is why hexagons tile a flat surface with no gaps, and why bees build hexagonal honeycomb.
Adding one side changes the interior angle by less than you might expect when n is large. Going from 6 sides to 7 sides raises the interior angle from 120 degrees to about 128.57 degrees, a change of 8.57 degrees. Going from 99 sides to 100 sides changes it by less than 0.02 degrees. The angle approaches 180 degrees but never reaches it, because a polygon with an interior angle of 180 degrees would be a straight line, not a corner.
A worked example: a regular hexagon
Take a regular hexagon, which has 6 sides. It is the shape of a honeycomb cell, a nut, and many floor tiles, and its angles are among the most useful in geometry.
The sum of the interior angles is 6 minus 2, which is 4, times 180 degrees, giving 720 degrees. Divide by 6 sides, and each interior angle is 120.00 degrees. The exterior angle is 360 divided by 6, which is 60.00 degrees.
An interior angle of 120.00 degrees means each corner of the hexagon is wider than a right angle but narrower than a straight line. The exterior angle of 60.00 degrees is the turn you make at each corner when walking around the shape. The sum of 720 degrees is the total of all six interior angles, and it is four times 180 degrees because a hexagon divides into four triangles.
Who uses polygon angles
School students meet polygon angles in geometry class, usually in Class 8 to 10, where they are a standard topic. The formulas are short, the numbers are clean for small polygons, and the topic teaches the important idea that a polygon can be divided into triangles, which is a technique used throughout geometry.
Architects and designers use polygon angles for tiling, for floor patterns and for building shapes. A regular pentagon cannot tile a flat surface on its own, because its interior angle of 108 degrees does not divide 360 degrees, while squares, triangles and hexagons can. Knowing the angles in advance saves a failed design.
Engineers use polygon angles for gears, nuts and bolts, where the number of sides decides the angle of each face. A hexagonal nut has six faces at 120 degrees, which is why a spanner can grip it from six positions. A Pythagorean theorem calculator is the tool for the right-angled triangles that appear when a polygon is divided into triangles.
Treat the answers as a working figure, not as a final decision. The calculator applies the formula exactly as stated, but it cannot know the details of your situation: the exact rate, the precise measurements, or the rule that applies in your case. Use the result to narrow the question, then confirm the final number with the source that governs it, whether that is a textbook, a professional, or an official table. For a related calculation, the fraction calculator covers the next number most people need after this one.
Interior angle vs exterior angle
The interior angle is the angle inside the polygon at a corner, and the exterior angle is the angle outside, formed by extending one side. The two add up to 180 degrees at every corner, because they sit on a straight line. For a regular polygon, the interior angle is (n minus 2) times 180 divided by n, and the exterior angle is 360 divided by n.
The exterior angle is often the easier one to work with, because the exterior angles of any polygon, regular or not, always add up to 360 degrees. That is a useful check: if your exterior angles do not add to 360, the polygon is not closed, or the angles are wrong. The interior angles, by contrast, add to a sum that depends on the number of sides.
Use whichever tool matches the question in front of you. When you need both answers, run the two tools with the same inputs and compare the results line by line; the difference between them is usually the decision itself. If the two tools disagree, check the inputs first, because a different input explains most disagreements.
Common mistakes with polygon angles
The first is using n times 180 degrees for the sum, instead of n minus 2 times 180 degrees, which overstates the sum by 360 degrees. The second is confusing the interior and exterior angles, which are supplementary, not equal, except for a square where both are 90 degrees.
The third is applying the regular polygon formulas to an irregular polygon, where the angles are not all equal and only the sum formula still holds. The fourth is entering 2 or fewer sides, which cannot form a polygon at all.
Check your answer in two ways: the interior angle plus the exterior angle must be 180 degrees, and the interior angle times the number of sides must equal the sum. The calculator shows all three numbers, so both checks take a second.
How to use this polygon angle calculator
To use it, enter number of sides (n), then read the results box at the top. The main result is highlighted, and the other rows give the supporting figures. If an answer looks wrong, check the inputs first: a misplaced decimal or a wrong unit is the usual cause, not the formula.
Enter the number of sides, which must be a whole number of 3 or more, and read the interior angle, the exterior angle and the sum. For the familiar shapes, check the answer against what you know: a square should give 90 degrees, and a regular hexagon should give 120 degrees.
Your figures stay on your own device because the whole calculation happens in the browser. Nothing is uploaded, nothing is stored, and there is no account to create. That makes it safe to try realistic numbers, including the ones you would not want to paste into a random website. It also means the tool works the same way on a phone, a tablet or a computer, with nothing to install.