What the Triangle Calculator does
The Triangle Calculator solves a triangle from any three values, as long as at least one of them is a side. Give it three sides, two sides and an angle, or two angles and a side, and it works out everything else: the missing sides and angles, the area, the perimeter, the three heights, the radius of the inscribed and circumscribed circles, and whether the triangle is acute, right-angled or obtuse. A drawing to scale shows the shape, which makes it easy to spot a value typed into the wrong box.
How to use it
- Type any three known values into the boxes and leave the other three empty.
- Remember that side a is opposite angle A, side b opposite angle B and side c opposite angle C.
- Read the area and every side and angle in the result. The method used is shown at the top.
- If two different triangles fit your values, both are listed.
Example
With sides 7, 8 and 9, the angles are about 48.19°, 58.41° and 73.40°, the perimeter is 24 and the area is 26.83. The triangle is scalene and acute, since every angle is under 90°.
Which rule is used
With three sides (SSS), the law of cosines gives each angle: cos A = (b² + c² − a²) ÷ 2bc. With two sides and the angle between them (SAS), the law of cosines first gives the third side. With two angles and a side (ASA or AAS), the third angle is 180° minus the other two, and the law of sines, a ÷ sin A = b ÷ sin B = c ÷ sin C, gives the other sides.
Two sides and an angle that is not between them (SSA) is the ambiguous case. With a = 8, b = 10 and A = 40°, two different triangles fit: one with B ≈ 53.46° and one with B ≈ 126.54°. The calculator shows both. Sometimes no triangle fits at all, because the side opposite the angle is too short to reach.
Questions people ask
Is anything I enter sent anywhere?
No. The calculator works entirely in your browser, so your numbers stay on your device.
Why can I not enter three angles?
Three angles fix the shape but not the size: a small and a large triangle can have the same angles. You need at least one side.
What does “sides cannot make a triangle” mean?
Any two sides together must be longer than the third. Sides 1, 2 and 3 cannot meet, because 1 + 2 is not more than 3.
What units should I use?
Any unit, as long as all sides use the same one. The area comes out in that unit squared, such as cm² for sides in cm. Angles are always in degrees.