Guide
Area of an irregular shape: three methods that actually work
Three methods cover every irregular shape you'll meet in practice: rooms, plots, plans. Pick by what you have.
“Area of an irregular shape” covers a wide range of practical problems: the floor space of an L-shaped room, the lot size of a five-sided property, the surface of a roof with skylights subtracted, the footprint of a free-form garden bed. There’s no single formula. Three methods cover most cases: decomposition into triangles, the shoelace formula for polygons, and the trapezoidal rule for curves.
Method 1: decompose into triangles
Any polygon can be split into triangles. Compute each triangle’s area separately, sum. Works for shapes you can sketch and measure.
Triangle area: (base × height) / 2. If you know all three side lengths but no height, use Heron’s formula:
s = (a + b + c) / 2
area = √(s × (s−a) × (s−b) × (s−c))Practical workflow for an L-shaped room: split it into two rectangles, compute each, sum. For an irregular five-sided plot, pick the most-acute vertex, draw lines to the two non-adjacent vertices, you get three triangles. Measure each set of sides; apply Heron.
Method 2: the shoelace formula
For a polygon with known vertex coordinates (typical of survey data, CAD output, or anything you can place on a grid), the shoelace formula computes area directly. Given vertices (x₁, y₁), (x₂, y₂), …, (xₙ, yₙ) listed in order (clockwise or counterclockwise):
area = |Σ (xᵢ × yᵢ₊₁ − xᵢ₊₁ × yᵢ)| / 2Where the indices wrap around at the end (i.e., xₙ₊₁ = x₁). The absolute value handles the sign issue from clockwise vs counterclockwise winding.
Worked example. Quadrilateral with vertices (0, 0), (4, 0), (5, 3), (1, 4):
- 0×0 − 4×0 = 0
- 4×3 − 5×0 = 12
- 5×4 − 1×3 = 17
- 1×0 − 0×4 = 0
- Sum: 29. Area = 29 / 2 = 14.5 square units.
Shoelace is the right tool when you have coordinates. For digitised maps, screen-coordinate measurements, or any survey data, it’s exact and fast.
Method 3: the trapezoidal rule (for curved boundaries)
When the boundary is a curve rather than straight segments — a riverbank, a free-form garden, the perimeter of a non-convex blob — sample the boundary at regular intervals and treat each strip as a trapezoid.
area ≈ Δx × (y₁/2 + y₂ + y₃ + … + yₙ₋₁ + yₙ/2)Where Δx is the spacing between samples and yᵢ are the boundary heights. Accuracy improves quadratically as you increase the sample count.
Practical case: measuring the cross-section of an unevenly-cut lawn. Lay a long tape down the long axis. Every 1 m, measure the perpendicular width of the lawn. Sum every other measurement plus half the first and last, multiply by 1 m. Done.
Real-world shapes: subtractions
Many practical problems are “regular minus a hole.” A roof minus the skylights. A room minus the inset cabinet. A floor minus the staircase footprint. Compute the outer area by any of the methods above, compute each subtracted area the same way, then subtract.
Two non-obvious gotchas with subtractions:
- Wall thickness. Floor plans typically show interior dimensions; the wall thickness adds up fast over multiple rooms. For total square footage (which is usually measured to the outside of exterior walls), add the wall thickness back in.
- Sloped surfaces. Roof area is not the same as the building footprint. Multiply the footprint by 1/cos(slope angle) to get the true roof area. A 30° roof has 15% more surface than the footprint suggests.
Picking the right method
| You have | Use |
|---|---|
| Straight edges, side lengths you can measure | Decomposition + Heron |
| Vertex coordinates (CAD, survey, digitised map) | Shoelace formula |
| Curved or wavy boundary | Trapezoidal rule |
| Mixed (straight + curved) | Decompose: shoelace for the polygon part, trapezoidal for the curve |
| A photo, no measurements | Place a known-length reference (ruler, doormat) in the photo; scale pixel-area accordingly |
Common pitfalls
- Units. If you measure in centimetres, area comes out in cm². Multiply by 0.0001 for m². Get the units right before you sign anything.
- Closing the polygon.The shoelace formula assumes the last vertex connects back to the first. List vertices in order; don’t skip the closing edge in your mental walk-around.
- Self-intersecting polygons.Shoelace gives the signed area of a polygon; self-intersecting shapes (figure-8s, twisted quadrilaterals) produce partial-cancellation that doesn’t match the intuitive area. Decompose into simple sub-polygons instead.
The pragmatic workflow
For a real room or plot: sketch it on graph paper, mark the vertex coordinates, apply shoelace. The whole calculation takes 5 minutes and is exact if your measurements are. For curved boundaries (a meandering riverfront lot, an organic-shaped garden), use the trapezoidal rule with whatever sample resolution your tape measure can manage.
Sources: NIST/SEMATECH e-Handbook of Statistical Methods (numerical integration); Burden and Faires,Numerical Analysis (10th ed., 2016) §4.3.
Related
Published May 16, 2026