Area of a Triangle by Coordinates

Find the area of any triangle when you know the coordinates of all three vertices, without needing to measure base and height.

A=12x1(y2y3)+x2(y3y1)+x3(y1y2)A = \tfrac{1}{2}\left| x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) \right|

Solve a problem with Area of a Triangle by Coordinates

Type the problem. The solver will use Area of a Triangle by Coordinates where Area of a Triangle by Coordinates is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Area of a Triangle by Coordinates takes
AA
xix_i
yiy_i
Area of a Triangle by Coordinates
SymbolMeaning
AAThe area of the triangle, measured in square units; always non-negative because of the absolute value signs.
xix_iThe x-coordinate (horizontal position) of the ii-th vertex; can be any real number, positive, negative, or zero.
yiy_iThe y-coordinate (vertical position) of the ii-th vertex; can be any real number, positive, negative, or zero.

When to use it

Use this when you have a triangle's three vertices as coordinate pairs and need to find its area without calculating base and height separately.

Level

Usually taught in: Geometry

Worked examples

1. Triangle with small positive coordinates

Problem

Find the area of a triangle with vertices at (1,2)(1, 2), (4,3)(4, 3), and (2,5)(2, 5).
  1. x1=1,y1=2,x2=4,y2=3,x3=2,y3=5x_1 = 1, \quad y_1 = 2, \quad x_2 = 4, \quad y_2 = 3, \quad x_3 = 2, \quad y_3 = 5

    Identify and label each coordinate from the three given vertices.

  2. A=12x1(y2y3)+x2(y3y1)+x3(y1y2)A = \frac{1}{2}|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|

    Write the coordinate area formula.

  3. A=121(35)+4(52)+2(23)A = \frac{1}{2}|1(3 - 5) + 4(5 - 2) + 2(2 - 3)|

    Substitute the coordinates into the formula.

  4. A=121(2)+4(3)+2(1)A = \frac{1}{2}|1(-2) + 4(3) + 2(-1)|

    Evaluate the differences in each set of parentheses.

  5. A=122+122A = \frac{1}{2}|-2 + 12 - 2|

    Multiply each first coordinate by its corresponding difference.

  6. A=128A = \frac{1}{2}|8|

    Add the three products together.

  7. A=128=4A = \frac{1}{2} \cdot 8 = 4

    Take the absolute value and multiply by 12\frac{1}{2}.

Answer: A=4 square unitsA = 4 \text{ square units}

The area is 4 square units. Because the expression inside the absolute value was already positive, the absolute value did not change the result. This straightforward case helps you see each step of the formula without sign complications.

2. Triangle with negative coordinates

Problem

Find the area of a triangle with vertices at (2,1)(-2, 1), (3,1)(3, -1), and (0,4)(0, 4).
  1. x1=2,y1=1,x2=3,y2=1,x3=0,y3=4x_1 = -2, \quad y_1 = 1, \quad x_2 = 3, \quad y_2 = -1, \quad x_3 = 0, \quad y_3 = 4

    Identify and label each coordinate, including the negative values.

  2. y2y3=14=5y_2 - y_3 = -1 - 4 = -5

    Calculate the first difference.

  3. y3y1=41=3y_3 - y_1 = 4 - 1 = 3

    Calculate the second difference.

  4. y1y2=1(1)=2y_1 - y_2 = 1 - (-1) = 2

    Calculate the third difference, being careful with the double negative in 1(1)1 - (-1).

  5. A=12(2)(5)+3(3)+0(2)A = \frac{1}{2}|(-2)(-5) + 3(3) + 0(2)|

    Substitute all values into the formula.

  6. A=1210+9+0A = \frac{1}{2}|10 + 9 + 0|

    Multiply each x-coordinate by its difference term.

  7. A=1219A = \frac{1}{2}|19|

    Add the products.

  8. A=1219=192=9.5A = \frac{1}{2} \cdot 19 = \frac{19}{2} = 9.5

    Take the absolute value and multiply by 12\frac{1}{2} to get the final area.

Answer: A=192=9.5 square unitsA = \frac{19}{2} = 9.5 \text{ square units}

With negative coordinates, tracking signs becomes more critical. Notice the double negative in 1(1)=21 - (-1) = 2 and how the product (2)(5)=10(-2)(-5) = 10 becomes positive. The formula handles all these cases correctly if you substitute carefully.

3. Triangular garden bed area

Problem

A landscaper is designing a triangular garden bed in a rectangular yard. On a scale drawing, the three corners are located at (1,1)(1, 1), (7,1)(7, 1), and (4,5)(4, 5). What is the area of the garden bed?
  1. x1=1,y1=1,x2=7,y2=1,x3=4,y3=5x_1 = 1, \quad y_1 = 1, \quad x_2 = 7, \quad y_2 = 1, \quad x_3 = 4, \quad y_3 = 5

    Extract the coordinates of the three corners from the problem.

  2. y2y3=15=4y_2 - y_3 = 1 - 5 = -4

    Find the first difference: corner 2's y minus corner 3's y.

  3. y3y1=51=4y_3 - y_1 = 5 - 1 = 4

    Find the second difference: corner 3's y minus corner 1's y.

  4. y1y2=11=0y_1 - y_2 = 1 - 1 = 0

    Find the third difference: since two corners share the same y-coordinate, this difference is zero.

  5. A=121(4)+7(4)+4(0)A = \frac{1}{2}|1(-4) + 7(4) + 4(0)|

    Substitute all coordinates into the area formula.

  6. A=124+28+0A = \frac{1}{2}|-4 + 28 + 0|

    Multiply each x-coordinate by its corresponding difference.

  7. A=1224A = \frac{1}{2}|24|

    Add the three products together.

  8. A=1224=12A = \frac{1}{2} \cdot 24 = 12

    Calculate the final area.

