Triangle Area Coordinates: Formula & Calculator
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the area of a triangle when you know the coordinates of its three vertices in a 2D plane. You enter the x and y values for each corner, and it returns the area in square units, plus the side lengths. The result is always positive, and it uses the standard coordinate geometry formula.
Formula
The area of a triangle with vertices at coordinates (x1, y1), (x2, y2), and (x3, y3) is given by the shoelace formula, simplified to:
Area = ½ | x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2) |
Where:
- (x1, y1), (x2, y2), (x3, y3) are the coordinates of the three vertices (any order).
- The vertical bars denote absolute value, ensuring the area is positive.
- The result is in square units, matching the units of the coordinate system (e.g., if coordinates are in meters, area is in square meters).
This formula comes from the determinant of a 3×3 matrix and works for any triangle, including those with negative coordinates or that are not axis-aligned.
Worked Example
Using the default values: A(0,0), B(4,0), C(2,3).
- Plug into the formula: Area = ½ | 0*(0−3) + 4*(3−0) + 2*(0−0) |
- Simplify inside: 0*(−3) = 0, 4*3 = 12, 2*0 = 0, sum = 12.
- Take absolute value: |12| = 12.
- Multiply by ½: 12 / 2 = 6.
The area is 6 square units. The calculator also shows side lengths: a = √((4−2)² + (0−3)²) = √13 ≈ 3.61, b = √((0−2)² + (0−3)²) = √13 ≈ 3.61, c = √((0−4)² + (0−0)²) = 4. This matches a right triangle with base 4 and height 3, area = ½ × 4 × 3 = 6.
When to Use Coordinate Area
This method is ideal when you have a triangle plotted on a graph or defined by points in a coordinate system, rather than by side lengths or base and height. It’s common in geometry homework, computer graphics, surveying, and any field where positions are given as x-y pairs. It also works for polygons in general (the shoelace formula extends to any number of vertices).
Unlike the base-height formula, you don’t need to identify a perpendicular height. The coordinate formula automatically handles any orientation, including triangles that are slanted, inverted, or spread across quadrants.
How to Read the Result
The output is the actual area of the triangle in square units. For example, if your coordinates are in feet, the area is in square feet. If they are in kilometers, the area is in square kilometers. The side lengths are the straight-line distances between each pair of vertices, useful for checking or for further calculations like perimeter.
If the area comes out as 0, the three points are collinear (they lie on a straight line), so they don’t form a triangle. This is a useful check for degenerate cases.
Common Mistakes and Misconceptions
- Forgetting the absolute value: Without it, you might get a negative number. The formula can produce a negative value depending on the order of the vertices, but area is always positive.
- Mixing up coordinate order: The formula works with any labeling of the vertices, but if you swap x and y within a point, you get a different triangle (unless it’s symmetric).
- Using different units: All coordinates must be in the same unit system. Mixing meters and centimeters will give a wrong area.
- Assuming base-height: The coordinate formula is not the same as ½ × base × height unless you explicitly compute the height. The shoelace method is more direct for coordinates.
Limitations and Alternatives
The coordinate formula works only in a flat 2D plane. For triangles on a sphere (like Earth’s surface), you need spherical trigonometry. For 3D triangles, you can use the cross product of two edge vectors: Area = ½ | (B−A) × (C−A) |, which gives the area of the triangle in 3D space.
If you only know side lengths (not coordinates), use Heron’s formula. If you know two sides and the included angle, use Area = ½ ab sin(C). The coordinate method is best when you have points, not lengths.
Frequently Asked Questions
Can I use this for any triangle?
Yes, as long as you have the coordinates of the three vertices in a 2D plane. The triangle can be any shape, size, or orientation.
What if my coordinates are negative?
That’s fine. The formula works with negative values. For example, A(-1, -2), B(3, 0), C(0, 4) still gives a correct positive area.
Why is the area sometimes 0?
If the three points lie on a straight line, they don’t form a triangle, and the area is 0. This is called a degenerate triangle.
Does the order of the points matter?
No. Any labeling of the vertices gives the same area (due to the absolute value). However, the side lengths are labeled relative to the opposite vertex, so side a is always opposite point A.
How do I find the area in 3D?
Use the cross product: compute vectors AB and AC, then take half the magnitude of their cross product. That gives the area of the triangle in 3D space.
Can this formula work for polygons with more than 3 sides?
Yes, the shoelace formula generalizes to any polygon. For a quadrilateral, you’d sum x_i*y_{i+1} − x_{i+1}*y_i over all vertices and take half the absolute value.
Related
Formula used
in x1 | X of point A | - | 0 | 0 in y1 | Y of point A | - | 0 | 0 in x2 | X of point B | - | 4 | 0 in y2 | Y of point B | - | 0 | 0 in x3 | X of point C | - | 2 | 3 in y3 | Y of point C | - | 3 | 0 out area | Area | sq units | abs((x1*(y2-y3) + x2*(y3-y1) + x3*(y1-y2)) / 2) | 2 out side_a | Side a (opposite A) | units | sqrt((x2-x3)^2 + (y2-y3)^2) | 2 out side_b | Side b (opposite B) | units | sqrt((x1-x3)^2 + (y1-y3)^2) | 2 out side_c | Side c (opposite C) | units | sqrt((x1-x2)^2 + (y1-y2)^2) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.