Polygon Calculator
This polygon calculator works out the perimeter, area, angles, apothem and circumradius of a regular polygon from two numbers: how many sides it has and how long they are. A regular hexagon with sides of 10 has an area of 259.81.
Sources: Wikipedia: Regular polygon Updated
Regular polygon formulas
With n sides of length s, every measurement follows from trigonometry, as set out in Wikipedia's regular polygon article:
| Measurement | Formula |
|---|---|
| Perimeter | P = n × s |
| Apothem | a = s ÷ (2 × tan(180° ÷ n)) |
| Area | A = P × a ÷ 2 |
| Circumradius | R = s ÷ (2 × sin(180° ÷ n)) |
| Interior angle | (n − 2) × 180° ÷ n |
| Exterior and central angle | 360° ÷ n |
How to find the area of a regular hexagon with side 10
- Perimeter: 6 × 10 = 60.
- Apothem: 10 ÷ (2 × tan 30°) = 10 ÷ 1.1547 = 8.6603.
- Area: 60 × 8.6603 ÷ 2 = 259.81 square units.
- Interior angle: (6 − 2) × 180° ÷ 6 = 120°. Exterior angle: 360° ÷ 6 = 60°.
- Circumradius: 10 ÷ (2 × sin 30°) = 10 ÷ 1 = 10.
Regular polygon names and angles
| Sides | Name | Interior angle | Angle sum |
|---|---|---|---|
| 3 | Equilateral triangle | 60° | 180° |
| 4 | Square | 90° | 360° |
| 5 | Pentagon | 108° | 540° |
| 6 | Hexagon | 120° | 720° |
| 7 | Heptagon | 128.57° | 900° |
| 8 | Octagon | 135° | 1,080° |
| 9 | Nonagon | 140° | 1,260° |
| 10 | Decagon | 144° | 1,440° |
| 12 | Dodecagon | 150° | 1,800° |
In a regular pentagon, a diagonal is longer than a side by the golden ratio, about 1.618; the golden ratio calculator works with that number.
Interior, exterior and central angles
The interior angle is measured inside the polygon at each corner. It grows with the number of sides, from 60° in a triangle to 135° in an octagon.
The exterior angle is the turn at each corner, 180° minus the interior angle. It always equals the central angle between two neighbouring corners, because both split 360° evenly into n parts.
Apothem and circumradius
The apothem runs from the centre to the middle of a side. The circumradius runs from the centre to a corner, so it is always the longer of the two.
As the number of sides grows, the gap between them shrinks and the polygon gets closer to a circle. For a circle itself, use the circle calculator; with three sides, the triangle calculator also solves triangles that are not equilateral.
Irregular polygons
This calculator only handles regular polygons, with equal sides and equal angles. For a shape with different sides, enter its corner coordinates in the polygon area calculator, which uses the shoelace formula.
Questions about regular polygons
How do you find the area of a regular polygon?
Multiply the perimeter by the apothem and halve the result. For a hexagon with side 10: the perimeter is 60, the apothem is 8.6603, and 60 × 8.6603 ÷ 2 = 259.81.
What is the interior angle of a regular polygon?
(n − 2) × 180° ÷ n, where n is the number of sides. A pentagon has 108°, a hexagon 120° and an octagon 135°.
What is an apothem?
The distance from the centre of a regular polygon to the middle of one side. It is the radius of the circle that fits inside the polygon, and it meets the side at a right angle.
Sources
- Wikipedia: Regular polygon — interior, exterior and central angles, and the area from the perimeter and apothem (checked October 16, 2026)
- Wikipedia: Apothem — the apothem s ÷ (2 tan(180°/n)) and its link to the circumradius (checked October 16, 2026)