How this instrument works
Three vertices at (x₁,y₁), (x₂,y₂), and (x₃,y₃) already contain every scrap of information a triangle's shape holds, and the shoelace formula pulls the enclosed area out of them directly: A = ½|x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂)|. The name comes from the arithmetic itself — write the coordinates in two columns, one vertex per row, and the cross-multiplications needed to build the sum lace back and forth between the columns the way a shoe's laces cross. Surveyors used the identical method long before it carried that nickname, turning a closed ring of boundary stakes into an area figure with no diagonal ever chained out on the ground.
The formula is a disguised cross product. Build two edge vectors from the first vertex, v = (x₂−x₁, y₂−y₁) and w = (x₃−x₁, y₃−y₁); the z-component of their cross product, x_v·y_w − y_v·x_w, is exactly twice the triangle's signed area, and expanding that one expression back out in the six original coordinates reproduces the shoelace sum term for term. That signed value comes out positive when the three vertices are listed counterclockwise and negative when listed clockwise — the absolute value in the final formula just discards which direction you happened to walk the boundary, since an area is a positive amount of enclosed ground, not a direction.
Two properties show up at the edges of the formula's behavior. Shift every vertex by the same amount — add 5 to every x-coordinate and 5 to every y-coordinate — and each parenthesized difference is unchanged, because a constant added to both terms of a subtraction cancels out; the formula never actually needs to know where the origin sits. And if the three points happen to fall on one straight line, the signed sum collapses to exactly zero before the absolute value is even applied, which turns this formula into a precise, arithmetic-only test for whether three points form a genuine triangle at all.
- Enter the first vertex's coordinates into the x₁ and y₁ fields — any consistent unit, positive or negative.
- Enter the second vertex into x₂ and y₂, and the third into x₃ and y₃, in any order around the triangle.
- Read the enclosed area straight off the Area field; it is already the absolute value, so it never comes out negative.
- Watch for an Area reading of exactly zero — that signals the three points are collinear, not a genuine triangle.
Worked example — a 3-4-5 right triangle at the origin
Place the vertices at (0, 0), (4, 0), and (0, 3) — a right triangle with legs of 4 and 3 flush against the axes. The signed sum is x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂) = 0(0−3) + 4(3−0) + 0(0−0) = 0 + 12 + 0 = 12, and halving it gives S = 6, already positive. So A = |6| = 6, matching the schoolbook check ½ × base × height = ½ × 4 × 3 = 6 on the nose, because the shoelace formula is the same enclosed-area logic wearing coordinates instead of a ruler.
List the identical three points in the opposite order — (0, 0), (0, 3), (4, 0) — and only the walking direction around the boundary reverses, from counterclockwise to clockwise. The signed sum becomes 0(3−0) + 0(0−0) + 4(0−3) = 0 + 0 − 12 = −12, so S = −6 this time, and A = |−6| = 6 lands on the same area regardless. The triangle never moved an inch; only the bookkeeping direction changed, which is precisely the information the absolute value is built to erase.
Questions
Where does the coordinate triangle area formula come from?
It comes from the cross product of two edge vectors. Build v = (x₂−x₁, y₂−y₁) and w = (x₃−x₁, y₃−y₁) from the first vertex; the cross product's z-component, x_v·y_w − y_v·x_w, equals twice the signed area, and expanding it in terms of the six coordinates reproduces the shoelace sum exactly. Surveyors used the same identity long before it had a nickname, turning a fenced plot's corner stakes into an acreage figure without ever measuring a diagonal.
Why does the formula need an absolute value?
Because the raw sum before the bars is a signed area, not a plain one: positive when the three vertices are listed counterclockwise, negative when listed clockwise. The triangle itself never changes size or shape depending on which direction you happen to walk its boundary, so the absolute value discards that leftover sign and reports the enclosed area as the positive quantity it actually is.
What is the most common mistake people make with this formula?
Dropping the absolute value bars and reporting a negative number as the area, because the vertices happened to be listed clockwise. A close second is mismatching the pairs — swapping which y belongs with which x, or shifting a subscript by one vertex — which produces a plausible-looking number that is not the triangle's area at all. Keeping each (xᵢ, yᵢ) pair together while entering the six values avoids both errors.
How is this different from measuring the three sides and using Heron's formula?
Heron's formula needs three side lengths, which from raw coordinates means running the distance formula three times — three square roots — before an area figure appears at all. The shoelace formula skips that stage entirely: it multiplies and subtracts the six coordinates directly in one pass, with only a single absolute value at the very end, leaving fewer intermediate roundings for an error to hide in.
Does it matter where the triangle sits on the coordinate plane?
No. Shift every vertex by the same amount in x and in y, and each parenthesized difference in the formula is unchanged, because a constant added to both terms of a subtraction cancels out. The area comes out identical whether the triangle sits near the origin or far out in some other quadrant — the formula never actually needs to know where the axes are.
What does it mean if the formula returns exactly zero?
It means the three points are collinear — they lie on a single straight line rather than enclosing any region, so there is no genuine triangle to measure. The signed sum collapses to zero before the absolute value is even applied, which makes a zero reading an exact, arithmetic-only test for that degenerate case rather than an approximation to check by eye.