R

Calculate an Irregular Area: 3 Methods + Online Calculator

Editorial
8 min read
2026-09-29
Calculate an Irregular Area: 3 Methods + Online Calculator

Try it yourself with the

Area Calculator

Calculate now

Calculating an irregular area: the essentials

Most real areas are not neat rectangles. A living room has a corner cut out, a garden has a slanted boundary, a patio has a bevelled corner. For these shapes there is no single formula like length × width. You need a different approach.

The good news: every area with straight edges is a polygon. And every polygon can be calculated exactly. All you need are the side lengths and angles – or the coordinates of the corners.

The fastest way: sketch the shape in the area calculator under “Custom shape” and type in your measurements. The calculator shows the area, perimeter and every angle instantly. This article explains how to do it by hand and what to watch out for when measuring.

Method 1: Split into rectangles and triangles

The classic school method: divide the area into simple parts, calculate each one and add the results.

Example: L-shaped room

A room is 6 m long and 5 m deep at its widest point. A corner of 2.5 m × 2 m is missing on the right. Split the room into two rectangles:

  • Rectangle 1: 6 m × 3 m = 18 m²
  • Rectangle 2: 3.5 m × 2 m = 7 m²
  • Total area: 18 m² + 7 m² = 25 m²

Alternatively, calculate the large rectangle and subtract the missing corner: 6 m × 5 m − 2.5 m × 2 m = 30 m² − 5 m² = 25 m². Both ways give the same result.

This method works well for rooms with right angles. With slanted walls or crooked property lines it quickly gets messy. That is where triangles help.

Method 2: Triangles with Heron's formula

Every polygon can be split into triangles using diagonals. A quadrilateral gives two triangles, a pentagon three, a hexagon four. If you know all three sides of a triangle, Heron's formula gives the area – no height or angle needed:

  • Semi-perimeter: s = (a + b + c) / 2
  • Area: A = √( s · (s − a) · (s − b) · (s − c) )

Example: four-sided plot

A plot has four corners A, B, C and D. You measure the sides AB = 20 m, BC = 15.52 m and the diagonal AC = 28.30 m. For triangle ABC:

  • s = (20 + 15.52 + 28.30) / 2 = 31.91 m
  • A = √( 31.91 · 11.91 · 16.39 · 3.61 ) ≈ 150 m²

Calculate the second triangle ACD the same way, with sides CD = 21.21 m, DA = 18.25 m and the same diagonal. It has 193.5 m². Together that makes 343.5 m².

The advantage: you only need a tape measure, no protractor. The downside: you also have to measure the diagonals – in a large garden with beds and trees that is often difficult.

Method 3: The shoelace formula (coordinates)

If you know the coordinates of the corners – for example from a site plan or building drawing – the shoelace formula (also called the Gauss area formula) is the most elegant route. It gets its name from multiplying the coordinates crosswise, like lacing a shoe.

The formula is: A = ½ · | Σ (xᵢ · yᵢ₊₁ − xᵢ₊₁ · yᵢ) |. Walk once around the area. For each side, calculate “x of the start point times y of the end point minus x of the end point times y of the start point”. Halve the sum at the end.

Example: the same plot with coordinates

The corners are at A (0 | 0), B (20 | 0), C (24 | 15) and D (3 | 18), all values in metres.

  • A → B: 0 · 0 − 20 · 0 = 0
  • B → C: 20 · 15 − 24 · 0 = 300
  • C → D: 24 · 18 − 3 · 15 = 387
  • D → A: 3 · 0 − 0 · 18 = 0
  • Sum: 687 → area = 687 / 2 = 343.5 m²

The result matches the triangle method. Our calculator uses exactly this formula in “Custom shape” mode. But you don't have to work out the coordinates yourself: the calculator creates them from your drawing and your measurements.

Measuring correctly: sides, angles and a check measurement

The best formula is useless if the measurements are wrong. Here is how to measure an irregular area properly:

1. Sketch first: draw the shape roughly on paper. Label the corners in order A, B, C … – always in the same direction.

2. Measure the sides: measure each side from corner to corner. In rooms, measure at floor level, just above the skirting board.

3. Check the angles: many corners are right angles – but not all. Check them with the 3-4-5 rule (see below).

4. Take a check measurement: finally, measure one extra distance, such as the last side or a diagonal. If it matches the calculation, your measurements are consistent.

The calculator has this check built in: the last side back to point A is calculated automatically (shown in grey). If your measured value differs clearly, there is a measuring error somewhere.

Checking a right angle with the 3-4-5 rule

You can check whether a corner really is 90° without any tools: from the corner, measure 3 m along one wall and 4 m along the other. Mark both points. The distance between the marks must be exactly 5 m. This follows from Pythagoras' theorem (3² + 4² = 5²). In small rooms it works the same with 30 cm, 40 cm and 50 cm.

Calculating slanted angles from three lengths

If a corner is not a right angle, you don't need a protractor. Measure the two sides a and b at the corner and the distance c between their ends. The law of cosines gives the angle: cos γ = (a² + b² − c²) / (2 · a · b).

Example: a = 3 m, b = 4 m, c = 4.5 m. Then cos γ = (9 + 16 − 20.25) / 24 ≈ 0.198. So the angle is about 78.6°. Type this value into the matching angle field in the calculator.

Step by step with the area calculator

1. Open the area calculator in “Custom shape” mode.

2. Pick a template (L-shape, U-shape, plot, bay window) or click Draw new and place the corners on the grid. Clicking point A closes the shape.

3. Type the measured side lengths and interior angles on the right. The drawing updates instantly.

4. Need another corner? Drag the “+” in the middle of a side. Click a corner to delete it.

5. Compare the grey, calculated last side with your check measurement. Area and perimeter are shown at the top – click Calculate for conversions to cm², hectares and other units.

Avoiding common mistakes

  • Corners in the wrong order: always walk once around the area. If you jump back and forth between corners, the sides cross and the area is wrong. The calculator shows a red warning in that case.
  • Interior and exterior angles mixed up: an inward corner (like in an L) has 270° on the inside, not 90°.
  • Mixed units: measure everything in the same unit – either metres or centimetres.
  • Rounding too early: only round the final result, not the intermediate steps.

Living space and plots: what else applies

The geometric area is not always the “official” area. For German flats, sloped ceilings, balconies and terraces only count partially under the living space regulation. Read more in the guide Living space calculation (WoFlV). For gardens and building plots with many corners, see Plot area: irregular shapes.

For a purchase contract or building permit, the officially surveyed area from the land register always counts. Your own measurement is ideal for planning: flooring, paint, lawn seed or paving stones.

Conclusion

Irregular areas are no magic. Split simple shapes into rectangles, complicated ones into triangles – or let the shoelace formula do the work. The fastest way is the area calculator: draw the shape, type in the measurements, done. And remember the check measurement – it tells you straight away whether your measuring is right.

You might also find useful