Polygon Calculator

Calculate the area and perimeter of a regular polygon (equal sides and angles).

Calculate

Enter your values below.

Result

Area
0
Perimeter
0

Formula used

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

Example: A regular hexagon with side 5 → area ≈ 64.95, perimeter = 30.

How to use this calculator

  1. Enter Number of sides, Side length.
  2. Press Calculate to see your result instantly.

Frequently asked questions

What is a regular polygon?

A shape where every side is the same length and every interior angle is equal.

What's the minimum number of sides?

3 — a triangle is the simplest polygon.

Does this work for irregular polygons?

No, this formula assumes equal sides and angles. Irregular shapes need to be broken into simpler shapes.

What is the formula based on?

It divides the polygon into n equal triangles from the center and sums their areas.