Skip to content

Triangle Calculator

Enter three values (SSS, SAS, ASA, AAS or SSA) to find the missing sides and angles, the area, perimeter, heights and the in- and circum-radius.

Formulas last reviewed: September 2026

Disclaimer: Results are calculated with standard formulas and are meant for learning and quick checks. Please double-check important work, especially anything used for exams, engineering, finance or safety.

Solving a triangle

A triangle has six measurements: three sides and three angles. If you know any three of them, including at least one side, the rest can be found. This is called solving the triangle, and which method applies depends on what you know: SSS (three sides), SAS (two sides and the angle between them), ASA or AAS (two angles and a side) or SSA (two sides and an angle opposite one of them).

This calculator finds the missing sides and angles, the area, the perimeter, the three heights, and the radii of the inscribed and circumscribed circles. In the SSA case there can be two valid triangles, and it shows both.

How it is calculated

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)), s = half the perimeter
Angles add up to 180°

Worked example

Sides 5, 6 and 7

Angles A · B · C
44.42° · 57.12° · 78.46°
Perimeter
18
Area
14.7
Type
scalene, acute

Classifying triangles

By sidesMeaning
EquilateralAll three sides equal
IsoscelesTwo sides equal
ScaleneNo sides equal
Acute / Right / ObtuseLargest angle below, equal to or above 90°

Three angles alone cannot fix the size of a triangle, so at least one side length is always needed.

Frequently asked questions

Why can some side lengths not form a triangle?

The two shorter sides must add up to more than the longest side. Sides of 1, 2 and 10 cannot meet, so the calculator rejects them.

What is the ambiguous case (SSA)?

With two sides and a non-included angle, sometimes two different triangles fit the same measurements. Both are shown.

What units does it use?

Any single unit you like, as long as all sides use the same one. The area is in the square of that unit.

How do I find the area of a triangle?

Use half of base times height, Heron's formula for three sides, or half of a × b × sin C for two sides and the included angle.