Choose what you know about the triangle, enter the values and get every side, angle, the area and more.
Results are estimates for planning. Check the figures before you make a financial or health decision.
Embed this calculator on your website
Free to use. Copy the code and paste it into your page. Please keep the link under the calculator in place: it is how we keep the tool free.
How the triangle calculator works
The calculator solves a triangle from three known measurements. For three sides it uses the law of cosines, cos A = (b² + c² − a²) ÷ 2bc. For two angles and a side it uses the angle sum (A + B + C = 180°) and the law of sines, a ÷ sin A = b ÷ sin B = c ÷ sin C.
Once all sides are known, the area comes from Heron’s formula, √(s(s − a)(s − b)(s − c)), where s is half the perimeter.
How to use the triangle calculator
- You know
- Side a
- Side b
- Side c
The answer updates as you type, so you can change a value and see the result straight away. Every result shows the main figure first, then the detail behind it.
Worked example
Using the default values:
| Input | Value |
|---|---|
| You know | Three sides (SSS) |
| Side a | 7 |
| Side b | 8 |
| Side c | 9 |
Area: 26.832816
| Result | Value |
|---|---|
| Side a | 7 |
| Side b | 8 |
| Side c | 9 |
| Angle A | 48.189685° |
| Angle B | 58.411864° |
| Angle C | 73.39845° |
| Perimeter | 24 |
| Type | Scalene, acute |
| Height on side c | 5.962848 |
| Inradius | 2.236068 |
Tips and common mistakes
Side a is always opposite angle A, side b opposite B and side c opposite C. Angles are in degrees.
With two sides and an angle that is not between them (SSA), a triangle may have two solutions, one or none. The calculator tells you when the numbers do not make a triangle.
Frequently asked questions
What is the minimum information needed to solve a triangle?
Three measurements, and at least one must be a side. Three angles alone only give the shape, not the size.
How is the area of a triangle found from its sides?
Use Heron's formula: with s = (a + b + c) ÷ 2, the area is the square root of s(s − a)(s − b)(s − c).
Why does the calculator say there is no triangle?
The values break a rule, such as one side being longer than the other two combined, or the angles adding to 180° or more.