Skip to content
Press Equals

How to find the interior angles of a polygon

The (n − 2) × 180° rule, each angle of a regular polygon, exterior angles, and a table from triangles to dodecagons.

Open the Regular Polygon calculator

A polygon with n sides has interior angles that add up to (n − 2) × 180°. In a regular polygon, where every side and angle is equal, each angle is that total divided by n. A hexagon's angles add up to (6 − 2) × 180° = 720°, so each one is 120°.

The sum of the angles

Sum of interior angles = (n − 2) × 180°

Pick one corner and draw lines to every other corner you can reach. That splits the polygon into n − 2 triangles, and each triangle's angles add up to 180°.

  • Triangle: (3 − 2) × 180° = 180°
  • Square or any quadrilateral: 360°
  • Pentagon: 540°
  • Hexagon: 720°
  • Octagon: 1,080°

This works for any polygon whose corners all point outward, regular or not.

Each angle in a regular polygon

Each interior angle = (n − 2) × 180° ÷ n

Hexagon: 720° ÷ 6 = 120 degrees.

Octagon: 1,080° ÷ 8 = 135 degrees.

Pentagon: 540° ÷ 5 = 108 degrees, and each exterior angle is 72 degrees.

Exterior angles

An exterior angle is the turn you make at each corner walking around the shape. Interior and exterior angles at a corner add up to 180°, and the exterior angles of any polygon add up to 360°, one full turn.

So for a regular polygon, each exterior angle = 360° ÷ n. The pentagon's is 360 ÷ 5 = 72°, and 108° + 72° = 180°.

That gives a quick way back to the number of sides: if each exterior angle is 30°, the polygon has 360 ÷ 30 = 12 sides.

Shape Sides Angle sum Each interior angle Each exterior angle
Triangle 3 180° 60° 120°
Square 4 360° 90° 90°
Pentagon 5 540° 108° 72°
Hexagon 6 720° 120° 60°
Heptagon 7 900° about 128.57° about 51.43°
Octagon 8 1,080° 135° 45°
Nonagon 9 1,260° 140° 40°
Decagon 10 1,440° 144° 36°
Dodecagon 12 1,800° 150° 30°

Area and more

The polygon calculator gives a regular polygon's angles, area, perimeter and diagonals from the number of sides and the side length. To convert an angle to radians, use the angle converter.

Updated

  • How to find the slope of a line

    Find slope from two points, an equation or a graph, with worked examples, zero and undefined slopes, and slope as a grade or angle.

  • How lottery odds are calculated

    How combinations set lottery odds, Powerball and Mega Millions worked out, what more tickets really buy, and expected value.

  • How to calculate vote percentage

    Work out a share of the vote, tell a majority from a plurality, check a two-thirds threshold, and calculate margin of victory and turnout.

  • How to find the factors of a number

    List every factor of a number using factor pairs, stop at the square root, use divisibility shortcuts, and spot prime numbers.

  • How to calculate percentages

    The three kinds of percentage question, percent change, percentage points, and converting between percents, decimals and fractions.

  • How to average fractions

    Add over a common denominator and divide by the count, with worked examples for two fractions, three fractions and mixed numbers.

  • How to calculate a point estimate

    Find a point estimate from counts or from a confidence interval, with the standard error, margin of error and adjusted estimates.

  • How to curve grades

    Three common grade curves, adding the gap to 100, the square root curve and scaling to the top score, each worked through.

  • How to calculate a test score

    Turn questions and wrong answers into a percentage, what each question is worth, and how many you can miss for the grade you want.

  • How the ACT composite score is calculated

    The average of English, math and reading, ACT's rounding rule, worked examples, and what changed when science left the composite.

All guides by topic