# Triangle Solver - Law of Sines and Law of Cosines Calculator

> Free online triangle solver: SSS, SAS, ASA, AAS and SSA inputs give every side and angle plus the area, perimeter, heights, circumradius and inradius.

- URL: https://qilingtools.com/en/math/triangle
- Category: Math Tools (https://qilingtools.com/en/math)
- Tags: [Math](https://qilingtools.com/en/tags/math), [Education](https://qilingtools.com/en/tags/education)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Give any three elements of a triangle (including at least one side) and the rest are solved for you: all three sides and angles, area, perimeter, the three heights, circumradius R and inradius r, plus whether the triangle is acute, right or obtuse.

## How to use

1. Choose what you know: SSS, SAS, ASA, AAS or SSA
2. Enter the three known values (angles in degrees)
3. Read every side, angle and derived quantity

## Features

- Five input cases: SSS / SAS / ASA / AAS / SSA
- Law of cosines or sines picked automatically, obtuse angles handled correctly
- Area, perimeter, three heights, circumradius and inradius
- Classifies acute/right/obtuse and equilateral/isosceles/scalene
- Warns about the second SSA solution

## FAQ

### How do I find the angles from three sides?

By the law of cosines: cos A = (b²+c²−a²)/(2bc), then take the inverse cosine. Choose SSS and all three angles are computed.

### Why can SSA have two solutions?

With two sides and a non-included angle the unknown angle can be acute or its obtuse supplement — the “ambiguous case”. The tool reports the alternative value of B when one exists.

### How do I know three lengths form a triangle?

Each pair must sum to more than the third side; otherwise the tool says no triangle exists.

### How is the circumradius calculated?

R = abc / (4·Area), and the inradius is r = Area / s with s the semi-perimeter. Both are shown.

## Related tools

- [Graphing Calculator](https://qilingtools.com/en/math/graph): Free online function graphing calculator: type sin(x), x^2 or 1/x and see the curve at once, with several functions, parametric and polar curves, PNG export.
- [Scientific Calculator](https://qilingtools.com/en/math/calculator): Free online scientific calculator: type 2*(3+4)^2, sin(pi/6) or log(8,2) and see the answer as you type, with degrees or radians and a history list.
- [Equation Solver](https://qilingtools.com/en/math/equation): Free online equation solver: enter coefficients for linear, quadratic (with discriminant, vertex and complex roots) and cubic equations, plus 2×2 systems.
- [Fraction Calculator](https://qilingtools.com/en/math/fraction): Free online fraction calculator: add, subtract, multiply and divide fractions with automatic reduction, plus fraction ↔ decimal with repeating digits.
- [Percentage Calculator](https://qilingtools.com/en/math/percentage): Free online percentage calculator: X% of Y, X as a percent of Y, increase and decrease, a value after a percentage change and the original behind it.
- [Prime Factorization](https://qilingtools.com/en/math/prime): Free online prime factorization: factor an integer with exponents, list every divisor and their sum, test primality with neighbouring primes, or list a range.
- [GCD and LCM](https://qilingtools.com/en/math/gcd-lcm): Free online GCD and LCM calculator: works with two or more integers, says whether they are coprime, shows each prime factorization and every Euclidean step.
- [Statistics Calculator](https://qilingtools.com/en/math/statistics): Free online statistics calculator: paste a data set for the mean, median, mode, range, quartiles, variance, standard deviation, standard error and outliers.
