Triangle Calculator
Solve from three sides, two right-angle legs, or two sides and their included angle.
The interactive calculator loads above this explanation when JavaScript is available.
How to use the triangle calculator
Solve from three sides, two right-angle legs, or two sides and their included angle. Enter the known values, choose units where offered, and read the live result and breakdown.
Worked example
This example uses the following inputs. Currency amounts are illustrated in USD.
- Known measurements
- Three sides
- Side a
- 3 m
- Side b
- 4 m
- Side c
- 5 m
- Included angle between a and b
- 60 °
Triangle area: 6 m²
Method
Heron’s formula: area = √(s(s − a)(s − b)(s − c)), where s is half the perimeter. Right triangles: c = √(a² + b²). SAS: c² = a² + b² − 2ab cos(included angle).
What to watch for
All sides must use compatible lengths, and every pair must exceed the third side.
Assumptions and references
Estimates use your inputs. Actual conditions may vary.
Formula implementation: v0.8.0. Examples are checked against the calculation engine; specialist professional review is not claimed. How we check calculations.