Regular Polygon Calculator
A regular polygon calculator is a mathematical utility that computes the geometric properties of equilateral and equiangular polygons. By entering the number of sides and either the side length, circumradius, inradius (apothem), or area, the calculator determines all remaining dimensions. It calculates the perimeter, area, sum of interior angles, and individual exterior angles. Students and graphic designers use this tool to construct symmetric shapes, analyze geometric relationships, and solve trigonometry problems.
Enter the number of sides and the side length. The calculator returns the perimeter, area, apothem, and interior and exterior angles of the regular polygon.
Quick Answer
Calculate properties of any regular polygon. Enter the number of sides and one known dimension to find the area, perimeter, and angles.
Whole number 3 or greater. · e.g. 6
Positive number. · e.g. 5
A regular polygon has all sides equal and all interior angles equal. Triangle is n=3, square is n=4, hexagon is n=6.
Area
64.9519
n = 6, s = 5
Perimeter = n × s · Area = (n × s²) ÷ (4 × tan(π ÷ n)) · Apothem = s ÷ (2 × tan(π ÷ n)) · Interior angle = (n − 2) × 180 ÷ n.
Examples
Hexagon, side 5
perimeter 30 · area ≈ 64.952 · apothem ≈ 4.330 · interior 120°
Pentagon, side 4
perimeter 20 · area ≈ 27.528 · apothem ≈ 2.753 · interior 108°
Octagon, side 3
perimeter 24 · area ≈ 43.456 · apothem ≈ 3.621 · interior 135°
How it works
A regular polygon has every side and every angle equal. From n (number of sides) and s (side length) every other measurement follows by a single tangent-based formula.
Perimeter · P = n × s
Area · A = (n × s²) ÷ (4 × tan(π ÷ n))
Apothem · a = s ÷ (2 × tan(π ÷ n))
Interior angle = (n − 2) × 180 ÷ n · Exterior angle = 360 ÷ n
Related geometry calculators
- Area calculator for area across multiple 2D shapes.
- Perimeter calculator for perimeter across common shapes.
- Triangle area calculator for the special case n = 3.
- Circle calculator for the limiting case as n grows large.
- Scientific calculator for general arithmetic with tan and π.
- All education calculators.
Related Calculators
More tools from Education



