Interior Angle Calculator

Calculate a polygon’s interior angle from its number of sides, or work backward from a single interior angle or interior angle sum to find the number of sides, exterior angle, and diagonals.

sides
Polygon Name
Sum of Interior Angles
deg
Single Interior Angle (Regular)
deg
Single Exterior Angle (Regular)
deg
Number of Diagonals
diagonals
Note: Sum of interior angles applies to any simple polygon. Single interior and exterior angles assume a regular polygon (all sides and angles equal).
Formulas & Definitions
By: AxisCalc Published: April 1, 2026 Reviewed by: Arthur Penhaligon

Our calculator finds exact inside angles of regular polygons based on side counts. You can also work backward to find side numbers from a single interior angle or a total degree sum.

Valid calculations return polygon names, single exterior angles, and total diagonals. Calculating single interior angles requires regular polygons, meaning all internal angles must remain exactly equal.

Interior Angle Calculator Inputs and Outputs

Our tool handles three primary input methods, generating distinct mathematical outputs based on strict polygon rules.

Calculation methodInputMain resultExtra outputsImportant rule
Find angles from number of sidesNumber of sides $n$Single interior anglePolygon name, sum of interior angles, exterior angle, diagonals$n$ must be a whole number and at least $3$
Find sides from sum of interior anglesSum of interior angles in degreesNumber of sides $n$Polygon name, regular interior angle, exterior angle, diagonals when validSum must be at least $180^\circ$
Find sides from single interior angleSingle interior angle in degreesNumber of sides $n$Polygon name, sum of interior angles, exterior angle, diagonals when validAngle must be at least $60^\circ$ and less than $180^\circ$

Interior Angle Formula for a Regular Polygon

Our main formula for calculating single inside angles is: $\text{Interior angle} = \frac{(n – 2) \times 180^\circ}{n}$. Here, $n$ represents a shape’s total side count.

Such formulas for single angles apply strictly to regular polygons, requiring equal internal angles and side lengths. Conversely, interior angle sum formulas apply to any simple polygon.

QuantityFormula
Sum of interior angles$(n – 2) \times 180^\circ$
Single interior angle$\frac{(n – 2) \times 180^\circ}{n}$
Single exterior angle$\frac{360^\circ}{n}$
Number of diagonals$\frac{n(n – 3)}{2}$

How to Find Interior Angle from Number of Sides

To find an interior angle from a side count, input your number. We first compute a shape’s total internal degree sum, then divide total sums by side count, returning an exact single angle.

Alongside your main result, you instantly see matching polygon names, corresponding exterior angles, and total diagonals.

PolygonSides $n$Sum of interior anglesSingle interior angleExterior angleDiagonals
Triangle$3$$180^\circ$$60^\circ$$120^\circ$$0$
Square$4$$360^\circ$$90^\circ$$90^\circ$$2$
Pentagon$5$$540^\circ$$108^\circ$$72^\circ$$5$
Hexagon$6$$720^\circ$$120^\circ$$60^\circ$$9$
Octagon$8$$1080^\circ$$135^\circ$$45^\circ$$20$
Decagon$10$$1440^\circ$$144^\circ$$36^\circ$$35$

Find Number of Sides from Sum of Interior Angles

Working backward from total degree sums requires our reverse formula: $n = \frac{\text{Sum of interior angles}}{180^\circ} + 2$.

Your resulting $n$ value must be a whole number. Fractional side counts do not correspond to real polygons having whole number sides and will trigger an invalid warning.

Sum of interior anglesCalculated sides $n$Valid polygon?Polygon
$180^\circ$$3$YesTriangle
$360^\circ$$4$YesQuadrilateral
$540^\circ$$5$YesPentagon
$720^\circ$$6$YesHexagon
$900^\circ$$7$YesHeptagon
$500^\circ$$4.78$NoNot a real polygon

Find Number of Sides from a Single Interior Angle

