Math · Every step shown

Regular Polygon Calculator

Find the area and perimeter of any regular polygon — a shape where every side and angle is equal.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Geometry
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Perimeter = n × s. Area = (n × s²) ÷ (4 × tan(π ÷ n)).

Example: a regular hexagon (n = 6) with side length 4 has a perimeter of 24 and an area of about 41.57.

What counts as a regular polygon?
Any closed shape with straight sides where every side is the same length and every interior angle is the same — equilateral triangles, squares, regular pentagons, hexagons, and so on.

What's the area formula?
Area = (n × s²) ÷ (4 × tan(π ÷ n)), where n is the number of sides and s is the side length.

What's the area of a regular hexagon with 4-unit sides?
About 41.57 square units.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.