Interior Angles of a Polygon

The interior angles of an n-sided polygon add up to 180° × (n − 2).

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

Diagonals from one vertex split the polygon into n − 2 triangles.

Each angle of a regular polygon is the sum divided by n. The exterior angles always add up to 360°.

Calculator

Change a value and the result and picture update instantly.

Result

Sum of interior angles (°)720
Each angle of a regular polygon (°)120

Animated picture

The picture follows your values. Some points and shapes can be dragged.

Use in game development

Place the vertices of a regular polygon around a circle, 360° ÷ n apart.

Code example (JavaScript)

for (let i = 0; i < n; i++) { const a = i * 2 * Math.PI / n; pts.push([cx + r*Math.cos(a), cy + r*Math.sin(a)]); }

What the symbols mean

SymbolMeaning
nNumber of sides n
sumSum of interior angles (°)
eachEach angle of a regular polygon (°)

More formulas in this category

Frequently asked questions

What is the formula for Interior Angles of a Polygon?
The formula for Interior Angles of a Polygon is Sum of interior angles = 180° × (n − 2). The interior angles of an n-sided polygon add up to 180° × (n − 2).

Math Formula Quiz Geometry (Area & Volume)

Sources

Checked: 2026-11-29