Home › Math Calculators › Triangle Calculator
Solve a triangle from three sides, two sides and an angle, or two angles and a side.
How the calculation works
Choose what you know. The calculator uses the law of cosines and law of sines to find the missing sides and angles, then shows the area, perimeter, inradius and circumradius. For the SSA case, it shows both solutions when two triangles are possible.
Formula used
Law of cosines: c² = a² + b² − 2ab cos C; Law of sines: a ÷ sin A = b ÷ sin B; Area = √(s(s−a)(s−b)(s−c))
Example
Sides 3, 4 and 5 form a right triangle with angles 36.87°, 53.13° and 90°, and an area of 6.
About triangles
Which values you can enter
A triangle is fixed by three measurements, as long as at least one is a side. This calculator accepts three sides (SSS), two sides and the angle between them (SAS), two angles and a side (ASA or AAS) and two sides with an angle not between them (SSA).
The ambiguous SSA case
With two sides and a non-included angle there can be zero, one or two valid triangles. The calculator shows both solutions when two exist.
What is calculated
The remaining sides and angles, the area, the perimeter, the three heights, the inradius and the circumradius. The drawing shows the triangle to scale.
Types of triangle
By sides, a triangle is equilateral, isosceles or scalene. By angles it is acute, right or obtuse. The result tells you which applies.
Geometry and algebra
When one result leads to another question, it saves time to have the right tool nearby. Try the Pythagorean Theorem Calculator, Scientific Calculator or Quadratic Formula Calculator.
Frequently asked questions
Why is there sometimes no solution?
Not every set of values can form a triangle. The sides must satisfy the triangle inequality.
What is SSA?
Two sides and an angle that is not between them. It can have zero, one or two solutions.
Results are estimates for general information only and are not professional financial, medical or legal advice.
Related calculators
📐
A free online scientific calculator with trigonometry, logarithms, powers, roots, factorials and…
📐
Rise Over Run to Degrees Calculator
Convert slope given as rise over run into degrees, percent grade and ratio, or find the rise or run…
📐
Average Rate of Change Calculator
Find the average rate of change of a function between two x values, with a graph of the function…
🔄
Convert angles between degrees and radians. See the answer as a decimal, as a multiple of π and in…