What is a regular polygon?
A polygon with all sides equal and all interior angles equal.
Work with regular polygons: equal sides and equal interior angles.
Provide the number of sides (n ≥ 3) and the side length s > 0.
How to use Polygon Calculator, plus the formulas and logic behind the results.
A regular n-gon can be split into n congruent isosceles triangles from the center. Area and perimeter have closed forms in n and s.
P = n sA = (n s²) / (4 tan(π/n))Apothem = s / (2 tan(π/n))Polygon examples
Uses M_PI in the tangent expressions for a regular polygon.
n is interpreted as an integer ≥ 3.
Common questions about this calculator and how to use the results.
A polygon with all sides equal and all interior angles equal.
Multiply n by the side length s.
A = (n s²)/(4 tan(π/n)).
The distance from center to the midpoint of a side.
No. A polygon needs at least 3 sides.
Not in this tool—sides must be equal.