Triangle calculator
Enter any three of the three sides and three angles to find the rest, plus the area, perimeter and more.
About Triangle Calculator
A triangle has six parts, three sides and three angles, and three of them are usually enough to find the others. Fill in any three values and this calculator works out which case you have: three sides, two sides and the angle between them, two angles and a side, or two sides and an angle that is not between them. In that last case there can be two different triangles, and the calculator shows both. You also get the area, perimeter, heights, medians, inradius, circumradius and the type of triangle, with the law of cosines and the law of sines written out.
- Solving triangle problems from trigonometry homework.
- Finding a missing side or angle in a survey or a build.
- Getting the area of a triangle from sides and angles.
- Checking whether given values make a valid triangle.
How to use Triangle Calculator
Step 1
Fill in exactly three boxes. Sides go in a, b, c and angles in degrees in A, B, C.
Step 2
Remember that side a is opposite angle A, and so on.
Step 3
Read the results, the details table and the working.
Good to know
- Clear every box you are not using. The calculator needs exactly three values so that nothing can contradict anything else.
- Three angles cannot work alone because many triangles of different sizes share the same angles. Add at least one side.
- Angles are in degrees only, and lengths can be in any unit as long as you use the same one for all sides.
Common questions
What is the ambiguous case of a triangle?
With two sides and an angle opposite one of them (SSA), the same measurements can sometimes fit two different triangles. The calculator shows both when they exist.
How do I know which side is opposite which angle?
Side a is across from angle A, side b from angle B and side c from angle C.
What are the law of sines and the law of cosines?
Law of sines: a / sin A = b / sin B = c / sin C. Law of cosines: c² = a² + b² - 2ab cos C. Together they solve any triangle.