Interior Angle Sum Calculator
Find the sum of interior angles of a polygon and the angle size for a regular one.
What it does
The interior angles of a polygon are the angles inside its boundary at each vertex. Their total depends only on the number of sides, not on the shape, as long as the polygon is simple and not self crossing.
This tool takes the number of sides and returns the angle sum, the number of triangles you can draw from one vertex, the size of each angle if the polygon is regular, and the exterior angle in the regular case.
The default is an octagon with eight sides. Drawing diagonals from one vertex creates six triangles, each worth 180 degrees, so the interior angles sum to 1,080 degrees. A regular octagon therefore has eight equal angles of 135 degrees.
The exterior angle result is the supplement of the interior angle for a regular polygon. The exterior angles of any convex polygon add to 360 degrees, so dividing by n gives the turn at each vertex.
The formula assumes a simple polygon. A star polygon or a self intersecting figure needs a different treatment, and the tool limits n to a whole number from 3 to 1000.
How to use
- Enter the number of sides as a whole number.
- Read the angle sum as the main result.
- Check the triangle count to see where the formula comes from.
- Use the regular angle row only when all sides and angles are equal.
- Use the exterior angle row for the turn at each vertex of a regular polygon.
- Try a triangle to confirm the familiar 180 degree total.
Formula
- n
- Number of sides, a whole number of at least 3.
- Sum
- Total of all interior angles in degrees.
- regular angle
- Sum divided by n, valid only when the polygon is regular.
Drawing all diagonals from one vertex of an n gon partitions it into n minus 2 non overlapping triangles. Since each triangle has an angle sum of 180 degrees, the polygon sum follows immediately. A regular polygon has equal angles, so each one is the total divided by n.
Worked example
Example: a regular octagon
The page opens with n = 8.
- Subtract 2 from 8 to get 6 triangles.
- Multiply 6 by 180 degrees to get 1,080 degrees for the angle sum.
- Divide 1,080 by 8 to get 135 degrees for each interior angle of a regular octagon.
- Divide 360 by 8 to get 45 degrees for each exterior angle.
- Check: 135 plus 45 is 180 degrees, so interior and exterior are supplementary.
- The tool reports sum 1,080 °, each 135.00 °, triangles 6 and exterior 45.00 °.
Reference table
| Polygon | Sides | Angle sum | Regular angle |
|---|---|---|---|
| Triangle | 3 | 180 ° | 60.00 ° |
| Hexagon | 6 | 720 ° | 120.00 ° |
| Octagon | 8 | 1,080 ° | 135.00 ° |
| Decagon | 10 | 1,440 ° | 144.00 ° |
Limits
- Accepts whole numbers of sides from 3 to 1000.
- The regular angle assumes all angles are equal.
- Applies to simple polygons, not self intersecting star shapes.
- Angles are reported in degrees.
Common mistakes
- Using n minus 1 instead of n minus 2 triangles.
- Dividing by n before subtracting 2 from the angle sum.
- Applying the regular angle formula to an irregular polygon.
- Confusing interior and exterior angle formulas.
- Forgetting that the exterior angles of a convex polygon sum to 360 degrees.
Try it yourself
Quick checks. Answers sit tucked under each question.
Hexagon interior angle sum?
720 degrees, from 4 triangles times 180.
Each interior angle of a regular decagon?
144.00 degrees, since 1,440 divided by 10 is 144.
Exterior angle of a regular octagon?
45.00 degrees, from 360 divided by 8.
Questions
Why does the formula use n minus 2?
Because drawing diagonals from one vertex splits the polygon into n minus 2 triangles.
Does the shape matter?
No, only the number of sides, as long as the polygon is simple.
When can I divide by n?
Only for a regular polygon where all interior angles are equal.
What is the exterior angle?
The turn at a vertex, equal to 360 divided by n for a regular polygon.
Do exterior angles always sum to 360?
Yes for any convex polygon.
Does this work for a concave polygon?
The sum formula still holds for a simple concave polygon, but exterior angle reasoning needs care.
Sources
- OpenStax Contemporary Mathematics, section 10.4: polygons, perimeter and circumference
- University of Illinois Geometry, polygon sum conjecture
- University of Texas at San Antonio, properties of polygons