Regular Polygon Calculator

Calculate the area, perimeter, interior angle and both radii of any regular polygon from its side length.

Interior angle 120 °
interior angle = (n−2)×180/n · A = ½ n s a, where a = s ÷ 2tan(π/n)
Exterior angle 60 °
Area 259.8076
interior angle = (n−2)×180/n · A = ½ n s a, where a = s ÷ 2tan(π/n)
Perimeter 60
Apothem (inradius) 8.660254
interior angle = (n−2)×180/n · A = ½ n s a, where a = s ÷ 2tan(π/n)
Circumradius 10
Number of diagonals 9
Name Hexagon

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Regular Polygon Calculator does

The regular polygon calculator on this page will calculate the area, perimeter, interior angle and both radii of any regular polygon from its side length. Fill in all 2 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for laying out a hexagonal or octagonal structure. For a second version of this regular polygon calculator, see FreeToolsWorld.org.

How to use it

  1. Enter the number of sides — three or more.
  2. Enter the side length.
  3. Read the angles, area and both radii.

How it works

Exterior angles of any polygon, regular or not, always sum to 360 degrees — which is the quickest way to remember that the exterior angle of a regular n-gon is 360/n and the interior angle is its supplement.

The apothem is the perpendicular distance from the centre to the middle of a side, and it is the "height" in the area formula: a regular polygon is n triangles each with base s and height a. The circumradius reaches the vertices instead and is always longer.

As n grows the polygon approaches a circle. At n = 100 the area is within 0.07% of the circle with the same circumradius, which is essentially how Archimedes bounded π.

When to use it

  • Laying out a hexagonal or octagonal structure.
  • Working out the area of a regular polygonal plot or panel.
  • Finding the inradius for a nut or bolt across flats.
  • Solving a geometry problem.

Common mistakes to avoid

  • Confusing the apothem with the circumradius.
  • Using the interior angle where the exterior angle is needed, or the reverse.
  • Applying these formulas to an irregular polygon, where they do not hold.

Frequently asked questions

What is the interior angle of a hexagon?

120 degrees. The formula is (n−2)×180/n, so (6−2)×180/6 = 120.

What is the apothem?

The perpendicular distance from the centre to the midpoint of a side. It is the inradius, and it is what the area formula uses as the height of each triangle.

How many diagonals does a polygon have?

n(n−3)/2. A hexagon has 9, an octagon 20, a decagon 35.

Related tools

See all math & statistics calculators →