Home ↓
CalculatorsVerified

Math & Geometry

Regular Polygon Calculator (Area, Perimeter, Angles)

Calculate the measurements of any regular polygon, a shape whose sides are all the same length and whose angles are all equal, such as an equilateral triangle, a square, a regular pentagon, hexagon or octagon. Enter the number of sides and one length, either the side, the apothem (the distance from the centre to the middle of a side, also called the inradius) or the circumradius (the distance from the centre to a corner), and the calculator works out the others. It also gives the perimeter, the area, the interior angle at each corner, the exterior angle, the sum of the interior angles and the number of diagonals. A regular hexagon with sides of 10 units, for example, has an area of about 259.8 square units, interior angles of 120 degrees and a circumradius equal to its side, which is why six equilateral triangles fit together to form it. These formulas are useful in geometry lessons, in design and woodworking projects such as hexagonal tables, gazebos and tiles, and in engineering, where nuts and bolt heads are often hexagonal. A table compares the area of common polygons with a side of one unit.

How to use this calculator

  1. Enter the number of sides, at least 3.
  2. Choose whether you know the side length, the apothem or the circumradius.
  3. Enter that length.
  4. Read the area, perimeter, angles and the other lengths.
  5. Use the same unit for every length; area is in that unit squared.

Polygons in nature and design

Hexagons appear in honeycombs, basalt columns and snowflakes because they tile a plane without gaps while using the least perimeter for a given area. Octagons are used for stop signs and gazebos, and pentagons in famous buildings and in football patterns.

When building a polygonal frame, each joint is cut at half the exterior angle: for a hexagon the mitre angle is 30°, for an octagon 22.5°.

From polygon to circle

Archimedes estimated π by calculating the perimeters of regular polygons with 96 sides drawn inside and outside a circle. As the number of sides grows, the perimeter and area of a regular polygon approach those of its circumscribed circle.

You can see this by entering a large number of sides with a circumradius of 1: the area approaches π ≈ 3.14159.

Formula & method

Side s = 2R sin(π/n) = 2a tan(π/n), where R is the circumradius and a the apothemPerimeter P = n × s; area A = ½ × P × a = n s² ÷ (4 tan(π/n))Interior angle = (n − 2) × 180° ÷ n; exterior angle = 360° ÷ nSum of interior angles = (n − 2) × 180°

For a regular polygon with n sides and side s: apothem a = s ÷ (2 tan(π/n)); circumradius R = s ÷ (2 sin(π/n)); conversely s = 2a tan(π/n) = 2R sin(π/n). Perimeter P = n × s. Area A = ½ × P × a = n s² ÷ (4 tan(π/n)) = ½ n R² sin(2π/n). Interior angle = (n − 2) × 180° ÷ n. Exterior angle = 360° ÷ n. Sum of interior angles = (n − 2) × 180°. Number of diagonals = n(n − 3) ÷ 2. As n increases, the polygon approaches a circle and the area approaches πR². Special cases: hexagon area = (3√3 ÷ 2) s² ≈ 2.598 s²; octagon area = 2(1 + √2) s² ≈ 4.828 s².

Worked example

Regular hexagon with side 10

  1. Apothem a = 10 ÷ (2 tan 30°) = 8.660.
  2. Perimeter P = 6 × 10 = 60.
  3. Area A = ½ × 60 × 8.660 = 259.81.

Answer: Area 259.81 square units, interior angle 120°, circumradius 10.

Frequently asked questions

What is the area of a regular hexagon?

About 2.598 × side².

What is the interior angle of a regular pentagon?

108°.

What is the apothem?

The distance from the centre to the midpoint of a side.

What is the sum of interior angles of an octagon?

1,080°.

How many diagonals does a hexagon have?

Nine.

What mitre angle do I cut for an octagon frame?

22.5°, half the exterior angle of 45°.