TRIANGLE CALCULATOR
Calculate area, perimeter, all sides and angles of any triangle. Choose your method — SSS, SAS, ASA, AAS, or right triangle.
Triangle formulas explained
A triangle has three sides (a, b, c) and three angles (A, B, C). The angles always sum to 180°. Knowing any three pieces of information (with at least one side) is enough to determine the complete triangle.
Law of Cosines: c²=a²+b²−2ab·cos(C)
Law of Sines: a/sin(A) = b/sin(B) = c/sin(C)
Inradius: r = Area / s | Circumradius: R = abc / (4·Area)
Given all three sides, use the law of cosines to find each angle: cos(A)=(b²+c²-a²)/(2bc). Then use Heron's formula for area.
Given two sides and the included angle, use the law of cosines to find the third side, then the law of sines for remaining angles.
Third angle = 180°−A−B. Then use the law of sines to find missing sides: b = a·sin(B)/sin(A).
Pythagorean theorem: c²=a²+b². Angles: tan(A)=a/b. This calculator handles legs, hypotenuse, and any two known values.