Triangle Angles Calculator
Find a triangle’s angles from its sides.
Result
How it is calculated
Given the three side lengths, the tool uses the law of cosines: A = arccos((b² + c² − a²) / (2bc)) and B = arccos((a² + c² − b²) / (2ac)). The third angle is the rest of the 180° total: C = 180 − A − B. Angle A sits opposite side a, B opposite b and C opposite c. Sides can be in any one unit, because only their ratios matter. All three must be above zero and satisfy the triangle inequality, meaning each side is shorter than the sum of the other two; otherwise there is no result. Angles are shown in degrees with two decimals.
Worked example
Sides a = 3, b = 4, c = 5. A = arccos((16 + 25 − 9) / (2·4·5)) = arccos(32/40) = arccos(0.8) = 36.87°. B = arccos((9 + 25 − 16) / (2·3·5)) = arccos(18/30) = arccos(0.6) = 53.13°. C = 180 − 36.87 − 53.13 = 90°. The angles are 36.87 °, 53.13 ° and 90.00 °, so this is a right triangle.
Common mistakes
- Mixing units between sides, such as one in centimetres and another in metres.
- Entering sides that cannot form a triangle, such as 2, 3 and 6; the longest side must be shorter than the other two combined.
- Matching an angle to the wrong side. Angle A is opposite side a, not next to it.
- Entering angles when the tool needs side lengths.
- Expecting exact whole degrees; the third angle is found by subtraction, so rounding in A and B carries over to C.
About this calculator
Given the three side lengths of a triangle, this calculator finds all three angles using the law of cosines, cos(A) = (b² + c² − a²) / (2bc), applied once per angle and then checked so the three sum to 180°.
It's used by surveyors and carpenters framing angled cuts like roof trusses or staircases where only the side lengths are easy to measure directly, and by students working through trigonometry problems that go beyond the simpler right-triangle cases.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)