Skip to content
FiftyCalc Free calculators for all 50 states

Regular Polygon Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter how many sides a regular polygon has and the length of one side to get all its measurements.

Result

Sample figures

Area (square units)—

Perimeter (length units) —

  • Apothem: center to the middle of a side (length units)—
  • Circumradius: center to a corner (length units)—
  • Interior angle (degrees)—
  • Exterior angle (degrees)—
  • Number of diagonals—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Regular Polygon Calculator

Number of sides (3 or more): enter 3 or more. Prefilled example: 6.

Side length (length units): enter 0 or more. Prefilled example: 2.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Number of sides (3 or more): enter 3 or more.
  2. Side length (length units): enter 0 or more.
  3. Read the result: Area (square units); the panel also shows Perimeter (length units), Apothem: center to the middle of a side (length units), Circumradius: center to a corner (length units), Interior angle (degrees), Exterior angle (degrees) and Number of diagonals.

How this calculator works

For n equal sides of length s: area = n s² ÷ (4 tan(π/n)), which is also ½ × perimeter × apothem. Apothem a = s ÷ (2 tan(π/n)); circumradius R = s ÷ (2 sin(π/n)).

Each interior angle is (n − 2) × 180° ÷ n and each exterior angle 360° ÷ n. A polygon with n vertices has n(n − 3) ÷ 2 diagonals.

The formula

  1. A=n×s24×tan⁡(πn)
Symbols used in the formula
SymbolMeaningUnit
nNumber of sides (3 or more)
sSide lengthlength units
AAreasquare units

Worked example

Number of sides (3 or more)6
Side length (length units)2
Perimeter (length units)12
Apothem: center to the middle of a side (length units)1.7321
Circumradius: center to a corner (length units)2
Interior angle (degrees)120
Exterior angle (degrees)60
Number of diagonals9
  1. A=6×224×tan⁡(3.141596)=10.3923

Area (square units) 10.3923

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the area of a regular hexagon with 2-unit sides?

6 × 2² ÷ (4 tan 30°) ≈ 10.3923 square units. Its interior angles are 120° and it has 9 diagonals.

What are the interior angles of a regular pentagon?

(5 − 2) × 180° ÷ 5 = 108° each.

Questions answered

Related calculators