Triangle Solver
Enter any valid combination of sides and angles (SSS, SAS, ASA, AAS, SSA) and solve the remaining parts, area, and perimeter. Calculates in your browser.
Show the math
The laws of sines and cosines solve any triangle from enough parts:
a ÷ sin A = b ÷ sin B = c ÷ sin C
c² = a² + b² − 2ab·cos C
Works with SSS, SAS, ASA, AAS, and SSA inputs. All math runs in your browser.
What this does
A triangle solver takes any valid combination of sides and angles (SSS, SAS, ASA, AAS, SSA) and solves the remaining parts, area, and perimeter.
How to use it
- Enter the sides and angles you know.
- Match each angle to its opposite side.
- Read the solved triangle.
- See the area and perimeter.
How it works
It applies the law of sines or law of cosines depending on what you supply. Angle A is opposite side a, and so on.
a ÷ sin A = b ÷ sin B; c² = a² + b² − 2ab·cos C
Understanding your result
Watch the SSA case, two sides and a non-included angle, because it is the ambiguous one: it can yield two valid triangles, one, or none, so confirm which fits your situation. The solver applies the law of sines or cosines from what you supply, and if it reports no solution your inputs cannot form a real triangle, often because the angles do not sum to 180 degrees.
Example
A 3-4-5 triangle solves to a right angle opposite the longest side.
Sources & methodology
Last updated .
Frequently asked questions
How does it solve triangles?
It uses the law of sines (a ÷ sin A = b ÷ sin B) and the law of cosines (c² = a² + b² − 2ab·cos C) depending on what you supply.
Which inputs work?
Any solvable set: SSS, SAS, ASA, AAS, and SSA. Angle A is opposite side a, and so on.
Is my data stored?
No. Everything is calculated locally in your browser.
Related tools
Permutation & Combination Calculator
Calculate permutations (nPr) and combinations (nCr) for choosing r items from n, with the factorial behind each. Calculates in your browser.
Z-Score Calculator
Find the z-score (standard score) of a value — how many standard deviations it sits above or below the mean. Calculates in your browser.
Confidence Interval Calculator
Find the confidence interval for a mean from the sample mean, standard deviation, sample size, and confidence level. Calculates in your browser.
Sample Size Calculator
Find the sample size needed to estimate a proportion to within a margin of error at a chosen confidence level, with a population correction. Calculates in your browser.