Answer: A=12 square unitsA = 12 \text{ square units}

The garden bed has an area of 12 square units on the scale drawing. Notice that two vertices shared the same y-coordinate (both at y=1y = 1), which means that side is horizontal. This makes intuitive sense: the horizontal base runs from (1,1)(1, 1) to (7,1)(7, 1), a distance of 6 units, the height is 4 units up to (4,5)(4, 5), and 12×6×4=12\frac{1}{2} \times 6 \times 4 = 12 confirms the coordinate formula result.

Common mistakes

Where Area of a Triangle by Coordinates usually goes wrong
Answer came out wrong
A student calculates x1(y2y3)+x2(y3y1)+x3(y1y2)x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) and gets 10-10, then writes A=12(10)=5A = \frac{1}{2}(-10) = -5 square units.
Write A=1210=1210=5A = \frac{1}{2}|-10| = \frac{1}{2} \cdot 10 = 5 square units; the negative sign disappears inside the absolute value.
Given vertices (2,3)(2, 3), (5,1)(5, 1), and (4,6)(4, 6), a student writes x1=3,y1=2x_1 = 3, y_1 = 2 by reversing the first coordinate pair, then applies the formula with the swapped values.
Always read coordinates as (x,y)(x, y) in that order, so (2,3)(2, 3) means x1=2x_1 = 2 and y1=3y_1 = 3, not the reverse.
A student computes x1(y2y3)=2(4)=8x_1(y_2 - y_3) = 2(4) = 8 correctly but then forgets to add the other two terms, writing A=128A = \frac{1}{2}|8| instead of continuing to x2(y3y1)x_2(y_3 - y_1) and x3(y1y2)x_3(y_1 - y_2).
Write out all three products explicitly before adding: first x1(y2y3)x_1(y_2 - y_3), second x2(y3y1)x_2(y_3 - y_1), third x3(y1y2)x_3(y_1 - y_2), then sum them before taking the absolute value.
The mistakeWhy it is wrongThe fix
A student calculates x1(y2y3)+x2(y3y1)+x3(y1y2)x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) and gets 10-10, then writes A=12(10)=5A = \frac{1}{2}(-10) = -5 square units.Area cannot be negative; the absolute value bars must be applied to the entire sum before multiplying by 12\frac{1}{2}.Write A=1210=1210=5A = \frac{1}{2}|-10| = \frac{1}{2} \cdot 10 = 5 square units; the negative sign disappears inside the absolute value.
Given vertices (2,3)(2, 3), (5,1)(5, 1), and (4,6)(4, 6), a student writes x1=3,y1=2x_1 = 3, y_1 = 2 by reversing the first coordinate pair, then applies the formula with the swapped values.The formula is order-sensitive: it uses x1x_1 (the first number) and y1y_1 (the second number) in specific positions and products, so reversing them produces the wrong area.Always read coordinates as (x,y)(x, y) in that order, so (2,3)(2, 3) means x1=2x_1 = 2 and y1=3y_1 = 3, not the reverse.
A student computes x1(y2y3)=2(4)=8x_1(y_2 - y_3) = 2(4) = 8 correctly but then forgets to add the other two terms, writing A=128A = \frac{1}{2}|8| instead of continuing to x2(y3y1)x_2(y_3 - y_1) and x3(y1y2)x_3(y_1 - y_2).The formula requires adding three separate products; using only one of them gives a dramatically incorrect answer.Write out all three products explicitly before adding: first x1(y2y3)x_1(y_2 - y_3), second x2(y3y1)x_2(y_3 - y_1), third x3(y1y2)x_3(y_1 - y_2), then sum them before taking the absolute value.

Tips and when to use something else

  • The absolute value bars are essential: even if you label the vertices clockwise instead of counterclockwise, you still get the correct positive area.
  • This formula is called the Shoelace Formula because the products loop around the vertices like laces tightening—x1x_1 pairs with a difference of yy values, x2x_2 pairs with the next difference, and x3x_3 pairs with the third, cycling through.
  • If all three vertices are collinear (on the same line), the formula correctly returns zero—a useful check that your three points truly form a proper triangle and are not degenerate.
  • When you know the base and height of a triangle directly, the formula A=12×base×heightA = \frac{1}{2} \times \text{base} \times \text{height} is faster and simpler; use the coordinate formula only when working with points on a coordinate plane.

Frequently asked questions

Why do we need absolute value bars in the formula for area?
Area must always be positive. Depending on the order in which you label the vertices (clockwise or counterclockwise), the sum inside the bars can come out negative. The absolute value ensures that the final answer is always the correct positive area, regardless of labeling order.
Does the orientation or position of the triangle on the coordinate plane matter?
No. The formula works for any triangle, whether it is oriented with a flat base, tilted at an angle, or positioned anywhere on the plane. The coordinates of the vertices are all the formula needs; physical orientation makes no difference.
What if I label the vertices in a different order?
You can label the vertices in any order. The formula will always give the correct area (after taking the absolute value), although the numerical value before the absolute value might be positive or negative depending on how you assign the labels 11, 22, and 33.
How does the Shoelace Formula relate to the familiar base-times-height formula?
The Shoelace Formula and 12×base×height\frac{1}{2} \times \text{base} \times \text{height} always produce the same answer. The coordinate formula is more powerful because it extracts the area directly from coordinates using algebra, without requiring you to identify which side is the base or to calculate the perpendicular height.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18