Skip to content

Triangle Calculator from Coordinates

Type the coordinates of three corners, or drag them on the grid…

Type the coordinates of three corners, or drag them on the grid, to get the side lengths, angles and area, exact for whole-number points.

Point A
Point B
Point C

Corners in any order. Side a is opposite A (from B to C), and so on.

More optionsNo length unit

Length unit

A label for the answers; the maths is the same in any unit.

ExampleArea

11sq units

By the shoelace formula. The triangle is obtuse and scalene, with one angle over 90°.

Type your own values, or drag a corner.

a 7.28b 4.47c 5A100.3°(1, 2)B37.2°(5, −1)C42.5°(3, 6)

Drag a corner; it snaps to the grid every whole unit.

Every side and angle of the triangle
SideOpposite angle
a = 7.2801exactly √53A = 100.305°
b = 4.4721exactly 2√5B = 37.185°
c = 5C = 42.51°

Area 11Perimeter 5 + 2√5 + √53 ≈ 16.7522

Perimeter, heights and circlesEvery other measurement of this triangle
More measurements of the triangle
Area11 square units
Perimeter5 + 2√5 + √53 ≈ 16.7522
Height to side a3.0219
Height to side b4.9193
Height to side c4.4
Inradius (inscribed circle)1.3133
Circumradius (circle through the corners)3.6997
Angles in radiansA 1.7506, B 0.649, C 0.7419
How this works: 6 sources,

How this works

Method

Each side is the distance between two corners, found with the distance formula, which is Pythagoras on the horizontal and vertical gaps: d = √((x₂ − x₁)² + (y₂ − y₁)²). From (0, 0) to (2, 5) that is √(4 + 25) = √29. Full method

How it’s tested

2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.

Privacy

On your device. Nothing you enter or open leaves this browser. About privacy labels

Changes

  • First published: any three values, both triangles in the ambiguous case, exact answers, worked steps, a drawing you can drag and seven focused pages.

Every change on What’s new

How we make toolsReport a mistake

How to work out a triangle from its corners

Each side is the distance between two corners, found with the distance formula, which is Pythagoras on the horizontal and vertical gaps: d = √((x₂ − x₁)² + (y₂ − y₁)²). From (0, 0) to (2, 5) that is √(4 + 25) = √29.

The area comes straight from the coordinates by the shoelace formula: multiply each x by the difference of the other two y values, add, and halve. For the corners (0, 0), (6, 0) and (2, 5) it is ½ |0 × (0 − 5) + 6 × (5 − 0) + 2 × (0 − 0)| = ½ × 30 = 15. The sign of the sum before the bars says whether the corners go round anticlockwise (positive) or clockwise.

With the three sides known, the angles come from the law of cosines, as for any triangle: here about 68.2°, 51.34° and 60.46°. Whole-number corners always give an area that is a whole number or ends in .5, and side lengths that are square roots of whole numbers, which is why the calculator can keep them exact.

d = √((x₂ − x₁)² + (y₂ − y₁)²) · Area = ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|

Triangles from corner coordinates

Side lengths, area and largest angle for triangles given by three points, worked out with the distance and shoelace formulas.

Side lengths, area and largest angle for triangles given by three points, worked out with the distance and shoelace formulas.
CornersSidesAreaLargest angle
(0, 0) (4, 0) (0, 3)5, 3, 4690°
(0, 0) (6, 0) (2, 5)√41, √29, 61568.2°
(1, 2) (5, −1) (3, 6)√53, 2√5, 511100.3°
(−2, −1) (3, 1) (0, 4)3√2, √29, √2910.566.8°
(0, 0) (5, 0) (2.5, 4.33)√249989/100, √249989/100, 510.82560°
(1, 1) (7, 1) (4, 9)√73, √73, 62469.44°
(−3, 2) (2, −2) (4, 5)√53, √58, √4121.567.29°
(0, 0) (8, 2) (3, 7)5√2, √58, 2√172568.2°

Common questions

Does the order of the points matter?

Not for the lengths, angles or area. The order only names the corners (the first point is A) and decides the sign inside the shoelace formula, which the absolute value removes.

What if the three points are on one line?

Then the shoelace sum is 0 and there is no triangle, only a line segment. The calculator says so; move one point off the line.

How do I check a right angle from coordinates?

Two sides are perpendicular when the products of their gaps cancel: from (0, 0) to (4, 0) and to (0, 3), 4 × 0 + 0 × 3 = 0. Or check Pythagoras on the side lengths: 3² + 4² = 5².