How three sides fix a triangle
Three side lengths determine a triangle when each side is shorter than the other two added together. The area comes from Heron’s formula. With semi-perimeter s = (a + b + c) / 2, the area is √(s(s − a)(s − b)(s − c)). Each angle comes from the law of cosines: the angle opposite side a satisfies cos A = (b² + c² − a²) / (2bc).
The largest angle decides the type. If the squares of the two shorter sides add up to the square of the longest side, the triangle is right. If they add up to less, it is obtuse. Otherwise it is acute. The inradius is the area divided by the semi-perimeter. The circumradius is abc divided by 4 times the area.
Example: sides 5, 5, and 6
The semi-perimeter is 8, and the area is 12. The angle opposite the side of length 6 is about 73.74°. The two base angles, opposite the equal sides, are each about 53.13°. The triangle is acute and isosceles.
Sides 3, 4, and 5 give area 6 and a 90° angle, which matches the Pythagorean calculator. Sides 2, 3, and 4 fail the right-angle test and come back obtuse, with an area of about 2.90.
Questions people ask
What if I know the base and the height instead?
The older triangle calculator on this site uses area = ½ × base × height. This one is for the case where you know the three sides and do not have the height.
Why does the calculator reject some numbers?
A side longer than the other two combined cannot close the shape. Sides 1, 2, and 10 are an example. Shorten the long side or lengthen the other two.
Which angle is A?
Angle A is opposite side a, angle B is opposite side b, and angle C is opposite side c. The labels follow the sides you typed, not a diagram.