Enter any combination of sides and angles that defines a triangle (SSS, SAS, ASA, or AAS) to find all missing values. The calculator shows which rule it applied, then computes area by Heron's formula and perimeter.
Sides a, b, c are opposite to angles A, B, C respectively. Angles are in degrees. Leave unknowns blank. At least one side is required.
A general triangle has three sides (a, b, c) and three angles (A, B, C). Three independent values are enough to determine the triangle, provided at least one of them is a side. The calculator picks the right method automatically.
Use it to find a missing side when two sides and the included angle are known (SAS), or to find any angle when all three sides are known (SSS). Rearranged for angle: cos C = (a squared + b squared - c squared) / (2ab).
Use it when a side and its opposite angle are both known. Given ASA (two angles and the side between them) or AAS (two angles and a non-included side), the law of sines resolves the triangle in one step.
Once all three sides are found, s is the semi-perimeter and the area follows without needing a height.
If your triangle has a right angle, the Right Triangle Calculator is faster. To find the slope of a side between two known coordinates, use the Slope Calculator.
For a formal treatment of the laws of sines and cosines, see Wolfram MathWorld on the law of cosines.
Pythagorean theorem, quadratic formula, standard deviation, and more.
Use the law of cosines. For angle A: cos A = (b squared + c squared minus a squared) / (2bc). Repeat for a second angle, then get the third by subtracting both from 180. The calculator does this automatically for SSS inputs.
Use Heron's formula. Compute s = (a + b + c) / 2, then area = sqrt(s times (s minus a) times (s minus b) times (s minus c)). No height is required, just the three side lengths.
a / sin A = b / sin B = c / sin C. All three ratios are equal. This resolves the triangle when a side and its opposite angle are both known alongside one other value (ASA, AAS, or SSA cases).
c squared = a squared + b squared minus 2ab cos C. It is the general form of the Pythagorean theorem that applies to any triangle. Use it for SSS (finding an angle) and SAS (finding the third side).
No. Angles alone fix shape but not size. An unlimited number of similar triangles share the same angles. You need at least one side length to lock in a scale and return numeric answers.
Each side must be less than the sum of the other two: a + b greater than c, a + c greater than b, b + c greater than a. If any of these fails, the three values cannot form a real triangle.

Editor at Encore Editorial, Chris Terry sets the editorial standards here and turns dense topics into plain English. He has written widely on education, finance, and consumer markets.