Polygon Calculator
Enter the number of sides and side length (or circumradius) to find area, perimeter, angles, apothem, and diagonals for any regular polygon.
๐ท What is a Regular Polygon?
A regular polygon is a flat, closed shape with all sides equal in length and all interior angles equal in measure. The simplest regular polygon is the equilateral triangle (3 sides). Other common examples include the square (4 sides), pentagon (5), hexagon (6), heptagon (7), octagon (8), nonagon (9), and decagon (10). This calculator supports regular polygons with 3 to 20 sides.
Regular polygons appear throughout architecture, nature, and engineering. The hexagonal tiles on bathroom floors, the cross-section of a bolt head (hexagon), the shape of a stop sign (octagon), honeycomb cells (hexagons again), and the Pentagon building in Washington D.C. are all regular or near-regular polygons. In mathematics, regular polygons are used to approximate the area of a circle (as the number of sides approaches infinity, the area approaches pi times r squared).
A key distinction is between regular and irregular polygons. An irregular polygon has sides or angles that differ from each other. A rectangle, for example, is an irregular polygon (unless it is a square). This calculator is specifically for regular polygons where the high degree of symmetry allows simple, exact formulas. For irregular polygons, you would need to specify all side lengths and angles separately.
The properties of a regular polygon are fully determined by just two values: the number of sides n and one measurement (such as the side length or circumradius). Once these two values are known, every other property follows from exact trigonometric formulas. This is what makes regular polygons so mathematically elegant and practically useful.