General Triangle Solver

Enter any combination of sides and angles — Side A, Side B, Side C, Angle A, Angle B, Angle C — and the General Triangle Solver calculates all missing values. Provide at least one side and enough information for SSS, SAS, ASA, AAS, or SSA configurations. You get back all three sides, all three angles, the perimeter, and the area.

Results

Area

--

Perimeter

--

Side A

--

Side B

--

Side C

--

Angle A

--

Angle B

--

Angle C

--

Triangle Type

--

Side Lengths vs Angle Measures

Frequently Asked Questions

How many values do I need to enter to solve a triangle?

You need at least 3 values, and at least one of them must be a side length. For example, three sides (SSS), two sides and an included angle (SAS), two angles and a side (ASA or AAS), or two sides and a non-included angle (SSA) are all valid inputs. Three angles alone (AAA) are not sufficient because they don't define the size of the triangle.

What is the SSA (ambiguous) case?

SSA — two sides and a non-included angle — is called the ambiguous case because it can produce zero, one, or two valid triangles depending on the values entered. When two solutions exist, this calculator will return the solution where all angles are positive and sum to 180°.

Can I enter angles in radians instead of degrees?

Yes. Select 'Radians (rad)' from the Angle Units dropdown before entering your values. All angle inputs and outputs will then be interpreted and displayed in radians.

What is the Law of Sines and when is it used?

The Law of Sines states that a/sin(A) = b/sin(B) = c/sin(C). It is used when you have ASA, AAS, or SSA configurations — situations where at least one angle and its opposite side are known or can be derived.

What is the Law of Cosines and when is it used?

The Law of Cosines states that c² = a² + b² − 2ab·cos(C). It is used for SSS and SAS cases, where either all three sides are known or two sides and the angle between them are known.

What are the different types of triangles?

Triangles are classified by side lengths — equilateral (all sides equal), isosceles (two sides equal), or scalene (no sides equal) — and by angles — acute (all angles < 90°), right (one angle = 90°), or obtuse (one angle > 90°). This calculator identifies and displays the type after solving.

How is the area of a triangle calculated?

The area is calculated using Heron's formula when all three sides are known: Area = √(s(s−a)(s−b)(s−c)), where s is the semi-perimeter (a+b+c)/2. Alternatively, if two sides and their included angle are known, Area = ½·a·b·sin(C) is used.

Why does my input show 'not a valid triangle'?

A valid triangle requires that the sum of any two sides must be greater than the third side (triangle inequality), and all angles must sum to exactly 180°. If your inputs violate these rules — for example, sides 1, 2, and 10 — no triangle can exist and the calculator will not return results.

More Math Tools