A = ½ × perimeter × apothem

Regular polygon calculator

Sides and one side length give the area, perimeter, apothem, circumradius, both angles and the diagonal count.

Short answer: a regular hexagon with side 2 has apothem √3 ≈ 1.732, area 6√3 ≈ 10.392, interior angle 120°, exterior angle 60° and 9 diagonals.

One triangle, repeated

Every regular polygon is n identical triangles meeting at the centre. Each has base s and height the apothem, so the area is n × ½ × s × apothem — the perimeter times the apothem, halved. That is why the apothem is the number worth computing first.

Worked example

A hexagonal nut across the flats is measured by its apothem, not its side: for an apothem of 10 mm the side is 2 × 10 × tan(30°) = 11.547 mm. The page converts in the other direction, which is how a drawing across the corners is turned into a cut length.

Polygon questions

What is the apothem?

The distance from the centre to the middle of a side — the height of the isosceles triangle that makes up one slice. It is s ÷ (2 tan(π/n)), and for a square it is exactly half the side.

How is the area found?

A = ½ × perimeter × apothem. It is the same triangle-slicing idea as a sector: n identical triangles meeting at the centre, each with base s and height equal to the apothem.

What are the interior and exterior angles?

Interior is (n − 2) × 180 ÷ n and exterior is 360 ÷ n, and the two always add to 180°. A hexagon gives 120° and 60°; a square gives 90° and 90°.

How many diagonals does it have?

n(n − 3) ÷ 2. A pentagon has 5, a hexagon 9, and the count grows roughly with the square of the sides — which is why the page reports it rather than leaving you to draw them.

Related tools