How to use the calculator
Choose how you will describe the shape, based on what you can actually measure:
- Corner coordinates: each corner as an (x, y) pair, from a plan, a CAD drawing or a projected GPS export.
- Wall lengths with right-angled corners: walk round a room or building and write each wall as a direction and a length, such as R 8, U 3, L 2.5.
- Side lengths and interior angles: each side, followed by the inside angle at the corner where it ends.
- Distances and bearings: a survey traverse, such as 85.33 N 10° 07′ E for each boundary leg.
The calculator turns any of these into corner coordinates, draws the shape to scale and applies the shoelace formula. It reports the area in your unit and in m², ft², yd², hectares and acres, plus the perimeter, centre of area, interior angles and side lengths. You can subtract cut-outs such as a patio, pond or stairwell, and add a price per square unit with a waste allowance to estimate material costs.
What counts as an irregular polygon?
A polygon is a flat shape bounded by straight sides. It is irregular when its sides or angles are not all equal. Most real rooms, plots and fields are irregular. A polygon can be convex, with every interior angle under 180°, or concave, with at least one corner pointing inward, like the inside corner of an L-shaped room. The method here works for both. The only rule is that the polygon must be simple: its sides must not cross each other. A figure-of-eight or bow-tie outline is two shapes, not one, so the calculator tells you which sides cross.
The shoelace formula
List the corners in order around the boundary. For each side, multiply the x of its start by the y of its end, and subtract the x of its end times the y of its start. Add these differences around the whole shape, wrapping from the last corner back to the first, then halve the absolute value. Written in two columns, the cross-multiplications look like the criss-cross lacing of a shoe, which is where the name comes from. It is also called Gauss’s area formula, or the surveyor’s formula.
For the L-shaped room (0, 0), (6, 0), (6, 3), (4, 3), (4, 5), (0, 5), the differences are 0, 18, 6, 8, 20 and 0. They total 52, so the area is 26 m². That matches splitting the room into a 6 × 3 and a 4 × 2 rectangle. Each difference is twice the area of a triangle from the origin to one side. Triangles on the far side of the shape count as positive and those on the near side as negative, so everything outside the shape cancels out. The sign of the total shows the direction you went: positive is counterclockwise, negative is clockwise.
Getting coordinates from a real shape
Pick one corner as (0, 0) and run the x-axis along a straight wall or boundary. Measure every other corner as a distance along and a distance across, using the same unit throughout. For land, a scaled plan, a CAD file or a mapping app that exports projected coordinates in metres or feet works well. Raw latitude and longitude do not, because they are angles on a curved Earth rather than distances on a flat grid. Curved edges can be approximated by adding several corners along the curve: the more points, the closer the area.
Rooms with right-angled corners
In most buildings every corner is 90°, so you only need the length of each wall and which way it runs. A T-shaped room walked as R 8, U 3, L 2.5, U 4, L 3, D 4, L 2.5, D 3 m returns to its start and encloses 36 m² (an 8 × 3 section plus a 3 × 4 section). Its perimeter is 30 m. If your measurements don’t bring you back to the start, the calculator tells you how far out they are. That usually means a wall was missed or misread.
Why side lengths alone are not enough
Four sides of a frame can be pushed from a square into a thin diamond without changing their lengths, and the area changes as it moves. Only a triangle is rigid. So for a shape with four or more sides, you also need the angles, a diagonal, or coordinates. The interior angles of an n-sided polygon always add up to (n − 2) × 180°: 360° for four sides and 540° for five. If yours don’t, a reading is wrong. A practical alternative is to split the shape into triangles by measuring diagonals, then find each triangle with the triangle solver and add the areas.
Survey traverses, misclosure and the compass rule
A surveyor walking a boundary records each leg as a distance and a bearing. Adding up the east and north components gives the coordinates of each corner. Real measurements never close perfectly, though. The gap between the end point and the start is the misclosure, usually quoted as a ratio of the perimeter. In the example traverse, the gap is about 0.03 m over a perimeter of 410.7 m, a precision of about 1 in 13,000. That is good enough for most boundary work.
The compass rule, also called Bowditch’s rule, spreads the error back along the legs in proportion to their lengths, so the boundary closes before the area is calculated. For this field the result is about 10,332 m², which is 1.03 hectares or 2.55 acres. Untick the option if you would rather see the raw figures.
Shapes with holes
To find the area of a lawn around a patio, or a floor with a stair opening, enter the outer boundary as normal. Then list each cut-out’s corners in the cut-outs box, with a blank line between cut-outs. A 24 × 15 m lawn has 360 m² of area. Removing a 6 × 5 m patio (30 m²) and a triangular bed of 12.5 m² leaves 317.5 m² of turf. The cut-outs must lie completely inside the main shape and must not overlap each other.
Everyday uses
- Flooring, tiles and carpet: work out the floor area of awkward rooms, then add 5–15% for cutting waste. Patterned or diagonal layouts need more.
- Gardens and landscaping: turf, mulch, gravel and fertiliser are sold by area, and edging by length, which is the perimeter.
- Land and property: check plot sizes from deed plans or survey traverses, and compare them in hectares or acres.
- Building and roofing: wall, slab and roof areas for materials and quotes, with openings subtracted.
- Maps and design: catchment areas, parking layouts and CAD outlines, wherever corners are known as coordinates.
Common mistakes
- Jumbled corner order. The points must follow the boundary. Skipping across the shape makes sides cross and gives a wrong area.
- Mixed units. Measuring some lengths in feet and others in metres, or in metres and centimetres, ruins the result.
- Using latitude and longitude directly. Convert to a projected grid first.
- Forgetting waste. The area is the minimum material needed, not what you should order.
- Assuming area follows from perimeter. Many different shapes share the same perimeter but enclose very different areas.