# Triangle Calculator

> Solve any triangle from three values (SSS, SAS, ASA, AAS or SSA): all sides, angles, area, perimeter and heights, with a diagram. Runs entirely in your browser, so nothing is uploaded.

Source: https://toffeekit.com/tools/triangle-calculator

**Category:** [Math](https://toffeekit.com/category/math) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/triangle-calculator

**Also useful for:** triangle, solve triangle, law of sines, law of cosines, triangle area, angles, sss, sas, asa

## What you can do

- **Three sides** — Angles from the law of cosines. ([open with this preset](https://toffeekit.com/tools/triangle-calculator?preset=sss))
- **Ambiguous case** — Two possible triangles, both shown. ([open with this preset](https://toffeekit.com/tools/triangle-calculator?preset=ssa))

## How it works

1. Fill in any three of sides a, b, c and angles A, B, C, including at least one side.
2. Leave the other three boxes empty.
3. Read every side and angle, with the area, perimeter, heights and triangle type.
4. Follow the law of sines or cosines steps and check the diagram.

## FAQ

### How do you find the missing side of a triangle?

With two sides and the angle between them, use the law of cosines: c² = a² + b² − 2ab·cos C. With two angles and a side, use the law of sines.

### How do you find the area of a triangle with three sides?

Use Heron's formula: s = (a + b + c)/2 and Area = √(s(s − a)(s − b)(s − c)). Sides 5, 6 and 7 give about 14.7.

### What is the ambiguous case (SSA)?

Two sides and a non-included angle can fit zero, one or two different triangles. When there are two, both are shown.

### Do the angles of a triangle always add up to 180°?

Yes, in flat (Euclidean) geometry. That is how the third angle is found when two are known.

### What is the triangle inequality?

Any two sides must add up to more than the third. Sides 2, 3 and 6 can't form a triangle because 2 + 3 < 6.

### Is Triangle Calculator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Triangle Calculator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Percentage Calculator](https://toffeekit.com/tools/percentage-calculator) — Percent of, percent change, add or subtract %.
- [Fraction Calculator](https://toffeekit.com/tools/fraction-calculator) — Add, subtract, multiply and divide fractions and mixed numbers, with the answer simplified and every step shown.
- [Simplify Fractions Calculator](https://toffeekit.com/tools/simplify-fractions-calculator) — Reduce any fraction or mixed number to lowest terms using the greatest common factor, with the prime factors shown.
- [Decimal to Fraction](https://toffeekit.com/tools/decimal-to-fraction) — Convert decimals to fractions, including repeating decimals like 0.333… and 0.1666…, with steps and the closest inch fraction.
- [Fraction to Decimal](https://toffeekit.com/tools/fraction-to-decimal) — Turn fractions and mixed numbers into decimals, spot repeating digits, and see the long division and a full conversion chart.
- [GCF Calculator](https://toffeekit.com/tools/gcf-calculator) — Find the greatest common factor (GCD) of two or more numbers, with prime factorization, the factor lists and the Euclidean algorithm.

