Triangle Solver
Solve a triangle from three known measurements, with all sides, angles, area, altitudes and a downloadable diagram.
This tool processes its input contents in your browser instead of sending them to a processing service. Page, asset and fixed usage-measurement requests are described on the Privacy page.
Complete sides and angles from SSS, SAS, ASA or AAS, with area, perimeter, altitudes and a downloadable diagram.
How to use it
- 1Choose the measurements you know.
- 2Enter sides in one length unit and angles in degrees.
- 3Solve and read the matching side and angle table.
- 4Download SVG or JSON.
Example
- Input
- Sides a = 3, b = 4, c = 5
- Output
- Area 6, perimeter 12 and angle C = 90°.
What happens to your data
Calculations and SVG/JSON files are generated in this browser tab. Anonymous workflow records exclude your measurements.
Last updated November 2026
Complete a triangle from three known measurements. Choose three sides, two sides with their included angle, or two angles with a known side. The result shows every side and angle, area, perimeter and altitudes. Download a labelled SVG diagram or a JSON measurement record.
How it works
SSS uses three side lengths. SAS uses sides b and c with included angle A. ASA uses angles A and B with the included side c. AAS uses angles A and B with side a opposite A. The labels stay consistent throughout, with side a opposite angle A, b opposite B and c opposite C. Lengths share one unit, while angles use degrees.
The solver uses the laws of sines and cosines. For SAS it calculates the missing side with a half-angle form that avoids subtracting nearly equal squared lengths. Area uses a rearranged Heron formula with sorted, scaled side lengths. Angles use area and the cosine relationship with atan2 to retain the correct acute or obtuse result. The diagram is generated from the solved geometry, and displayed values are rounded to ten significant digits.
Each entered or solved side must lie from 0.000001 to 1,000,000,000. Each angle must be at least 0.01°, and invalid or almost-flat triangles are rejected. The three sides must satisfy the triangle inequality. Use a supported three-measurement case with one determined triangle. The ambiguous SSA case and measurements with error bounds are outside this calculator.
Worked example: Solve a 3–4–5 triangle
- Input
- SSS with a = 3, b = 4 and c = 5.
- Result
- Area 6 square units, perimeter 12 units and angle C = 90°. Angles A and B are about 36.8699° and 53.1301°.
Common use cases
- Check a trigonometry exercise using SSS, SAS, ASA or AAS.
- Find area and perimeter from three sides.
- Read the angle opposite each side without mixing up the labels.
- Save a vector diagram and its measurement record for a worksheet.
Frequently asked questions
Which side belongs to which angle?+
Lowercase a is opposite uppercase A, b is opposite B and c is opposite C. The same labels appear in the inputs, diagram and result table.
Can I mix inches and centimetres?+
Use one length unit for all three sides. The area then uses that unit squared, and altitudes use the original length unit.
Why does a very thin triangle get rejected?+
This tool requires every angle to be at least 0.01°. Near a straight line, rounded input measurements can produce large relative changes in the area and angles.
Does it solve two sides with a non-included angle?+
Choose one of the four listed cases. A non-included angle with two sides is SSA, which can have zero, one or two possible triangles.
Related tools
Quadratic Equation Solver
Solve ax² + bx + c = 0 with real or complex roots, an exact discriminant, the vertex and a downloadable result.
Fraction Calculator
Add, subtract, multiply, divide or simplify fractions and mixed numbers with exact steps.
Unit Converter
Convert length, weight and temperature — mm to inches, kg to pounds, Celsius to Fahrenheit.
Random Team Generator
Split up to 200 participants into random teams with balanced sizes and local TXT, CSV and JSON downloads.