About this calculator
Enter both.
How to use it
- Enter the number of sides.
- Enter the side length.
- Read the results.
The formula
- apothem
- distance from centre to a side
- n
- number of sides
Worked example
A hexagon with side 4
- Apothem ≈ 3.464; area ≈ 41.57.
- Interior angle 120°; 9 diagonals.
What the result means
Hexagons tile a floor perfectly, which is why bees use them.
Angles, diagonals and area for 3 to 12 sides
The last column is the area when each side is 1. For any other side length s, multiply it by s².
| Sides | Name | Interior angle | Sum of interior angles | Exterior angle | Diagonals | Area (side 1) |
|---|---|---|---|---|---|---|
| 3 | Triangle | 60° | 180° | 120° | 0 | 0.4330 |
| 4 | Square | 90° | 360° | 90° | 2 | 1.0000 |
| 5 | Pentagon | 108° | 540° | 72° | 5 | 1.7205 |
| 6 | Hexagon | 120° | 720° | 60° | 9 | 2.5981 |
| 7 | Heptagon | 128.57° | 900° | 51.43° | 14 | 3.6339 |
| 8 | Octagon | 135° | 1,080° | 45° | 20 | 4.8284 |
| 9 | Nonagon | 140° | 1,260° | 40° | 27 | 6.1818 |
| 10 | Decagon | 144° | 1,440° | 36° | 35 | 7.6942 |
| 11 | Hendecagon | 147.27° | 1,620° | 32.73° | 44 | 9.3656 |
| 12 | Dodecagon | 150° | 1,800° | 30° | 54 | 11.1962 |
Worked example: hexagonal paving tiles
A hexagonal paver has sides of 20 cm. Enter 6 sides and side length 20. Each tile covers 1,039.23 cm², so one square metre (10,000 cm²) needs about 10,000 ÷ 1,039.23 ≈ 9.62 tiles before allowing for cuts at the edges.
Among regular polygons, only triangles, squares and hexagons tile a flat floor with no gaps, because only their interior angles (60°, 90° and 120°) divide exactly into 360°.
Working backwards from an angle
The exterior angles of any polygon add up to 360°, so each exterior angle of a regular polygon is 360° ÷ n. If you know the interior angle, the exterior angle is 180° minus it, and n = 360° ÷ exterior angle. An interior angle of 150° gives an exterior angle of 30° and n = 12.
Assumptions
- All lengths in the same unit.
Limitations
- Results are rounded to 10 significant figures.
Frequently asked questions
What is the interior angle of a regular hexagon?
120°.
How many diagonals does a polygon have?
n(n − 3) ÷ 2.
What is the sum of interior angles?
(n − 2) × 180°.
How do I find the number of sides from the interior angle?
Use n = 360 ÷ (180 − interior angle). An interior angle of 140° gives n = 360 ÷ 40 = 9, a nonagon.
What is the exterior angle of a regular polygon?
It is 360° ÷ n. A regular octagon has exterior angles of 45° and interior angles of 135°.
Last reviewed on 12 October 2026. How we calculate and check. Found a mistake? Tell us.

