Area of a Triangle With Coordinates Calculator
Calculate the area of a triangle from the coordinates of its three vertices with the shoelace formula. Also finds the perimeter, side lengths, interior angles, centroid, and whether the points are collinear.
https://hexacalculator.com/calculators/mathematics/geometry/area-triangle-coordinates-calculator
Mathematics
Geometry
Area of a Triangle With Coordinates Calculator
Calculate the area of a triangle from the coordinates of its three vertices with the shoelace formula. Also finds the perimeter, side lengths, interior angles, centroid, and whether the points are collinear.
Area of a Triangle With Coordinates Calculator
Triangle vertices
Enter the x and y coordinates of the three corners A, B, and C. The calculator applies the shoelace formula to get the area, then reads off the perimeter, the side lengths, the interior angles, and the centroid.
Estimate the plot's value from its area
Multiply the area by a price per square unit for a quick land or material estimate.
- Perimeter
- Side AB
- Side BC
- Side CA
- Angle A
- deg (°)
- Angle B
- deg (°)
- Angle C
- deg (°)
- Centroid x
- Centroid y
All three sides differ, so this is a scalene triangle.
One angle is 90 degrees, so this is a right triangle.
Listing the vertices A, B, then C traces the triangle counter-clockwise, so the signed area is positive.
This triangle has sides 4, 5, and 3, a perimeter of 12, and an area of 6. Its centroid sits at (1.3333, 1).
Charts and analysis
Sometimes you don't know the lengths of a triangle's sides or its angles. You only know the positions of its three vertices, each with a set of coordinates. If you enter those three points into this calculator, it will give you not only the area but also the perimeter, side lengths, interior angles and centroid.
At the core is the "shoe-string formula". This is a simple method of analytic geometry that allows you to convert six numbers directly into area without having to measure base or height.
Formula for area of triangle using coordinates:
Let's call the three vertices A, B and C and give each vertex an x-coordinate and a y-coordinate. The area of the triangle thus formed is as follows:
Here A is the point (x1, y1), B is the point (x2, y2) and C is the point (x3, y3). The vertical bars indicate absolute value so that a positive area results regardless of the order in which the points are arranged.
The same result can be obtained as a determinant; this is the origin of the name of the method. If one writes the coordinates in a grid and multiplies along the diagonal, it looks like shoelaces crossing.
A step by step method to calculate the area of a triangle given its coordinates:
The 'tie shoe' formula can be calculated manually in several steps.
First, calculate the expression inside of the vertical bars: multiply x1 by (y2-y3), x2 by (y3-y1), and then add that result to x3 multiplied by (y1-y2).
Then take the absolute value of this number, which removes all negative signs.
Finally divide the result by 2. The resulting value is the area of the triangle, with units being the square unit of the unit used in the coordinates.
Side lengths and perimeter.
Each side of the triangle is the straight line distance between two points and can be found with the Distance Formula. For example, let's find the length between point A and point B.
The same calculations are performed for the sides B to C and C to A, and when you add up the lengths of all three sides, you get the perimeter. This calculator calculates each side individually then sums them together.
Angle, centroid, shape
If the lengths of the three sides are known, any interior angle can be calculated using the law of cosines. The angle at vertex A is opposite side BC.
The centroid is the center of mass of a triangle and also the intersection point of its three medians. The calculation is even easier: it's the average of the coordinates of the three vertices.
Based on the side lengths this calculator will determine if the triangle is scalene, isosceles or equilateral. Also based on angles it will be classified as acute, right or obtuse.
Cases where points are collinear and area is zero:
The shoelace formula can also be used to quickly determine if three points are on a straight line. If the expression inside of the absolute value bars is exactly zero, then the three points lie on a line and do not enclose any area, so they do not form a triangle. All other values indicate that these points do form a real triangle. This calculator shows the case where the result is zero.
Before computing the absolute value, the sign of the expression also contains information. A positive value indicates that points A, B and C are oriented counterclockwise, while a negative value indicates clockwise orientation. This signed area is the result which the shoelace formula actually computes; in computer graphics, it can be used to determine which way a shape faces.
Example calculation:
Consider a triangle with vertices A(1,2), B(-1,1) and C(0,5). Applying the shoelace formula, the expression inside the absolute value brackets is the product of 1 (multiplied by the value of 1 minus 5), -1 (multiplied by the value of 5 minus 2) and 0 (multiplied by the value of 2 minus 1). So the result is -7, with 3 subtracted from -4 and 0 added. The absolute value is 7, and half of that gives an area of 3.5 square units.
The table below shows more triangles and their respective areas.
Vertices | Area |
|---|---|
A(1, 2), B(-1, 1), C(0, 5) | 3.5 sq units |
A(0, 0), B(4, 0), C(0, 3) | 6 sq units (a 3-4-5 right triangle) |
A(0, 0), B(2, 0), C(1, 1.732) | 1.73 sq units (equilateral) |
A(0, 0), B(1, 1), C(2, 2) | 0 sq units (collinear points) |
Fields of application for this method:
Surveyors and GIS analysts often use the triangle area formula because land is usually recorded as a list of vertex coordinates rather than a list of side lengths or angles. By splitting the land into triangles and adding up their areas, the total area can be found.
This formula also appears in computer graphics and game engines. Triangles are the basic building blocks of all 3D models, and the sign of the area determines whether a triangle faces towards or away from the camera. Students learn this formula in analytic geometry classes, along with other formulas such as the distance formula and the interior point formula. They also use these tools to check their calculations.
Tips for accurate results:
Make sure that the same unit is used for each coordinate. In this calculator you can change the units for each field but area will only make sense if x and y values use the same scale. If you are measuring points in meters, all fields should be in meters with the area being calculated in square meters.
Since the absolute value is used, the area does not change based on the order of the vertices, so A, B and C can be entered in any order. If you are interested in orientation, arrange the vertices to correspond with your desired view of the triangle and check the sign of the area.
This tool is for general education and everyday planning purposes. For surveying work, construction projects or other high risk activities these values must be checked against the project standards and tolerances.
Frequently asked questions
- What is the formula to find the area of a triangle given its coordinates?
For a triangle with vertices A(x1,y1), B(x2,y2) and C(x3,y3), the area is given by half the absolute value of x1 multiplied by (y2 - y3), plus x2 multiplied by (y3 - y1), plus x3 multiplied by (y1 - y2). This formula, known as the "shoelace formula", can be applied to any triangle in the plane.
- How to calculate area of triangle given three coordinates?
Compute the value of x1(y2 - y3) + x2(y3 - y1) + x3(y1 - y2). Take the absolute value to remove the sign, then divide by two. The result is the area in square units. This calculator will perform these three steps for you, and also provide perimeter and angles.
- What is the area of a triangle with vertices at A(1, 2), B(-1, 1) and C(0, 5)?
The area is 3.5 square units. According to the "shoelace" formula, the result in the first column is obtained by multiplying 1 by the value (the value of 1 minus 5), -1 by the value (the value of 5 minus 2) and also 0 by the value (the value of 2 minus 1). The result is -7. The absolute value is 7, and half of 7 is 3.5.
- How do you determine if three points are on a line?
Again use the "Shoelace" formula. Add x1 (the value of y2 minus y3) to x2 (the value of y3 minus y1), then add x3 (the value of y1 minus y2). If the result is exactly zero, the three points are on a straight line and therefore collinear. In this case no triangle can be formed. A non-zero value indicates that a true triangle will be formed.
- How to calculate a triangle's perimeter given its coordinates?
Use the distance formula to determine the length of each side. This means taking the square root of the sum of squares of differences in x and y, then adding up all three sides. This calculator automatically calculates each side and perimeter.
- Does changing the order of the vertices change the area?
It doesn't change anything. Because the official formula for shoelaces takes the absolute value, it results in the same area regardless of whether the vertices are arranged clockwise or counterclockwise. What changes depending on the order is only the sign of the area formed before the absolute value. This indicates the direction but not the size.
Related calculators






Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.
References
- Wikipedia: Shoelace formula
The determinant and coordinate forms for the area of a polygon or triangle from its vertices, including the signed-area interpretation.
- Wikipedia: Distance (Euclidean distance)
The distance formula used to turn two pairs of coordinates into a side length.
- Wikipedia: Law of cosines
How the three side lengths of a triangle determine each of its interior angles.
- Wikipedia: Centroid
The centroid of a triangle as the average of its three vertex coordinates.