Count the sides of one simple polygon
The input n is the number of straight sides around a closed polygon. A triangle has 3, a quadrilateral has 4, and a pentagon has 5. The same count also gives the number of vertices and interior angles. Use an integer of at least three for the geometry described on this page. A curved edge does not become a polygon side merely because it appears between two corners. A shape with an opening inside it also needs additional treatment; the simple formula here is for one boundary enclosing a region without a hole. Trace the outline once and count each side once. If a drawing contains internal diagonals, do not include them in the side count. They subdivide the polygon without changing its outside boundary.
Read the two outputs differently
The first output is the sum of all interior angles. The second is the equal interior angle for a regular polygon having the entered number of sides. These outputs answer different questions. A five-sided simple polygon has a total of 540 degrees. A regular pentagon has five equal interior angles of 108 degrees each. An irregular pentagon still has the 540-degree total, but its individual angles need not equal 108 degrees. If the actual figure is irregular, 108 degrees is its mean interior angle, not a measurement of each corner. Keep this distinction visible when using the output in an exercise or a drawing. A side count alone cannot determine the individual angles of an arbitrary polygon, even though it determines their sum under the stated assumptions.
Why the total is 180 times n minus two
A simple polygon can be divided into triangles by noncrossing diagonals. The triangulation contains n − 2 triangles. Each triangle has an angle sum of 180 degrees in Euclidean geometry, so the polygon total is 180(n − 2). For a convex polygon, you can see this by drawing diagonals from one vertex to all nonadjacent vertices. A pentagon splits into three triangles, giving 3 × 180 = 540 degrees. A hexagon splits into four, giving 720 degrees. Concave simple polygons also admit a triangulation, though drawing every diagonal from one chosen vertex may put some lines outside the shape. The total still follows from a valid triangulation. The formula is a geometric angle total; it does not use side lengths or the polygon's area.
Work through the default pentagon
The default side count is 5. Subtracting two gives 3, and multiplying by 180 gives an interior-angle sum of 540 degrees. For a regular pentagon, divide 540 by 5 to obtain 108 degrees at each vertex. Multiplying the reported equal angle back by the side count recovers the sum: 108 × 5 = 540. This reverse check is useful when a result has been copied into another worksheet. If the problem asks only for the sum, stop at 540 degrees. If it asks for an individual angle, first confirm that equal angles are justified by the description of the shape. A regular polygon has equal sides and equal angles. The appearance of a rough sketch is not enough to establish regularity unless the problem states or marks the relevant properties.
Recognize familiar side counts
For n = 3, the sum is 180 degrees and the regular interior angle is 60 degrees. For n = 4, the total is 360 degrees and the regular angle is 90 degrees. For n = 6, the total is 720 degrees and the regular angle is 120 degrees. An octagon has a 1,080-degree total and a regular interior angle of 135 degrees. A decagon has a 1,440-degree total and a regular interior angle of 144 degrees. These are arithmetic consequences of the same formulas, rather than separate rules to memorize. Notice that a rectangle also has four 90-degree angles even if its sides are not all equal. Regularity is sufficient for equal angles, but other equiangular polygons can share the same angle value without being regular in every respect.
Relate interior and exterior angles
At a convex corner, extending one side forms an exterior turning angle that supplements the interior angle. Their sum is 180 degrees. For a regular polygon, each exterior turn is 360/n degrees, and each interior angle is 180 − 360/n degrees. This is the same result as 180(n − 2)/n after simplifying. For a regular hexagon, the exterior turn is 60 degrees and the interior angle is 120 degrees. Do not confuse a polygon's central angle with its interior corner angle. In a regular polygon, the central angle between adjacent vertices is also 360/n, but it is measured at the center, not at a vertex. The matching numerical values arise from regular geometry and do not make the two angle locations interchangeable.
Find a missing interior angle
If the side count and all but one interior angle are known, subtract the known angles from the total. For a quadrilateral with angles 80, 95, and 110 degrees, the missing angle is 360 − 80 − 95 − 110 = 75 degrees. This example does not require the quadrilateral to be regular. It uses the total for a simple four-sided polygon. Keep every known angle in degrees before summing them. If the subtraction gives a nonpositive value or a value inconsistent with the stated convexity, inspect the diagram and copied measurements. A sum check can detect an inconsistency, but it does not prove that every proposed set of side lengths and angles can be assembled into the intended polygon. The calculator returns the total, not a construction proof.
Recover a side count from a regular interior angle
For a regular polygon with interior angle α, rearrange α = 180 − 360/n to obtain n = 360/(180 − α). An angle of 150 degrees gives n = 360/30 = 12, so the shape is a regular dodecagon. The result must be a whole number of at least three to describe an ordinary regular polygon exactly. If the calculation gives a noninteger, the stated angle may be rounded or may not belong to an exact regular polygon. Do not round the side count automatically and treat that as proof. For example, an approximate measured angle could be consistent with several interpretations depending on its uncertainty. When an exercise gives an exact angle, use the algebraic value before introducing decimal rounding.
Concave figures and crossing boundaries
A concave simple polygon has at least one interior angle greater than 180 degrees. Its total still follows 180(n − 2), provided the boundary does not cross itself and the polygon has the ordinary planar interpretation. This does not make its individual corners equal to the regular-angle output. A self-intersecting star needs more care because the meaning of an interior region and its corner angles depends on the chosen convention. Counting visible tips and entering that number does not establish that the ordinary simple-polygon sum applies. Trace the boundary and identify whether edges cross before using the result. If the problem specifically concerns a star polygon, use its stated angle definitions and a method for that figure rather than assuming every closed arrangement of line segments satisfies the same simple interpretation.
Large polygons approach a straight interior angle
The regular interior angle is 180 − 360/n degrees. As the side count grows, 360/n gets smaller, so the interior angle approaches 180 degrees from below. A regular 100-sided polygon has an interior angle of 176.4 degrees and a total of 17,640 degrees. Every individual convex corner is still below 180 degrees, even though the total can be much larger than a full turn. The total and the turning-angle sum are different quantities. A convex traversal turns through 360 degrees overall, while the sum of its interior angles grows with n. This distinction often resolves an apparent contradiction in angle exercises. A finite regular polygon retains straight sides and corners; the limiting idea does not mean that a particular large side count has literally become a circle.
Input validity and numerical interpretation
Use the stated geometric domain even if an arithmetic expression can be evaluated for another number. A side count of two or a negative count does not describe the simple polygon intended here. A fractional side count is also unsuitable. The underlying angle arithmetic alone is not a test that a valid polygon exists. The calculator requires finite numerical results, and very large inputs can exceed practical numerical precision or range. For everyday geometry exercises, a small integer side count keeps the total easy to verify exactly. The regular angle may be a repeating decimal, such as 900/7 degrees for a regular heptagon. Keep the fraction or sufficient digits while checking the sum. Rounding each corner separately can make their rounded total differ slightly from the exact total.
Check a reported total against the side count
Rearranging the sum formula gives n = S/180 + 2, where S is the interior-angle total in degrees. A total of 1,260 degrees gives n = 7 + 2 = 9 sides. This inverse check concerns the total, not an individual regular angle. Entering 1,260 as if it were one corner would describe a different and unsuitable problem. If a claimed exact total does not produce a whole-number side count of at least three, it is inconsistent with the ordinary simple-polygon model. First check whether the supplied figure was a total, a rounded measurement, or an exterior-angle sum.
Keep angle questions separate from size questions
The number of sides determines an angle sum without describing the polygon's size. A small regular hexagon and a large regular hexagon both have 120-degree interior angles. Their perimeters and areas depend on length information that this form does not request. Use the regular polygon calculator when side length and a regular shape are relevant to the required dimensions. For a three-sided figure with known angles, the triangle angle calculator addresses that specific relationship. When recording the present result, state the side count and whether you are using a total, a regular individual angle, or an average for an irregular figure. That final distinction prevents an otherwise correct computation from being assigned to a corner whose angle has never been measured.