GintiCalcEvery calculation

TriSolve

Triangle Calculator

Three given parts — sides, angles, or a mix — solve the whole triangle, including area.

Triangles solved from three sides

With all three sides known, the law of cosines gives every angle and Heron's formula gives the area.

abcAngle AAngle BAngle CAreaPerimeter
34536.87053.13090.0006.000012.00
55560.00060.00060.00010.825315.00
681036.87053.13090.00024.000024.00
78948.19058.41273.39826.832824.00
10101253.13053.13073.74048.000032.00
5121322.62067.38090.00030.000030.00

Rows one, three and six all produce a 90 degree angle because they are Pythagorean triples - the law of cosines reduces to Pythagoras exactly when the triangle is right-angled. Row two is equilateral, so every angle is 60. Rows two and five are isosceles, and their equal sides produce equal opposite angles. Angles always sum to 180, which is the quickest check on any answer. Three sides only form a triangle if each is shorter than the other two combined; violate that and no triangle exists.

Which laws apply

Law of Cosines handles SSS and SAS cases. Law of Sines handles ASA. Right triangles have shortcuts via Pythagoras and basic trig.

Triangle area formulas

Area = ½ × base × height (if you know the height). Heron's formula: Area = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2. SAS formula: Area = ½ × a × b × sin(C). This calculator picks the best formula based on your inputs.

Frequently asked questions

How do I solve a triangle with 3 sides (SSS)?

Use the Law of Cosines to find each angle: cos(A) = (b² + c² − a²) / (2bc). Find the largest angle first (opposite the longest side), then use Law of Cosines or Sines for the second, and subtract both from 180° for the third. Area via Heron's formula: √(s(s−a)(s−b)(s−c)).

What is the Law of Sines?

a/sin(A) = b/sin(B) = c/sin(C). It relates each side to the sine of its opposite angle. Use it when you know an angle-side pair plus one more angle or side. Watch for the ambiguous case (SSA): two different triangles may satisfy the same inputs.

How do I find the area of a triangle?

If you know base and height: Area = ½ × base × height. If you know two sides and the included angle: Area = ½ × a × b × sin(C). If you know all three sides: Heron's formula — semi-perimeter s = (a+b+c)/2, Area = √(s(s−a)(s−b)(s−c)).

Related Math calculators

You might also like

Last updated: September 6, 2026