Math

Regular Polygon Calculator

From the number of sides and the side length of a regular polygon, get the area, the perimeter, and the interior and exterior angles.

How a regular polygon is measured

A regular polygon has equal sides and equal angles. The perimeter is the number of sides times the side length. Each exterior angle is 360° divided by the number of sides. Each interior angle is 180° minus that exterior angle, which is the same as ((n − 2) × 180°) / n. The interior angles together add up to (n − 2) × 180°.

The area is (n × side²) / (4 × tan(π / n)). The apothem is the distance from the center to the middle of a side, side / (2 × tan(π / n)). A square with side 4 has area 16. A regular hexagon with side 2 has area 6√3, about 10.39.

Example: a stop-sign octagon

A regular octagon has 8 sides. Each interior angle is 135°, and each exterior angle is 45°. The interior angles add to 1,080°. If each side is 10, the perimeter is 80 and the area is about 482.84.

Three sides make an equilateral triangle, with every angle 60°. Four sides make a square. The side count has to be a whole number of at least 3.

Questions people ask

What if the sides are not equal?

This calculator is only for regular polygons. An irregular four-sided lot needs the area calculator’s rectangle, trapezoid, or a breakdown into triangles.

Why does a hexagon with side 2 have area about 10.39?

A regular hexagon splits into six equilateral triangles of side 2. Each of those has area √3, and six of them add to 6√3.

Is the apothem the same as the radius?

The apothem reaches the middle of a side. The radius of the circumscribed circle reaches a vertex and is a bit longer. For a square they differ. For a regular polygon with many sides they become close.

Related calculators

For educational purposes only. Consult a qualified professional for financial or medical advice.

More in MathView all