Formulas used
The solver uses the Law of Cosines for SSS and SAS, the Law of Sines for ASA/AAS and SSA, the angle-sum rule, Heron's formula, r = area / s, and R = abc / (4 * area).
Opposite pairs matter: side a is opposite angle A, side b is opposite B, and side c is opposite C.
This triangle solver calculator helps you solve a triangle when you know some sides and angles but not all. Choose SSS, SAS, ASA/AAS, SSA, or Auto-detect, then enter the values you have to get missing sides, missing angles, perimeter, semiperimeter, area, triangle type, inradius, and circumradius.
The calculator is built around the two core rules of trigonometry: the Law of Sines and the Law of Cosines. These formulas connect side lengths and angles, letting you “solve” the triangle once enough information is known. The tool also uses the triangle angle sum (A + B + C = 180°) to fill in the final angle, and it computes area using Heron’s formula or the sine area formula when appropriate.
How to use the solver:
pi/2, pi/4, and 2*pi/3 are accepted.If you enter an SSA case (two sides and a non-included angle), the tool automatically checks for the ambiguous case and shows zero, one, or two valid triangles. This is a common point of confusion in trigonometry classes, and seeing both solutions helps build intuition about when multiple triangles are possible.
Common real-world uses include estimating roof pitches, checking the dimensions of a triangular truss, verifying a survey measurement, or solving geometry problems in physics and engineering. It can also serve as a triangle side calculator or triangle angle calculator when you are double-checking work by hand. For learners, the visible formulas and steps make it easier to understand why the answer is correct, not just what the answer is.
Quick reference formulas:
a² = b² + c² − 2bc·cos(A)a/sin(A) = b/sin(B) = c/sin(C)Area = ½ab·sin(C) or Area = √(s(s−a)(s−b)(s−c)) with s=(a+b+c)/2The solver uses the Law of Cosines for SSS and SAS, the Law of Sines for ASA/AAS and SSA, the angle-sum rule, Heron's formula, r = area / s, and R = abc / (4 * area).
All calculations run client-side in your browser. Values are not uploaded to a server by this calculator.
The precision slider changes displayed rounding. Internal calculations use JavaScript floating-point numbers, so very tiny rounding differences can appear near boundary cases.
The diagram is a responsive visual preview and may be illustrative rather than drawn exactly to scale. The numeric table is the source of truth.
Inputs: a=7, b=8, c=9. Use Law of Cosines to find each angle. Final answer: A≈51.32°, B≈60.00°, C≈68.68°, area ≈26.83.
Inputs: a=5, b=7, C=60°. Use Law of Cosines to get c=sqrt(a²+b²-2ab cos C). Final answer: c≈6.24, A≈43.90°, B≈76.10°.
Inputs: A=50°, B=60°, a=10. First compute C=70°, then use Law of Sines. Final answer: b≈11.31, c≈12.27.
Inputs: A=30°, a=5, b=8. The height is 8 sin 30° = 4, and 4 < 5 < 8, so two triangles are possible.
Inputs: A=30°, a=2, b=6. The height is 6 sin 30° = 3. Since a < h, the known side cannot reach the base line, so no valid triangle exists.
Any three values with at least one side (SSS, SAS, ASA, AAS, or SSA). Three angles alone are insufficient.
Use Law of Cosines for SSS and SAS. Use Law of Sines when you have or can create a known opposite side-angle pair, which is typical for ASA, AAS, and SSA.
AAA gives only the shape. Without a side length, there are infinitely many similar triangles at different sizes.
With two sides and a non-included angle, there may be two, one, or no triangles. The solver detects and shows all valid outcomes.
For an acute known angle, compute the height from the adjacent known side. If the opposite known side is greater than the height but shorter than the adjacent known side, two triangles are possible.
Yes. Switch to radians and enter expressions such as pi/2, pi/4, 2*pi/3, or decimal radians.
It means the numbers cannot form a triangle. Common causes include sides that fail the triangle inequality, angle totals that leave no positive third angle, or SSA values where the opposite side is shorter than the height.
The diagram is an illustrative preview with the solved labels. Use the numeric result table for exact values.
Yes. Toggle Degrees/Radians. Inputs and outputs update immediately, and radians mode supports pi-style notation.
Yes. Everything runs locally; nothing is uploaded.