Regular Polygon Area and Perimeter Calculator

Enter the number of sides and the side length of a regular polygon to get its area, perimeter, apothem, circumradius, interior angle and number of diagonals, with each step shown.

Drawn to scale · labels update as you type

Regular polygon formulas

  • Area: A = n · a² / (4 · tan(180°/n)), or A = P · r / 2
  • Perimeter: P = n · a
  • Apothem (inradius): r = a / (2 · tan(180°/n))
  • Circumradius: R = a / (2 · sin(180°/n))
  • Interior angle: (n − 2) · 180° / n
  • Number of diagonals: n · (n − 3) / 2

A regular polygon has n equal sides and n equal angles. Lines from the centre to the corners cut it into n identical isosceles triangles, each with base a and height r, which gives the area formula.

Worked example

Find the area of a regular hexagon with sides of 4 cm.

A = 6 · 4² / (4 · tan 30°)   ≈ 41.57 cm²
P = 6 · 4                    = 24 cm
r = 4 / (2 · tan 30°)        ≈ 3.46 cm
angle = 4 · 180° / 6         = 120°

For a hexagon R equals a, because it is made of six equilateral triangles.

Common regular polygons

PolygonAreaInterior angle
Equilateral triangle (n = 3)≈ 0.433 · a²60°
Square (n = 4)a²90°
Pentagon (n = 5)≈ 1.720 · a²108°
Hexagon (n = 6)≈ 2.598 · a²120°
Octagon (n = 8)≈ 4.828 · a²135°
Decagon (n = 10)≈ 7.694 · a²144°
Dodecagon (n = 12)≈ 11.196 · a²150°

Frequently asked questions

How do I find the area of a pentagon?

Enter n = 5. A regular pentagon with sides of 5 cm has an area of about 1.720 · 25 ≈ 43.01 cm².

What is the sum of the interior angles?

(n − 2) · 180°, for any polygon with n sides, regular or not. A hexagon’s angles add up to 720°.

What happens as the number of sides grows?

The polygon gets closer and closer to its circumscribed circle. With the same R, a 1,000-sided polygon differs from the circle’s area by less than 0.001 %.