Triangle Calculator

Solve for a triangle's sides, angles, area, and more, from three known sides or angles.

Three ways to define a triangle

A triangle is fully determined by any three of its six measurements (three sides, three angles), as long as at least one side is included — three angles alone only fix the triangle's shape, not its size. SSS (three sides), SAS (two sides and the angle between them), and ASA (two angles and the side between them) are the three most common starting points.

Law of cosines and law of sines

The law of cosines (a²=b²+c²-2bc·cos A) generalizes the Pythagorean theorem to any triangle, and is what makes solving SSS and SAS possible. The law of sines (a/sin A = b/sin B = c/sin C) relates sides to their opposite angles, and is what makes solving ASA possible.

Heron's formula computes a triangle's area from its three sides alone, with no need to know any angle: Area = √[s(s-a)(s-b)(s-c)], where s is the semiperimeter (half the perimeter).

Common questions

What's the inradius and circumradius?

The inradius is the radius of the largest circle that fits entirely inside the triangle, touching all three sides. The circumradius is the radius of the circle that passes through all three vertices. Every triangle has exactly one of each.

What if my three sides can't form a triangle?

The triangle inequality requires that the sum of any two sides be greater than the third — if that's violated (say, sides 2, 3, and 10), no triangle exists with those measurements.

More Math Calculators

Pick another tool to jump straight to it.