Reversing our math to find side counts from one angle uses: $n = \frac{360^\circ}{180^\circ – \text{interior angle}}$. Such reverse calculations apply exclusively to regular polygons possessing identical internal angles.

Valid shapes require angle inputs within a strict mathematical range: $60^\circ \le \text{angle} < 180^\circ$. Angles outside such bounds do not correspond to valid regular polygons here.

Single interior angleCalculated sides $n$Valid polygon?Polygon
$60^\circ$$3$YesTriangle
$90^\circ$$4$YesQuadrilateral
$108^\circ$$5$YesPentagon
$120^\circ$$6$YesHexagon
$135^\circ$$8$YesOctagon
$140^\circ$$9$YesNonagon
$100^\circ$$4.5$NoNot a real polygon

Polygon Names and Interior Angles Reference Table

Our quick-reference guide outlines standard properties for common regular polygons, matching exact calculator outputs.

SidesPolygon nameSum of interior anglesSingle interior angleSingle exterior angleDiagonals
$3$Triangle$180^\circ$$60^\circ$$120^\circ$$0$
$4$Quadrilateral$360^\circ$$90^\circ$$90^\circ$$2$
$5$Pentagon$540^\circ$$108^\circ$$72^\circ$$5$
$6$Hexagon$720^\circ$$120^\circ$$60^\circ$$9$
$7$Heptagon$900^\circ$$128.5714^\circ$$51.4286^\circ$$14$
$8$Octagon$1080^\circ$$135^\circ$$45^\circ$$20$
$9$Nonagon$1260^\circ$$140^\circ$$40^\circ$$27$
$10$Decagon$1440^\circ$$144^\circ$$36^\circ$$35$
$11$Hendecagon$1620^\circ$$147.2727^\circ$$32.7273^\circ$$44$
$12$Dodecagon$1800^\circ$$150^\circ$$30^\circ$$54$

Interior and Exterior Angle Relationships

Interior angle sums always equal $(n – 2) \times 180^\circ$, while single interior angles are determined by dividing total sums by $n$.

Furthermore, single exterior angles calculate simply as $\frac{360^\circ}{n}$. Due to polygon structure, an interior angle plus its exterior angle at any individual vertex always equals exactly $180^\circ$.

ValueWhat it meansFormulaWhen used here
Sum of interior anglesTotal of all inside angles$(n – 2) \times 180^\circ$From sides, and to reverse-calculate sides
Single interior angleOne inside angle of a regular polygon$\frac{(n – 2) \times 180^\circ}{n}$Main target output
Single exterior angleOne outside angle of a regular polygon$\frac{360^\circ}{n}$Supporting output

Number of Diagonals by Polygon

Total diagonals connecting non-adjacent vertices are calculated using: $\text{Diagonals} = \frac{n(n – 3)}{2}$.

SidesPolygonDiagonals
$3$Triangle$0$
$4$Quadrilateral$2$
$5$Pentagon$5$
$6$Hexagon$9$
$7$Heptagon$14$
$8$Octagon$20$
$10$Decagon$35$
$12$Dodecagon$54$

Input Rules and Result Limits

Inputs must follow strict boundaries to generate valid geometric shapes.

Input modeValid input ruleInvalid result behavior
Number of sidesWhole number, minimum $3$Error shown
Sum of interior anglesAt least $180^\circ$Error shown below $180^\circ$
Single interior angleAt least $60^\circ$ and less than $180^\circ$Error shown outside range
Reverse side calculationResult must be a whole numberTool marks it as not a real polygon and suppresses unsupported derived outputs

Calculator Limitations

Our calculator determines single interior angles exclusively for regular polygons, requiring identical sides and internal angles. Interior angle sums apply universally to all simple polygons, regular or irregular.

Single interior and exterior angle outputs assume equal angles across your shape. Furthermore, fractional side counts generated during reverse calculations never represent real polygons. Under such conditions, we mark shapes invalid and halt derived value calculations.

Related Tools & Calculators: