Angle Sum Calculator

Interior and exterior angle sums of any polygon, each regular angle, or n from a sum.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Enter the polygon

Enter your values below to get started.

Examples:
What do you know?
3 for a triangle, 4 for a quadrilateral, 5 for a pentagon …
Must be a multiple of 180° (or of π rad).
Between 60° and 180°, for example 108 or 150.
Reset restores the default values.

Tips for this calculator

Every extra side adds 180° to the interior angle sum.

The exterior angles of any convex polygon add up to 360°, whatever n is.

In radians, type 6*pi or 6pi for 6π.

The interior angle sum is the same for regular, irregular and concave polygons with the same n.

An angle sum calculator finds the total of the interior angles of a polygon from its number of sides with the formula (n − 2) × 180°. Enter n to get the interior angle sum in degrees and radians, each angle of the regular polygon, the exterior angles and the diagonals, or work backward from an angle sum or one interior angle to the number of sides.

What Is the Angle Sum of a Polygon?

The angle sum of a polygon is the total of its interior angles, equal to (n − 2) × 180° for a polygon with n sides. A triangle has an angle sum of 180°, a quadrilateral 360°, a pentagon 540° and a hexagon 720°.

S=(n−2)×180∘=(n−2)π radS = (n-2)\times 180^\circ = (n-2)\pi\ \text{rad}

The rule comes from Euclid's Elements (about 300 BC), Book I, Proposition 32, which proves that the 3 angles of a triangle add up to 2 right angles (180°). Any polygon with n sides splits into n − 2 triangles, so the polygon's angle sum is n − 2 copies of 180°.

InteractiveChange n and watch the angle sum grow

How Does the Angle Sum Calculator Work?

The angle sum calculator counts the triangles inside the polygon (n − 2) and multiplies by 180°. The calculator then divides the sum by n for the regular interior angle and divides 360° by n for the regular exterior angle.

InteractiveSplit the polygon into triangles from one vertex
  1. Read n

    Type the number of sides, or let the calculator solve for n from an angle sum or one regular angle.

  2. Split into triangles

    Diagonals from 1 vertex make n − 2 triangles. A heptagon (n = 7) gives 5 triangles.

  3. Multiply by 180°

    S = (n − 2) × 180°. For n = 7, S = 5 × 180° = 900° = 5π rad.

  4. Divide for regular polygons

    Each interior angle = S ÷ n; each exterior angle = 360° ÷ n. For n = 7: 128.571° and 51.429°.

Angle Sum Formula for Polygons

The angle sum formula is S = (n − 2) × 180°, where n is the number of sides. 3 related formulas give each regular angle, the exterior angle sum and n from a known sum.

Interior Angle Sum Formula

S=(n−2)×180∘S = (n-2)\times 180^\circ

Octagon: S = (8 − 2) × 180° = 1,080°.

Each Interior Angle of a Regular Polygon

A=(n−2)×180∘nA = \frac{(n-2)\times 180^\circ}{n}

Regular octagon: A = 1,080° ÷ 8 = 135°.

Exterior Angle Sum Formula

E1+E2+⋯+En=360∘E_1 + E_2 + \cdots + E_n = 360^\circ
E=360∘n (regular)E = \frac{360^\circ}{n}\ \text{(regular)}

Number of Sides from the Angle Sum

n=S180∘+2n=360∘180∘−An = \frac{S}{180^\circ} + 2 \qquad n = \frac{360^\circ}{180^\circ - A}

S = 1,440° gives n = 8 + 2 = 10 (a decagon); A = 150° gives n = 360 ÷ 30 = 12 (a dodecagon).

InteractivePlot the sum, each angle and the exterior angle against n

Angle Sum of Regular, Irregular and Concave Polygons

The angle sum depends only on the number of sides, so regular, irregular and concave polygons with the same n share the same total. There are 3 polygon types to compare, including the regular hexagon, an irregular hexagon and a concave hexagon, and all 3 have an angle sum of 720°.

InteractiveReshape a polygon: the angle sum stays the same

Regular polygon

Equal sides and equal angles. Each angle = (n − 2) × 180° ÷ n, for example 120° in a regular hexagon.

Irregular convex polygon

Unequal angles, every one under 180°. The angles differ, but the sum stays (n − 2) × 180°.

Concave polygon

At least 1 reflex angle (over 180°). The reflex angle counts in full, and the sum is still (n − 2) × 180°.

Self-intersecting polygon

A star such as the pentagram {5/2} crosses itself; its 5 tip angles add up to 180°, so the (n − 2) × 180° rule does not apply.

How to Calculate the Angle Sum by Hand

To calculate the angle sum by hand, subtract 2 from the number of sides and multiply by 180°. For a regular polygon, divide the result by n to get each angle.

  1. Count the sides: a stop sign has n = 8.
  2. Subtract 2: 8 − 2 = 6 triangles.
  3. Multiply: 6 × 180° = 1,080°.
  4. Divide by n for each angle: 1,080° ÷ 8 = 135°.
  5. Exterior angle: 180° − 135° = 45°, and 8 × 45° = 360°.
InteractiveStep through 3 angle sum problems

    Exterior Angle Sum of a Polygon

    The exterior angles of any convex polygon add up to 360°, one at each vertex. Walking once around the polygon, a person turns by each exterior angle and ends up facing the starting direction after 1 full turn.

    ∑i=1nEi=180∘n−180∘(n−2)=360∘\sum_{i=1}^{n} E_i = 180^\circ n - 180^\circ (n-2) = 360^\circ

    Each interior angle and its exterior angle form a straight line, so A + E = 180°. A regular pentagon has 5 exterior angles of 72° (5 × 72° = 360°), and a regular octagon has 8 exterior angles of 45° (8 × 45° = 360°).

    InteractiveWalk around the polygon and add up the turns

    Angle Sum in Degrees and Radians

    The angle sum in radians is (n − 2)π rad, since 180° equals π radians. The radian is the International System of Units (SI) unit of angle, and 1 rad ≈ 57.2958°.

    • Triangle: 180° = π rad ≈ 3.1416 rad.
    • Quadrilateral: 360° = 2π rad ≈ 6.2832 rad.
    • Pentagon: 540° = 3π rad ≈ 9.4248 rad.
    • Hexagon: 720° = 4π rad ≈ 12.5664 rad.
    • Decagon: 1,440° = 8π rad ≈ 25.1327 rad.
    InteractiveCount the π half-turns inside a polygon

    Common Mistakes with Polygon Angle Sums

    • Using n × 180°: the formula subtracts 2 first; a pentagon has 540°, not 900°.
    • Dividing an irregular polygon's sum by n: S ÷ n gives each angle only for a regular polygon.
    • Adding exterior angles from 2 sides of a vertex: take 1 exterior angle per vertex; the total is 360°, not 720°.
    • Ignoring reflex angles: a concave polygon's angle over 180° counts in full toward the sum.
    • Accepting impossible sums: 1,000° is not a multiple of 180°, so no polygon has that angle sum.
    InteractiveTrue or false: polygon angle sums
    1. A pentagon's interior angles add up to 540°.

    2. The exterior angles of a decagon add up to 1,440°.

    3. An irregular hexagon has a smaller angle sum than a regular hexagon.

    4. A regular polygon can have an interior angle of 130°.

    5. Each interior angle of a regular dodecagon is 150°.

    Score: 0 / 5

    How to Use the Angle Sum Calculator

    Pick what you know, type the value and press Calculate. The result shows the interior angle sum, each regular angle, the exterior angles and the diagonals, with a diagram and a table of nearby polygons.

    InteractiveLoad a ready-made polygon

    Each button fills the calculator and runs it.

    1. Choose the input

      Number of sides, an interior angle sum, or one angle of a regular polygon.

    2. Enter the value

      Type n (3 or more), a sum such as 1,260, or an angle such as 140.

    3. Pick the unit

      Sums and angles accept degrees or radians (7pi).

    4. Read the result

      Open Diagram to see the n − 2 triangles and Table to compare 10 polygons.

    Real-Life Uses of Polygon Angle Sums

    Polygon angle sums decide which shapes tile a floor, how to cut frame joints and how buildings close a shape. There are 5 common uses:

    • Tiling: only equilateral triangles (60°), squares (90°) and regular hexagons (120°) tile a plane alone, since 360° divides evenly by those angles.
    • Beehives: honeybees build hexagonal cells; 3 angles of 120° meet at each corner.
    • Carpentry: a hexagonal frame needs a miter saw set to 30° (180° ÷ 6) so each joint closes at 120°, and an octagonal frame needs 22.5° (180° ÷ 8) for 135° joints.
    • Road signs: the octagonal stop sign has 8 angles of 135°, totaling 1,080°.
    • Surveying: surveyors check a closed traverse by comparing the measured angles with (n − 2) × 180°.
    InteractiveWhich regular polygons tile a floor?

    Polygon Angle Sum Examples

    Interior angle sums and regular angles of 7 common polygons.

    Polygon Angle Sum Examples
    PolygonSides nAngle sumEach angle (regular)Each exteriorCalculator
    Triangle3180°60°120°
    Quadrilateral4360°90°90°
    Pentagon5540°108°72°
    Hexagon6720°120°60°
    Heptagon7900°128.571°51.429°
    Octagon81,080°135°45°
    Decagon101,440°144°36°

    Popular Angle Sum Problems

    Try each one, then reveal the answer or solve it in the calculator.

    1. Find the interior angle sum of a polygon with 13 sides.

      n = 13
      Show answerS = 1{,}980^\circ
    2. The interior angles of a polygon add up to 3,240°. How many sides does it have?

      S = 3240^\circ
      Show answern = 20
    3. Each interior angle of a regular polygon is 165°. Find n.

      A = 165^\circ
      Show answern = 24
    4. Find each interior angle of a regular nonagon.

      n = 9
      Show answerA = 140^\circ
    5. A polygon's angle sum is 8π radians. Name the polygon.

      S = 8\pi\ \text{rad}
      Show answern = 10,\ \text{decagon}\ (1440^\circ)
    6. Each exterior angle of a regular polygon is 24°, so each interior angle is 156°. Find n and the angle sum.

      E = 24^\circ
      Show answern = 15,\ S = 2340^\circ

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is an angle sum calculator?

    An angle sum calculator is an online tool that returns the total of a polygon's interior angles from its number of sides, using S = (n − 2) × 180°. The calculator gives each regular angle, the exterior angles and the result in radians.

    What is the formula for the sum of interior angles?

    The formula for the sum of interior angles is S = (n − 2) × 180°, where n is the number of sides. In radians, S = (n − 2)π.

    What is the angle sum of a hexagon?

    The angle sum of a hexagon is 720°, since (6 − 2) × 180° = 720°. Each angle of a regular hexagon is 120°.

    Do all quadrilaterals have an angle sum of 360°?

    Yes, all simple quadrilaterals have an angle sum of 360°, including squares, kites, trapezoids and concave darts, since a diagonal splits each one into 2 triangles.

    What is the sum of the exterior angles of a polygon?

    The sum of the exterior angles of a convex polygon is 360°, for every value of n, taking 1 exterior angle at each vertex.

    How do you find the number of sides from the angle sum?

    Divide the angle sum by 180° and add 2: n = S ÷ 180° + 2. An angle sum of 1,260° gives n = 7 + 2 = 9 sides.

    Can a polygon have an interior angle sum of 1,000°?

    No, a polygon cannot have an interior angle sum of 1,000°, since every angle sum is a multiple of 180°. The nearest sums are 900° (7 sides) and 1,080° (8 sides).

    Does a concave polygon have the same angle sum as a convex one?

    Yes, a concave polygon has the same angle sum as a convex polygon with the same number of sides, as long as the reflex angle is measured in full (over 180°).

    What is each interior angle of a regular polygon with n sides?

    Each interior angle of a regular polygon with n sides is (n − 2) × 180° ÷ n. A regular pentagon has 108° angles and a regular decagon has 144° angles.

    What happens to the angles as n gets very large?

    Each interior angle of a regular polygon approaches 180° as n grows, and the polygon approaches a circle. A regular 100-gon has 176.4° angles and an angle sum of 17,640°.

    Conclusion

    The angle sum of any simple polygon is (n − 2) × 180°, and the angle sum calculator returns that total, each regular angle and the 360° exterior sum for any n. Work backward from a sum with n = S ÷ 180° + 2, or from a regular angle with n = 360° ÷ (180° − A).

    Not sure which formula fits your problem? Answer the questions below.

    InteractiveWhich angle formula do you need?