Skip to content

Triangle Calculator

Enter any three sides or angles to solve the triangle and see it drawn to scale.

How the triangle calculator works

A triangle is fixed by three values as long as at least one of them is a side. Side a is opposite angle A, side b opposite B and side c opposite C, and the angles always add up to 180°.

With three sides (SSS) or two sides and the angle between them (SAS), the law of cosines finds the rest: c² = a² + b² − 2ab·cos C. With one side and two angles (ASA or AAS), the third angle is 180° minus the other two, and the law of sines gives the sides: a/sin A = b/sin B = c/sin C.

Two sides and an angle that isn't between them (SSA) is the ambiguous case: there can be no triangle, one, or two. When two fit, both are shown. Area is ½ab·sin C; the inradius is area divided by the semiperimeter and the circumradius is a / (2 sin A).

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

No. Three angles fix the shape but not the size, so infinitely many similar triangles fit. You need at least one side.

The side opposite the known angle can swing to two positions that both reach the third side, one making an acute angle and one an obtuse angle. That is why SSA is called the ambiguous case.

Use Heron's formula: area = √(s(s − a)(s − b)(s − c)), where s is half the perimeter. For sides 3, 4 and 5 that gives 6.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.