Triangle Calculator
Given any three sides or angles of a triangle (with at least one side), compute remaining sides, angles, area, and perimeter.
Inputs
Area
โ
Perimeter
โ
Angles (A, B, C)
โ
Sides (a, b, c)
โ
Triangle type
โ
About Triangle Calculator
Law of cosines
cยฒ = aยฒ + bยฒ - 2abยทcos(C). Use it to find a side when you know two sides and the included angle (SAS), or to find an angle from three sides (SSS).
Law of sines
a/sin(A) = b/sin(B) = c/sin(C). Use it when you have ASA or AAS. Beware the "ambiguous case" SSA, which can have 0, 1, or 2 valid triangles.
Heron\u2019s formula
Area = โ(s(s-a)(s-b)(s-c)) where s = perimeter/2. Computes area from three sides without needing angles. Stable for most triangles; can lose precision on very thin ones.