Regular polygon calculator
Enter the number of sides and the side length of any regular polygon and this tool returns its area, perimeter, interior angle, apothem (inradius) and circumradius. A regular polygon has equal sides and equal angles, so a few formulas describe every triangle, square, pentagon, hexagon and beyond — useful for geometry, tiling and design.
How it works
With n sides of length s, the tool uses the standard regular-polygon formulas (angles in radians where π/n appears):
area = (n × s²) ÷ (4 × tan(π ÷ n))
perimeter = n × s
interior angle = (n − 2) × 180 ÷ n degrees
apothem = s ÷ (2 × tan(π ÷ n))
circumradius = s ÷ (2 × sin(π ÷ n))
Example
A regular hexagon (n = 6) with side = 10:
- Perimeter: 6 × 10 = 60
- Interior angle: (6 − 2) × 180 ÷ 6 = 120°
- Apothem: 10 ÷ (2·tan30°) ≈ 8.66
- Circumradius: 10 ÷ (2·sin30°) = 10
- Area: (6 × 100) ÷ (4·tan30°) ≈ 259.81
| Sides | Shape | Interior angle | Area (side 10) |
|---|---|---|---|
| 3 | Triangle | 60° | 43.30 |
| 4 | Square | 90° | 100 |
| 6 | Hexagon | 120° | 259.81 |
Everything is computed in your browser — no data leaves your device.