Interior Angle Sum Calculator

Find the sum of interior angles of a polygon and the angle size for a regular one.

Math and PercentUpdated 2026-11-192 min read
Interior Angle Sum Calculator
A whole number from 3 to 1000.
Sum of interior angles
...
Each angle if regular...
Triangles from one vertex...
Each exterior angle if regular...
Sides used...

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

  1. Enter the number of sides as a whole number.
  2. Read the angle sum as the main result.
  3. Check the triangle count to see where the formula comes from.
  4. Use the regular angle row only when all sides and angles are equal.
  5. Use the exterior angle row for the turn at each vertex of a regular polygon.
  6. Try a triangle to confirm the familiar 180 degree total.

Formula

Sum = (n - 2) times 180 degrees; regular interior angle = sum / n; regular exterior angle = 360 degrees / n
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.

  1. Subtract 2 from 8 to get 6 triangles.
  2. Multiply 6 by 180 degrees to get 1,080 degrees for the angle sum.
  3. Divide 1,080 by 8 to get 135 degrees for each interior angle of a regular octagon.
  4. Divide 360 by 8 to get 45 degrees for each exterior angle.
  5. Check: 135 plus 45 is 180 degrees, so interior and exterior are supplementary.
  6. The tool reports sum 1,080 °, each 135.00 °, triangles 6 and exterior 45.00 °.

Reference table

Interior angle sums for common polygons
PolygonSidesAngle sumRegular angle
Triangle3180 °60.00 °
Hexagon6720 °120.00 °
Octagon81,080 °135.00 °
Decagon101,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

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.