Geometry

Shoelace Formula

Pupils lace crossing threads between two columns of pegs.

Shoelace Formula definition

The shoelace formula finds the area of a simple polygon from the coordinates of its vertices in boundary order.

In Spanish
fórmula del cordón
Topic
Area of polygons

Shoelace Formula in a picture

Shoelace Formula diagramThe two diagonal sums subtract, leaving twice the area.Vertices: (0, 0), (4, 0), (1, 3)Follow the boundaryForward sum 12, backward sum 0Include the closing pair|12 − 0| ÷ 2 = 6The triangle’s area
The two diagonal sums subtract, leaving twice the area.

How it works

List the vertices around the boundary and repeat the first at the end. For each consecutive pair, multiply the first x by the next y and subtract the first y times the next x. Add these differences, take the absolute value, and divide by two.

Worked examples

Find the area of (0, 0), (3, 0), (3, 2), (0, 2).

The signed sum is 12, so the area is 6.

What happens if you reverse the vertex order?

The signed sum changes sign, but the area stays the same.

Why repeat the first vertex?

It includes the edge from the last vertex back to the first.

Common mistake

Use boundary order. Sorting vertices by x-coordinate can produce a different polygon.

Quick check

What operation makes the area nonnegative?

Show answer

Absolute value.

What factor follows the absolute value?

Show answer

Divide by two.

Can the polygon be concave?

Show answer

Yes, if it is simple and the vertices follow its boundary.

Sources

Flashcard

Shoelace Formula

Reveal the definition

The shoelace formula finds the area of a simple polygon from the coordinates of its vertices in boundary order.

Effortless Math. “Shoelace Formula.” Math Dictionary.