Triangle Calculator
Drag to pan · scroll to zoom area
| Property | Value |
|---|---|
| Side a | 3 |
| Side b | 4 |
| Side c | 5 |
| Angle A | 36.869898° |
| Angle B | 53.130102° |
| Angle C | 90° |
| Area | 6 |
| Perimeter | 12 |
| Height to a | 4 |
| Inradius | 1 |
| Circumradius | 2.5 |
How Triangle Solving Works
Every triangle is uniquely determined (or nearly so) when you know three pieces of information among its three sides and three angles — provided at least one of those pieces is a side length. This calculator supports the five standard combinations: SSS (three sides), SAS (two sides and the included angle), ASA (two angles and the included side), AAS (two angles and a non-included side), and SSA (two sides and a non-included angle).
When three sides are known (SSS), the Law of Cosines finds each angle: cos(A) = (b² + c² − a²) / (2bc). For SAS, the Law of Cosines computes the third side first: c² = a² + b² − 2ab·cos(C). When two angles are known, the third follows from the fact that interior angles sum to 180°. The remaining sides come from the Law of Sines: a/sin(A) = b/sin(B) = c/sin(C).
Area can be computed as (1/2)ab·sin(C) or by Heron's formula when all three sides are known: Area = √[s(s−a)(s−b)(s−c)] where s = (a+b+c)/2. Perimeter is simply a + b + c. The height to side a is h_a = 2·Area/a, with analogous formulas for b and c.
The inradius r = Area/s and circumradius R = abc/(4·Area) are included for completeness. The SSA case can be ambiguous — two different triangles may satisfy the given data — and this calculator reports both solutions when they exist.
An SVG diagram updates in real time, showing the triangle scaled to your side lengths with labeled sides and angles. Select your known combination from the tabs, enter the given values, and all remaining measurements appear instantly.
Examples
| Example | Result |
|---|---|
| SSS: 3, 4, 5 | Area = 6 |
| SAS: a=5, b=7, C=60° | c ≈ 6.08 |
| ASA: a=10, A=40°, B=60° | C = 80° |
| Equilateral side 6 | Area ≈ 15.59 |
Frequently asked questions
Given two sides and a non-included angle, zero, one, or two valid triangles may exist. This tool shows both when applicable.
Yes. In any valid triangle, A + B + C = 180°.
Use Law of Cosines for SSS and SAS. Use Law of Sines for ASA, AAS, and after finding a missing side.