Sum of Interior Angles Calculator

Find the total sum of interior angles of any polygon given its number of sides.

How it is calculated

Enter the number of sides n, which must be a whole number of at least 3, since a polygon needs three sides. The tool uses sum = (n − 2) × 180 degrees: from one corner you can draw n − 3 diagonals, which split the polygon into n − 2 triangles, and each triangle contributes 180°. It also shows each angle = sum ÷ n, which is the size of one interior angle only if the polygon is regular (all sides and angles equal). For an irregular polygon the angles add up to the same total but differ individually. A fractional number of sides such as 5.5, or fewer than 3 sides, shows no result rather than being rounded. The rule is for simple polygons, convex or concave, whose sides do not cross.

Worked example

Take an octagon, a polygon with n = 8 sides. From one corner, 8 − 3 = 5 diagonals split it into 8 − 2 = 6 triangles. Each triangle has angles totalling 180°, so the interior angles of the octagon add up to 6 × 180 = 1,080 degrees. If the octagon is regular, each interior angle is 1,080 ÷ 8 = 135.00 degrees. A regular stop sign has exactly this shape, with eight equal 135° corners.

Try this example →

Common mistakes

  • Using n × 180 or (n − 1) × 180 instead of (n − 2) × 180. A triangle with n = 3 must give 180, not 540.
  • Reading the "each angle" value for an irregular polygon. It is just the average, since only a regular polygon has all angles equal.
  • Confusing interior angles with exterior angles. The exterior angles of any convex polygon add up to 360° regardless of the number of sides, while the interior sum grows with n.
  • Entering a fractional number of sides, such as 5.5, or fewer than 3. Neither is a polygon, so the tool shows no result; enter a whole number of 3 or more.
  • Applying the formula to a star-shaped polygon whose edges cross, such as a pentagram; the (n − 2) × 180 rule is for simple polygons.

About this calculator

The interior angles of any polygon always add up to a fixed total that depends only on the number of sides, found by splitting the shape into triangles from one corner and multiplying the triangle count by 180 degrees. A triangle's angles sum to 180, a quadrilateral's to 360, and the pattern continues predictably as sides are added.

Architects and structural designers use this when working out roof pitches and polygonal room layouts, since knowing the total angle sum lets them check that a multi-sided design will actually close up correctly. It is also a foundational result in classroom geometry that students use to verify measurements in any polygon-based problem.

Was this helpful?

You can pick up to 3 reactions.

Comments

  • Be the first to comment.

Popular calculators

All Calculators