Polygon Area Calculator – Regular & Irregular Polygons (N Sides)

Choose the way you know the polygon: a regular polygon from its side or from the distance to a corner, a quadrilateral from four sides and one diagonal, or an irregular polygon from its corner coordinates. The calculator returns the area, and for most modes the perimeter and the apothem or side length as well.

Shape Calculators

Polygon Area Calculator

Area of regular polygons (hexagon, octagon, any n sides) from side or circumradius, of quadrilaterals, and of irregular polygons from coordinates.

Regular polygons from the side length

Area = n × s² ÷ (4 × tan(π ÷ n))
Perimeter = n × s
Apothem = s ÷ (2 × tan(π ÷ n))

Where n is the number of sides, s is the side length, and the apothem is the distance from the centre to the middle of a side. The angle is in radians in the formula, with π radians equal to 180 degrees.

Example 1: a hexagon, the starting values

n = 6 and s = 4:

Area = 6 × 16 ÷ (4 × tan 30°) = 96 ÷ 2.3094 = 41.57
Perimeter = 6 × 4 = 24
Apothem = 4 ÷ (2 × 0.57735) = 3.464

Example 2: an octagon

n = 8 and s = 5:

Area = 8 × 25 ÷ (4 × tan 22.5°) = 200 ÷ 1.6569 = 120.71

Area factors for common polygons

The area of a regular polygon is a constant times the square of the side. These constants come from the formula above:

Sides Polygon Area ÷ s²
3 Triangle 0.4330
4 Square 1.0000
5 Pentagon 1.7205
6 Hexagon 2.5981
7 Heptagon 3.6339
8 Octagon 4.8284

Regular polygons from the circumradius

Area = ½ × n × R² × sin(2π ÷ n)
Side = 2 × R × sin(π ÷ n)

R is the circumradius, the distance from the centre to a corner.

Example 3: a pentagon

n = 5 and R = 6:

Area = 0.5 × 5 × 36 × sin 72° = 90 × 0.95106 = 85.60
Side = 2 × 6 × sin 36° = 12 × 0.58779 = 7.053

Quadrilaterals from four sides and a diagonal

A quadrilateral is split by a diagonal into two triangles, and each triangle is found with Heron formula. Sides a and b meet the diagonal at one end, and sides c and d meet it at the other.

Example 4: sides 12, 9, 10, 8 and diagonal 13

Triangle 1 (12, 9, 13): s = 17, area = √(17 × 5 × 8 × 4) = 52.15
Triangle 2 (10, 8, 13): s = 15.5, area = √(15.5 × 5.5 × 7.5 × 2.5) = 39.98
Area = 52.15 + 39.98 = 92.13

Irregular polygons from coordinates

List the corners in order around the shape, either clockwise or anticlockwise. The shoelace formula gives the area:

Area = ½ × |Σ (xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ)|

Example 5: six corners

The points (0, 0), (8, 0), (10, 4), (8, 8), (2, 9) and (−1, 4) give these terms, one for each pair of neighbouring corners:

0, 32, 48, 56, 17, 0 add up to 153
Area = 153 ÷ 2 = 76.5
Perimeter = 8 + 4.47 + 4.47 + 6.08 + 5.83 + 4.12 = 32.98

Choosing a mode

  • Use the side length mode when you know one side of a regular shape.
  • Use the circumradius mode when you measured to a corner, for example from the centre of a round plan.
  • Use the quadrilateral mode for a four-sided plot where you measured the sides and one diagonal.
  • Use the coordinates mode for any irregular shape, with the corners entered in order.

Checks

A regular polygon needs at least 3 sides. In coordinate mode the corners must be in order around the outline, and a shape whose edges cross itself does not give a true area. For a quadrilateral, the sides and diagonal must be able to form two triangles.

Frequently asked questions

How do I find the area of a regular polygon?

Use n × s² ÷ (4 × tan(π ÷ n)), where n is the number of sides and s is the side length. A hexagon with a side of 4 has an area of 41.57.

What is the apothem?

It is the distance from the centre of a regular polygon to the middle of a side. The tool gives it as s ÷ (2 × tan(π ÷ n)).

How do I find the area of an irregular polygon?

Enter the corner coordinates in order around the shape. The calculator applies the shoelace formula, which for the sample points gives 76.5.

Can I find a polygon area from the circumradius?

Yes. Use ½ × n × R² × sin(2π ÷ n). A pentagon with a circumradius of 6 has an area of 85.60.

How is a quadrilateral handled?

The tool splits it into two triangles along the diagonal and adds their areas, each found with Heron formula.

Does the order of the coordinates matter?

Yes. List the corners in order around the outline, either clockwise or anticlockwise. A shape that crosses itself does not give a true area.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 836