A triangle coordinates calculator takes the three corner points of a triangle and gives its area, its centroid, its circumcenter and circumradius, its orthocenter, its side lengths and its angles. Enter the x and y values of each point and press the button. It follows the shoelace method for the area and the definitions on Wikipedia's pages on the centroid and the circumscribed circle, and it works in your browser. It covers the area of a triangle given coordinates, the centroid of a triangle, the circumcenter and the circumscribed circle.
How to use the triangle coordinates calculator
- Enter x₁ and y₁, the coordinates of the first corner.
- Enter x₂ and y₂ and x₃ and y₃ for the other two corners.
- Press Work out the triangle.
- Read the area, the centers and the other measures.
The area from coordinates
The area comes from the shoelace formula, which Wikipedia describes for any polygon: half of the absolute value of the sum of x of each point times y of the next point minus x of the next point times y of the point. For a triangle with corners at (0, 0), (6, 0) and (0, 3), the sum is 18 and the area is 9. The same formula works for any order of the points, and the sign tells you whether they go round in the clockwise or the counterclockwise direction. If the area is zero, the points lie on one line, and the calculator reports that there is no triangle.
The centroid
The Wikipedia page on the centroid says that the centroid of a triangle is the average of its three vertices, and that it is the point where the three medians meet, dividing each median in the ratio two to one. For the corners (0, 0), (6, 0) and (0, 3), the centroid is at (2, 1). It is the center of mass of a thin plate of the shape of the triangle, which means that you can balance such a plate on a pin put at that point.
The circumcenter and the circumradius
The circumscribed circle of a triangle passes through all three corners, and its center is the circumcenter. The Wikipedia page on circumscribed circles says that such a circle always exists for a triangle. The calculator finds the circumcenter as the point that is at the same distance from the three corners, by solving the two equations of equal distance, and the circumradius is that distance. For the corners (0, 0), (4, 0) and (0, 4), the circumcenter is (2, 2) and the circumradius is 2 times the square root of 2, which is about 2.83. The formulas for the center coordinates are not stated on that page, so they are the standard algebra and not a quote.
The orthocenter
The orthocenter is the point where the three heights of the triangle meet. The centroid always lies on the line from the circumcenter to the orthocenter, at a third of the way, which gives the orthocenter as the sum of the three corners minus twice the circumcenter. For the right triangle with corners (0, 0), (4, 0) and (0, 4), the orthocenter is at the right-angle corner, (0, 0), which the calculator confirms. This relation is a standard result and not taken from the pages that we cite.
Sides, angles and type
The side lengths come from the distance formula between the points. The angles come from the law of cosines, and the type is found by comparing the sides, so that you can see at a glance whether the triangle is scalene, isosceles or equilateral, and whether it is acute, right or obtuse. The inradius, the radius of the circle inside the triangle, is the area divided by the semi-perimeter.
When to use it
The calculator is useful in coordinate geometry homework, in map and survey work where you know positions, and in design and programming, for example to find the center of a triangle of points in a drawing. If you have more than three points, the irregular polygon calculator on this site gives the area of a polygon, and the center of mass calculator gives the balance point of a set of weights.
A second example
Take the corners (1, 1), (7, 1) and (4, 5). The area is half of the base of 6 times the height of 4, which is 12. The centroid is at (4, 7/3), which is about (4, 2.333). The triangle is isosceles, since two sides have the length 5, and it is acute. You can type the numbers in any order of the corners, and the area and the centers stay the same, since they do not depend on the order.
Negative and decimal coordinates
The coordinates can be negative or decimal numbers, so the calculator works for triangles anywhere in the plane, for example with corners at (−2, 3.5), (4, −1) and (0, 0). The sign of a coordinate only says on which side of the axes the point lies, and the area, the side lengths and the angles are always positive numbers.
Common mistakes
- Giving three points on a line. They do not form a triangle.
- Mixing units. Use the same unit for x and y.
- Confusing the centers. The centroid, circumcenter and orthocenter are three different points.
- Typing a point twice. The triangle would have zero area.
What next
Use this often? Add Area Triangl to your Home screen.
Frequently asked questions
What is a triangle coordinates calculator?
A tool that gives the area, the centers and the measures of a triangle from the x and y coordinates of its three corners.
How do you find the area of a triangle from coordinates?
With the shoelace formula: half the absolute value of x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂).
What is the centroid of a triangle?
The average of the three vertices. It is where the medians meet and divides each median in the ratio 2 to 1.
What is the circumcenter?
The center of the circle through the three corners. It is at the same distance from all of them.
What if the points are on one line?
Then the area is zero and there is no triangle. The calculator tells you so.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.