Skip to content
FiftyCalc Free calculators for all 50 states

Polygon Angle Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the number of sides, or the interior angle of a regular polygon to find how many sides it has.

Result

Sample figures

Sum of the interior angles—°

Number of sides —

  • Each interior angle of a regular polygon (degrees)—
  • Each exterior angle of a regular polygon (degrees)—
  • Regular polygon check—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Polygon Angle Calculator

What you know: choose Number of sides n or Interior angle of a regular polygon. Prefilled example: Number of sides n.

Number of sides n (3 or more; first choice): enter 3 or more. Prefilled example: 7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. What you know: choose Number of sides n or Interior angle of a regular polygon.
  2. Number of sides n (3 or more; first choice): enter 3 or more.
  3. Interior angle (second choice), in °: enter a number from 0 to 180.
  4. Read the result: Sum of the interior angles; the panel also shows Number of sides, Each interior angle of a regular polygon (degrees), Each exterior angle of a regular polygon (degrees) and Regular polygon check.

How this calculator works

Any polygon with n sides splits into n − 2 triangles from one vertex, so its interior angles add up to (n − 2) × 180°.

In a regular polygon all angles are equal: each interior angle is (n − 2) × 180° ÷ n and each exterior angle is 360° ÷ n, since the exterior angles of any convex polygon add up to 360°. From an interior angle α, n = 360 ÷ (180 − α).

The formula

  1. Nn={nif m=1360180−angotherwise
  2. Sum=(Nn−2)×180
Symbols used in the formula
SymbolMeaningUnit
mWhat you know (1: Number of sides n; 2: Interior angle of a regular polygon)
nNumber of sides n (3 or more; first choice)
angInterior angle (second choice)°
NnNumber of sides
SumSum of the interior angles°

Worked example

What you knowNumber of sides n
Number of sides n (3 or more; first choice)7
Number of sides7
Each interior angle of a regular polygon (degrees)128.5714
Each exterior angle of a regular polygon (degrees)51.4286
Regular polygon checkA regular polygon has this many sides
  1. Nn=7
  2. Sum=(7−2)×180=900

Sum of the interior angles 900 °

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the sum of the interior angles of a heptagon?

(7 − 2) × 180° = 900°. In a regular heptagon each angle is about 128.5714°.

A regular polygon has interior angles of 135°. How many sides does it have?

360 ÷ (180 − 135) = 8: it is an octagon, and its angles add up to 1,080°.

Questions answered

Related calculators