Triangle Calculator

Solve for all sides, angles, area, and perimeter of a triangle from three known measurements (SSS, SAS, or ASA).

Known Values

Result

Area
6
Valid triangle
Side a
Side b
Side c
Angle A
Angle B
Angle C
Perimeter
Advertisement

How Triangle Solving Works

Depending on which three measurements you know, this calculator uses the Law of Cosines, Law of Sines, and Heron's Formula to solve for the remaining sides and angles.

Formulas

Law of Cosines: c² = a² + b² − 2ab·cos(C)
Law of Sines: a/sin(A) = b/sin(B) = c/sin(C)
Heron's Formula: Area = √(s(s−a)(s−b)(s−c)), where s = (a+b+c)/2
SAS Area: Area = ½ab·sin(C)

Frequently Asked Questions

What is the triangle inequality?

For three side lengths to form a valid triangle, the sum of any two sides must be greater than the third side. If this fails, no triangle exists.

Do the three angles of a triangle always add up to 180°?

Yes, in Euclidean geometry the interior angles of any triangle always sum to exactly 180 degrees.

Which mode should I use?

Use SSS if you know all three sides, SAS if you know two sides and the angle between them, or ASA if you know two angles and the side between them.

Related Calculators