Triangle Area from Coordinates Calculator

Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/5/2026

Area = |xA(yB − yC) + xB(yC − yA) + xC(yA − yB)| ÷ 2. For vertices (0, 0), (4, 0) and (0, 3), you get |0 + 4 × 3 + 0| ÷ 2 = 6 square units, with no need to know a base or height.

Explanation

The classic formula, base × height ÷ 2, requires a height, which you rarely have when a triangle is given by the coordinates of its vertices on a grid. Coordinate geometry offers a more direct route: the area is half the absolute value of a determinant built from the coordinates. In practice, you compute xA(yB − yC) + xB(yC − yA) + xC(yA − yB), take the absolute value and divide by two. This determinant is the area of the parallelogram spanned by vectors AB and AC; the triangle is exactly half of it. It is also the three-vertex case of the shoelace formula, which gives the area of any simple polygon from its vertices. The sign of the determinant, lost when taking the absolute value, carries useful information: it is positive when vertices A, B, C run counterclockwise and negative when they run clockwise. If it is zero, the three points are collinear and the triangle is degenerate: this is a collinearity test widely used in computational geometry and computer graphics. The calculator also shows the perimeter, the sum of the three sides computed with the Euclidean distance. The area is in the square of the coordinate unit: if coordinates are in meters, the area is in square meters. For a land survey, make sure the coordinates are planar, not degrees of latitude and longitude. If you know the base and height or the three sides instead, use the triangle area calculator; for the length of a single side, the distance between two points calculator.

Example: vertices (−2, −1), (3, 4) and (6, −2)

Inputs

A(−2, −1), B(3, 4), C(6, −2).

Calculation

xA(yB − yC) = −2 × (4 + 2) = −12. xB(yC − yA) = 3 × (−2 + 1) = −3. xC(yA − yB) = 6 × (−1 − 4) = −30. Sum = −45. Area = |−45| ÷ 2 = 22.5.

Result

The area is 22.5 square units; the negative determinant shows that A, B, C run clockwise.

Frequently asked questions

Does the order of the vertices change the area?

No, only the sign of the determinant. Swapping two vertices reverses the direction, hence the sign, but the absolute value, and so the area, stays the same.

What does a zero area mean?

That the three points are collinear: they do not form a real triangle. It is a simple way to test whether three points lie on a line.

Can I use GPS coordinates?

Not directly: latitude and longitude are angles on a sphere. Convert them first into planar coordinates, for example in a UTM projection, in meters.

Related resources

Similar calculators