Polygon Area Calculator Guide: Formulas for Any Shape from Triangles to Irregular Polygons
Quick Answer
- *Regular polygon area: A = (1/4) × n × s² × cot(π/n), where n = number of sides and s = side length.
- *Irregular polygon area: use the Shoelace formula with vertex coordinates — works for any simple polygon.
- *A regular hexagon with side length 10 has an area of 259.81 square units — about 82.7% of its bounding circle.
- *As the number of sides increases, a regular polygon's area approaches πr² (the area of a circle).
What Is a Polygon?
A polygon is a closed, flat shape made of straight line segments. Triangles (3 sides), squares (4 sides), pentagons (5 sides), and hexagons (6 sides) are all polygons. The word comes from the Greek poly (many) and gon (angle).
Polygons are classified two ways that matter for area calculation: regular (all sides and angles equal) and irregular (sides or angles differ). Regular polygons use simpler formulas. Irregular polygons require coordinate-based methods or decomposition into triangles.
Regular Polygon Area Formula
For a regular polygon with n sides of length s, the area is:
A = (1/4) × n × s² × cot(π/n)
An equivalent form using the apothem (the distance from the center to the midpoint of a side):
A = (1/2) × Perimeter × Apothem
Quick Reference: Regular Polygon Areas (side length = 10)
| Polygon | Sides | Area (s = 10) | Apothem |
|---|---|---|---|
| Equilateral Triangle | 3 | 43.30 | 2.89 |
| Square | 4 | 100.00 | 5.00 |
| Regular Pentagon | 5 | 172.05 | 6.88 |
| Regular Hexagon | 6 | 259.81 | 8.66 |
| Regular Octagon | 8 | 482.84 | 12.07 |
| Regular Decagon | 10 | 769.42 | 15.39 |
| Regular Dodecagon | 12 | 1,119.62 | 18.66 |
Notice the pattern: as the number of sides increases, the area grows toward π × r², where r is the circumradius. A 100-sided regular polygon with circumradius 10 has an area of 314.11— just 0.02% less than a circle's 314.16. Archimedes used this convergence around 250 BCE to estimate pi as between 3.1408 and 3.1429 using 96-sided polygons.
The Shoelace Formula for Irregular Polygons
When sides and angles aren't equal, you need coordinates. The Shoelace formula (also called Gauss's area formula or the surveyor's formula) calculates the area of any simple polygon from its vertex coordinates.
Given vertices (x₁, y₁), (x₂, y₂), … (xₙ, yₙ) listed in order:
A = (1/2) × |Σ(xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ)|
Worked Example
Find the area of a quadrilateral with vertices at (1, 1), (4, 1), (5, 4), and (2, 5).
Step 1: List the cross-products:
(1 × 1) − (4 × 1) = 1 − 4 = −3
(4 × 4) − (5 × 1) = 16 − 5 = 11
(5 × 5) − (2 × 4) = 25 − 8 = 17
(2 × 1) − (1 × 5) = 2 − 5 = −3
Step 2: Sum = −3 + 11 + 17 + (−3) = 22
Step 3: Area = |22| ÷ 2 = 11 square units
The Shoelace formula runs in O(n) time — it scales linearly with the number of vertices. Geographic Information Systems (GIS) use this formula to compute land parcel areas from GPS coordinates. The USGS National Map dataset processes millions of polygon boundaries using this exact method.
Special Cases: Common Polygon Area Formulas
Triangle (3 sides)
A = (1/2) × base × height. With three side lengths (a, b, c), use Heron's formula: A = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2. A triangle with sides 3, 4, 5 has area 6 square units.
Quadrilateral (4 sides)
For rectangles: A = length × width. For parallelograms: A = base × height. For trapezoids: A = (1/2) × (b₁ + b₂) × height. For general quadrilaterals, you need diagonals and the angle between them, or use the Shoelace formula.
Regular Hexagon (6 sides)
A = (3√3/2) × s². Hexagons tile perfectly with no gaps, which is why honeybees use them — a hexagonal grid encloses the maximum area with the minimum perimeter. A 2019 study in Journal of Mathematical Biology confirmed the honeycomb conjecture mathematically proven by Thomas Hales in 1999.
Practical Applications
Polygon area calculations show up in surprisingly many fields:
- Land surveying: Property boundaries are irregular polygons. The Bureau of Land Management uses coordinate-based area calculations for all federal land parcels in the U.S.
- Architecture: Floor plans, roof areas, and lot coverage calculations all reduce to polygon area problems.
- Game development: Collision detection and rendering in 3D engines decompose complex surfaces into triangles (a process called tessellation). The average modern game scene contains 2–10 million triangles per frame (NVIDIA, 2024).
- Agriculture: Precision farming tools calculate field areas from GPS boundary points to determine seed, fertilizer, and irrigation requirements.
- Urban planning: Zoning calculations use polygon area to enforce lot coverage ratios, typically 30–60% in residential zones (American Planning Association).
Calculate the area of any polygon instantly
Use our free Polygon Area Calculator →Frequently Asked Questions
What is the formula for the area of a regular polygon?
The area of a regular polygon is A = (1/4) × n × s² × cot(π/n), where n is the number of sides and s is the side length. Alternatively, if you know the apothem (a), use A = (1/2) × perimeter × apothem. For a regular hexagon with side length 5, the area is approximately 64.95 square units.
How do you calculate the area of an irregular polygon?
Use the Shoelace formula (also called the surveyor's formula). List the (x, y) coordinates of each vertex in order, then compute A = (1/2) × |Σ(xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ)|. This works for any simple (non-self-intersecting) polygon regardless of shape.
What is the Shoelace formula?
The Shoelace formula calculates the area of a polygon from its vertex coordinates. You multiply each x-coordinate by the next y-coordinate, subtract each y-coordinate times the next x-coordinate, sum the results, and take half the absolute value. It's named after the crisscross pattern of the multiplications, resembling lacing a shoe.
How many sides does a polygon need to approximate a circle?
A regular polygon with 20 or more sides closely approximates a circle. A 20-sided polygon (icosagon) has an area within 0.25% of a circle with the same radius. At 50 sides, the difference drops below 0.04%. Archimedes famously used 96-sided polygons to estimate pi to two decimal places around 250 BCE.
Can you calculate the area of a polygon with only side lengths?
For regular polygons (all sides and angles equal), yes — the side length and number of sides are sufficient. For irregular polygons, side lengths alone are not enough because different shapes can have the same side lengths but different areas. You also need either angles, diagonals, or vertex coordinates to determine the area uniquely.