CalculatorSignAll calculators

Area of a Triangle Calculator from Three Coordinates

Use three Cartesian coordinate pairs to find triangle area, orientation, and centroid.

Area of a Triangle Calculator from Three Coordinates

Result
—

Use this calculator on your site

Paste the full code, including the CalculatorSign credit, into a Custom HTML block on your site.

Preview widget

Three vertices on a Cartesian grid determine the area of a triangle even when its sides do not line up with the axes. Enter the x and y coordinates of each vertex. The calculator gives the area, tells you whether the vertices are listed clockwise or counterclockwise, and shows the centroid of the three points.

Keep the coordinates in the same coordinate system

Each vertex has a horizontal x coordinate and a vertical y coordinate. Enter A, B, and C in the order you want to inspect. Negative values are allowed. The area is independent of where you begin or the direction you travel around the vertices. The orientation is based on that direction, so reversing two points changes the orientation.

Use the same length unit on both axes. If the coordinate values are in meters, the result is in square meters. If they are in an unnamed coordinate unit, report the area in square coordinate units. A drawing can be stretched on a screen or printed with separate scales. Use the underlying coordinate numbers to determine area.

The centroid is the coordinate mean of the three vertices. It describes the common intersection of the triangle's medians for a nondegenerate triangle. Adding all three x values and dividing by three gives its x coordinate. The y coordinate is calculated the same way from the three y values.

Translate the calculation to one vertex

The calculator first forms the displacements from A to B and from A to C. For A at negative two, one; B at six, two; and C at one, eight, the two displacement pairs are (8, 1) and (3, 7). These give the differences in x and y that define two sides starting from A.

Multiply the first x difference by the second y difference, giving 8 times 7, or 56. Multiply the first y difference by the second x difference, giving 1 times 3, or 3. Subtract the second product from the first to obtain 53. That is the signed area of the parallelogram spanned by the two displacements. A triangle occupies half that area, so the answer is 26.5 square units.

The sign is positive for this vertex order on ordinary Cartesian axes, which corresponds to counterclockwise orientation. The centroid coordinates are one third of the sums of the three x and y values. The x sum is five and the y sum is eleven, so the exact centroid is (5/3, 11/3), approximately (1.6667, 3.6667).

Verify the result by changing the order

Swap B and C in the example. The displacement pairs are now (3, 7) and (8, 1). Their products are 3 times 1 and 7 times 8, giving a difference of minus 53. Taking the absolute value and halving again gives 26.5. The orientation changes to clockwise. The centroid is unchanged because the same three values are averaged on each axis.

If you shift all three points by the same offset, the displacement pairs also stay the same. The area and orientation are preserved while the centroid shifts with the vertices. That makes a coordinate translation a useful way to check two equivalent descriptions of the same triangle.

To check a triangle with a horizontal base, enter (0, 0), (10, 0), and (4, 6). The horizontal base has length 10. Its perpendicular height to the third vertex is six, so the area is half of 10 times 6, or 30. The coordinate method gives the same area using the displacement products.

Identify when three points do not enclose an area

Points on one straight line give zero area. For instance (1, 1), (3, 3), and (5, 5) have differences with matching slopes, so the two products cancel. Repeated points also produce zero area. Their coordinate mean can still be computed even though there is no ordinary triangular region.

Very close points or nearly aligned points can make the signed product difference much smaller than the products being subtracted. The tool flags orientation that is degenerate at its numerical precision. For measurements with known uncertainty, use that precision when interpreting an area close to zero. A calculated nonzero decimal can be smaller than what the measured coordinates can reliably distinguish.

If you are working from a map or plan, identify whether it supplies Cartesian coordinates. Latitude and longitude measure angles, and engineering drawings can use different scales. Make sure the coordinates have been put in a consistent planar system before treating their differences as lengths.

Frequently asked questions

Do I have to enter points starting with the lowest x coordinate?

Any starting vertex works. The area comes from all three points, and the entered order determines the orientation label.

Can I mix positive and negative coordinates?

Both are permitted. Differences between points account for which side of the origin each point occupies.

Why is the signed value divided by two?

The two side displacements define a parallelogram. The triangle formed by the same two sides and their endpoints has half the parallelogram's area.

Are centroid coordinates measured in square units?

The centroid is a position and each of its coordinates uses the original length unit. Area is the quantity expressed in square units.