⬡ Regular Polygon Calculator: Area, Angles, Hexagon & Pentagon

Enter the number of sides and one length.

No ratings yet — be the first

Enter details

6 = hexagon, 5 = pentagon, 8 = octagon.

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Regular Polygon Calculator: Area — A = n·s² ÷ (4·tan(π/n)). Example: Hexagon with 5 cm sides → Area: 64.951905
How the Regular Polygon Calculator works: Area — A = n·s² ÷ (4·tan(π/n))

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Regular Polygon Calculator

A regular polygon has all sides and all angles equal. Its interior angles add up to (n − 2) × 180°, so each one is (n − 2) × 180° ÷ n: 108° in a pentagon, 120° in a hexagon and 135° in an octagon. The exterior angles always add up to 360°.

The area is half the perimeter times the apothem — the distance from the centre to the middle of a side. Hexagons tile a floor perfectly with no gaps, which is why bees use them for honeycomb and why hexagonal tiles are popular.

🧮 Formula

Area
A = n·s² ÷ (4·tan(π/n))
Interior angle
(n − 2) × 180° ÷ n

✏️ Worked examples

Hexagon with 5 cm sides

You enter
Number of sides6
You know theSide length
Length5
You get
Area64.951905
ShapeHexagon
Side length5
Perimeter30
Interior angle120° (sum 720°)
Exterior angle60°
Circumradius (centre to corner)5
Apothem / inradius (centre to side)4.330127
Number of diagonals9

The area is 64.951905 cm².

Octagon, circumradius 10

You enter
Number of sides8
You know theCircumradius (centre to corner)
Length10
You get
Area282.842712
ShapeOctagon
Side length7.653669
Perimeter61.229349
Interior angle135° (sum 1,080°)
Exterior angle45°
Circumradius (centre to corner)10
Apothem / inradius (centre to side)9.238795
Number of diagonals20

The area is 282.842712.

🧭 How to use this calculator

What you enter

  • Number of sides6 = hexagon, 5 = pentagon, 8 = octagon.
  • You know the
  • Length

What you get

  • Area
  • Shape
  • Side length
  • Perimeter
  • Interior angle
  • Exterior angle
  • Circumradius (centre to corner)
  • Apothem / inradius (centre to side)
  • Number of diagonals

❓ Frequently asked questions

What is the area of a regular hexagon?

(3√3 ÷ 2) × side², about 2.598 × side².

How many diagonals does a polygon have?

n(n − 3) ÷ 2: 5 for a pentagon, 9 for a hexagon, 20 for an octagon.