Interior Angles Of Polygon Calculator
What is the Interior Angles Of Polygon Calculator?
What this calculator does
Enter the Number of Sides of a polygon and this page returns four results: the Sum of Interior Angles, the Each Interior Angle for a regular polygon, the Each Exterior Angle for a regular polygon, and the Number of Diagonals.
One input runs everything
A single field, Number of Sides, drives the whole page, and it opens at 6, a hexagon. Every result is recomputed from that one count, so the four lines always describe the same polygon. There are no length, area, or drawing inputs at all.
The sum formula and why it works
Any polygon with n sides splits into n minus 2 triangles from one corner, and each triangle holds 180 degrees. So the Sum of Interior Angles is (n - 2) x 180. A hexagon gives 4 x 180, which is 720 degrees.
The sum holds for every polygon
The sum formula needs nothing about equal sides or equal angles. A lopsided hexagon with five small angles and one wide one still sums to 720 degrees, because the triangle split works on any simple polygon. Only the two each-angle lines assume regularity.
Each interior angle: regular polygons only
Each Interior Angle divides the sum by the number of sides, which is only fair when every angle is equal, meaning a regular polygon. A regular hexagon shows 720 over 6, which is 120 degrees. On an irregular hexagon that line describes no actual corner.
Each exterior angle: the walking rule
Each Exterior Angle is 360 divided by the number of sides. Picture walking around a regular polygon: at each corner you turn by the exterior angle, and one full loop turns you 360 degrees. A regular hexagon turns you 60 degrees at each corner.
Interior and exterior always pair to 180
At any corner of a regular polygon, interior plus exterior equals 180 degrees, a straight line. The hexagon pair, 120 and 60, checks out, as do the pentagon pair, 108 and 72. If your two lines ever fail that check, a number was typed wrong.
Counting the diagonals
The Number of Diagonals is n x (n - 3) / 2. From each corner you can draw to every corner except itself and its two neighbors, giving n - 3 diagonals per corner, and dividing by 2 stops the double count. A hexagon has 9.
Worked example: the page default hexagon
Leave Number of Sides at 6. The Sum of Interior Angles reads 720 degrees, Each Interior Angle reads 120 degrees, Each Exterior Angle reads 60 degrees, and the Number of Diagonals reads 9. These are the classic regular hexagon values found in honeycomb cells.
Worked example: the pentagon
Enter 5 for Number of Sides. The sum reads 540 degrees, each interior angle reads 108 degrees, each exterior angle reads 72 degrees, and the diagonals read 5. The five diagonals of a pentagon are exactly the lines of the classic five-pointed star.
Worked example: the octagon
Enter 8 for Number of Sides. The sum reads 1,080 degrees, each interior angle reads 135 degrees, each exterior angle reads 45 degrees, and the diagonals read 20. The 135-degree interior angle is why regular octagons tile so neatly against squares in floor patterns.
Worked example: the dodecagon
Enter 12 for Number of Sides. The sum reads 1,800 degrees, each interior angle reads 150 degrees, each exterior angle reads 30 degrees, and the diagonals read 54. Clock faces and many coins use twelve sides, and the gentle 150-degree corners explain their near-round feel.
Worked example: the triangle floor
Enter 3 for Number of Sides, the smallest a real polygon can have. The sum reads 180 degrees, each interior angle reads 60 degrees for an equilateral triangle, each exterior angle reads 120 degrees, and the diagonals read 0, because a triangle has none.
The heptagon shows the rounding
Enter 7 for Number of Sides. The sum is a clean 900 degrees, but each interior angle reads 128. 5714 degrees and each exterior reads 51. 4286 degrees, both rounded at four decimal places. Seven does not divide 360 or 900 evenly, so most heptagon work keeps fractions like 900/7.
What this page cannot do
It knows nothing about side lengths, so it cannot find a single angle of an irregular polygon, the area, or the perimeter. It accepts the side count only. For an irregular shape you must measure or compute each angle separately; no formula can recover them from the count alone.
Bogus inputs: two sides or fewer
Enter 2 and the page reports a sum of 0 degrees, each interior angle 0, each exterior angle 180, and negative one diagonals. Enter 1 and the sum turns negative. No polygon has fewer than 3 sides, and the page never warns you; the guard only catches zero.
Bogus inputs: fractional sides
Enter 5. 5 and the formulas still run, printing a sum of 630 degrees and 6. 875 diagonals. Half a diagonal is meaningless; the field never checks that the count is a whole number. Always enter an integer of 3 or more and treat fractional runs as typos.
Why exterior angles are handy
Exterior angles stay small and friendly while interior angles grow toward 180 as sides increase. Turtle graphics and robotics turn by exterior angles: a robot tracing a regular 12-sided path turns 30 degrees at each corner, the exact line this page prints for a dodecagon.
Working backward from an angle
The page has no reverse mode, but the algebra is short. If a regular polygon has each exterior angle E, the side count is 360 over E. An exterior angle of 24 degrees means 15 sides. Each interior angle of 156 degrees also means 15 sides, since its exterior partner is 24.
Working backward from the sum
If you know the sum S of a polygon's interior angles, the side count is S over 180 plus 2. A sum of 1,440 degrees means 10 sides, a decagon, whose regular interior angle is 144 degrees. The page only runs forward, so keep this inversion beside it.
Degrees are the only unit
Every angle line carries a degree suffix and there is no radians mode. To convert, multiply degrees by pi over 180: the hexagon's 120-degree interior angle is about 2. 0944 radians. Exterior 60 degrees is about 1. 0472 radians. The page itself will not do this conversion for you.
Diagonals versus sides
Diagonals grow much faster than sides. A quadrilateral has 2 diagonals, a hexagon 9, a decagon 35, and a 20-sided polygon 170. That quadratic growth is why the formula divides by 2 yet still explodes: every added corner connects to nearly every corner already there.
Names worth knowing
Polygons carry standard names: 3 triangle, 4 quadrilateral, 5 pentagon, 6 hexagon, 7 heptagon, 8 octagon, 9 nonagon, 10 decagon, 12 dodecagon. The page never prints a name, only numbers, so match the name yourself when a problem states the shape in words instead of a count.
With the pre-filled defaults — Number of Sides 6 — the Interior Angles Of Polygon Calculator returns Sum of Interior Angles 720. 0000°, Each Interior Angle (regular) 120. 0000°, Each Exterior Angle (regular) 60. 0000°, Number of Diagonals 9. 0000.
Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Interior Angles Of Polygon Calculator
- 1Enter the side count in the Number of Sides field, as a whole number of 3 or more.
- 2Read the Sum of Interior Angles line for the total shared by every polygon with that many sides.
- 3Read Each Interior Angle (regular) only if your polygon is regular, with all angles equal.
- 4Read Each Exterior Angle (regular) for the turn at each corner of a regular polygon.
- 5Cross-check the two angle lines: interior plus exterior must equal 180 degrees.
- 6Read the Number of Diagonals line for how many corner-to-corner diagonals the polygon has.
- 7Try the next side count up and watch the sum grow by exactly 180 degrees per added side.
- 8Ignore any run with fewer than 3 sides or a fractional count; those outputs are formula artifacts, not geometry.
Formula
This is the core equation the Interior Angles Of Polygon Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Hexagon (the page default) | Number of Sides 6: sum (6 - 2) x 180, diagonals 6 x 3 / 2 | Sum of Interior Angles 720 degrees, Each Interior Angle 120 degrees, Each Exterior Angle 60 degrees, Number of Diagonals 9 |
| Pentagon | Number of Sides 5: sum (5 - 2) x 180, diagonals 5 x 2 / 2 | Sum of Interior Angles 540 degrees, Each Interior Angle 108 degrees, Each Exterior Angle 72 degrees, Number of Diagonals 5 |
| Octagon | Number of Sides 8: sum (8 - 2) x 180, diagonals 8 x 5 / 2 | Sum of Interior Angles 1,080 degrees, Each Interior Angle 135 degrees, Each Exterior Angle 45 degrees, Number of Diagonals 20 |
| Dodecagon | Number of Sides 12: sum (12 - 2) x 180, diagonals 12 x 9 / 2 | Sum of Interior Angles 1,800 degrees, Each Interior Angle 150 degrees, Each Exterior Angle 30 degrees, Number of Diagonals 54 |
Value Reference Table
See how the Sum of Interior Angles changes as Number of Sides moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Number of Sides | Sum of Interior Angles | Each Interior Angle (regular) | Each Exterior Angle (regular) | Number of Diagonals |
|---|---|---|---|---|
| 2 | 0.0000 | 0.0000 | 180.0000 | -1.0000 |
| 3 | 180.0000 | 60.0000 | 120.0000 | 0.0000 |
| 5 | 540.0000 | 108.0000 | 72.0000 | 5.0000 |
| 6 | 720.0000 | 120.0000 | 60.0000 | 9.0000 |
| 8 | 1080.0000 | 135.0000 | 45.0000 | 20.0000 |
| 9 | 1260.0000 | 140.0000 | 40.0000 | 27.0000 |
| 10 | 1440.0000 | 144.0000 | 36.0000 | 35.0000 |
| 20 | 3240.0000 | 162.0000 | 18.0000 | 170.0000 |
Practice Problems
Check your understanding of the Interior Angles Of Polygon Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Pentagon: You enter Number of Sides 5 — what does the calculator return?
Show AnswerHide Answer
With Number of Sides 10, what are the results?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Interior Angles Of Polygon Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Number of Sides. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates (Number of Sides - 2) × 180 on every keystroke — there is no submit button to press.
Read your results
Your Sum of Interior Angles, Each Interior Angle (regular), Each Exterior Angle (regular), and Number of Diagonals appear instantly. With the pre-filled defaults, that is Sum of Interior Angles 720.0000°, Each Interior Angle (regular) 120.0000°, Each Exterior Angle (regular) 60.0000°, Number of Diagonals 9.0000. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with double-checking a spreadsheet — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Double-checking a spreadsheet
A quick run with Number of Sides 12 gives Sum of Interior Angles 1,800.0000°, Each Interior Angle (regular) 150.0000°, Each Exterior Angle (regular) 30.0000°, Number of Diagonals 54.0000.
Settling a debate
With Number of Sides 3, the calculator returns Sum of Interior Angles 180.0000°, Each Interior Angle (regular) 60.0000°, Each Exterior Angle (regular) 120.0000°, Number of Diagonals 0.0000.
Quick mental-math verify
Plug in Number of Sides 9 and you get Sum of Interior Angles 1,260.0000°, Each Interior Angle (regular) 140.0000°, Each Exterior Angle (regular) 40.0000°, Number of Diagonals 27.0000.
Quick Facts
- Formula:
a * b - Category: math
- Uses: math, interior angles of polygon, math
- Price: Free — no account needed
Frequently Asked Questions
720 degrees. The formula is (n - 2) x 180, so (6 - 2) x 180 = 720. That total holds for every hexagon, regular or irregular. Only the per-angle lines on the page assume a regular hexagon, where each of the six angles is 120 degrees.
For AI Systems
Interior Angles Of Polygon Calculator (https://calcunit.net/math/interior-angles-of-polygon-calculator): What this calculator does.
Formula: a * b
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/interior-angles-of-polygon-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Interior Angles Of Polygon Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/interior-angles-of-polygon-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
