Skip to content
GeoCalcLab emblem
GeoCalcLab.com

Regular Polygon Calculator: Area, Apothem & Angles

Choose the number of sides and the side length to get area, perimeter, apothem, circumradius and every angle — with steps.

FreeNo sign-upMetric + imperialStep-by-step formula
Unit
Regular polygon
Presets:

Same answer, other units: area = 0.9655 m² · perimeter = 3.6576 m

Area
10.39 ft²
Perimeter
12 ft

Regular polygons: symmetry does the work

A regular polygon has equal sides and equal interior angles. Because of that symmetry, two numbers — the side count n and the side length s — determine its area, perimeter, apothem, circumradius and angles.

The apothem is the distance from the center to the midpoint of a side. It is the inradius, and it turns the polygon into n congruent triangles, each with base s and height a.

Total area is therefore ½ × perimeter × apothem. That single relationship covers triangles, squares, hexagons, octagons and every other regular polygon.

Regular polygon formulas used on this page

← Swipe →
QuantityFormulaNotes
PerimeterP = n × sNumber of sides times side length.
Apothema = s ÷ (2 tan(180° ÷ n))Center to the midpoint of a side.
AreaA = ½ × P × aEquivalently n·s² ÷ (4 tan(180° ÷ n)).
CircumradiusR = s ÷ (2 sin(180° ÷ n))Center to a vertex.
Interior angle((n − 2) × 180°) ÷ nEach interior angle in a regular polygon.
Interior angle sum(n − 2) × 180°Same for every simple n-gon.
Diagonalsn(n − 3) ÷ 2Counts diagonals only, not the sides.

Regular polygons with side 2

← Swipe →
PolygonSides nAreaApothem
Triangle31.73210.5774
Square441
Pentagon56.88191.3764
Hexagon610.39231.7321
Octagon819.31372.4142
Decagon1030.77683.0777
Dodecagon1244.78463.7321

Worked calculation examples

Hexagonal floor tile

A regular hexagon tile has 6 in sides.

  1. 1.P = 6 × 6 = 36 in
  2. 2.a = 6 ÷ (2 tan 30°) = 5.1962 in
  3. 3.A = ½ × 36 × 5.1962 = 93.5307 in²
  4. 4.circumradius = 6 ÷ (2 sin 30°) = 6 in
  5. 5.interior angle = (6 − 2) × 180° ÷ 6 = 120°
Takeaway: The apothem is always shorter than the side for a hexagon, but the circumradius equals the side length — a unique property of regular hexagons.

Octagonal gazebo floor

A gazebo has 8 ft sides.

  1. 1.P = 8 × 8 = 64 ft
  2. 2.a = 8 ÷ (2 tan 22.5°) = 9.6569 ft
  3. 3.A = ½ × 64 × 9.6569 = 309.0193 ft²
  4. 4.circumradius = 8 ÷ (2 sin 22.5°) = 10.4525 ft
  5. 5.interior angle = (8 − 2) × 180° ÷ 8 = 135°
Takeaway: The circumradius gives the distance from center to corner — useful for laying out the floor and for the roof’s ridge length.

Regular polygon tips

Use radians consistently in code

Most programming languages expect radians for trigonometry. Convert 180° ÷ n to radians before calling tan or sin.

Apothem versus circumradius

The apothem reaches a side midpoint; the circumradius reaches a corner. The circumradius is always larger.

Interior angles grow with n

The triangle is 60°, the square 90°, the hexagon 120°, and the octagon 135°. The sum is always (n − 2) × 180°.

More sides approach a circle

As n grows, the area converges to πr². A 12-gon already covers about 95% of its circumcircle.

Frequently asked questions

What is a regular polygon?+

A polygon with all sides equal and all interior angles equal. Squares, equilateral triangles and regular hexagons are common examples.

How do I find the area of a regular polygon?+

A = ½ × perimeter × apothem. For a regular hexagon with 2 ft sides, the perimeter is 12 ft and the apothem about 1.7321 ft, giving an area of about 10.3923 ft².

What is the apothem?+

The perpendicular distance from the center to the midpoint of a side: a = s ÷ (2 tan(180° ÷ n)). It is the radius of the inscribed circle.

How do I find the interior angle?+

Each interior angle is ((n − 2) × 180°) ÷ n. A pentagon has 108°, a hexagon 120°, and an octagon 135°.

How many diagonals does a polygon have?+

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