Triangle Solver from Coordinates

Enter the coordinates of three vertices to calculate all side lengths and angles of a triangle. This free geometry calculator uses the distance formula and the law of cosines.

Triangle Calculator

A ( , )
B ( , )
C ( , )
Side AB =
Side BC =
Side CA =
Angle A (°) =
Angle B (°) =
Angle C (°) =

How the Triangle Is Solved

Step 1: Distance Between Two Points

The length of each side is found using the distance formula:

\[ AB=\sqrt{(x_B-x_A)^2+(y_B-y_A)^2} \]

The same formula is applied to find \(BC\) and \(CA\).

Step 2: Find Angles Using the Law of Cosines

\[ A=\cos^{-1}\left(\frac{AB^2+AC^2-BC^2}{2AB\cdot AC}\right) \] \[ B=\cos^{-1}\left(\frac{AB^2+BC^2-CA^2}{2AB\cdot BC}\right) \] \[ C=\cos^{-1}\left(\frac{BC^2+CA^2-AB^2}{2BC\cdot CA}\right) \]

These formulas compute the three interior angles of the triangle in degrees.

Educational Notes

This calculator is useful for coordinate geometry, analytic geometry, and triangle problems involving vertices. It helps students visualize how algebra and geometry work together.

More Online Geometry Calculators