SSS: solve a 5–6–7 triangle
Enter a = 5, b = 6, c = 7. Select SSS. For angle A, substitute into the Law of Cosines: A = cos⁻¹((6² + 7² − 5²)/(2·6·7)) ≈ 44.42°. Heron’s formula uses s = 9 and returns area ≈ 14.70 square units.
Mark the values you know on a sketch first. Side a must sit opposite angle A, side b opposite B, and side c opposite C. Then choose the matching pattern:
Three angles alone determine only a shape, not its size. At least one side is needed to distinguish, for example, a triangle with 3 cm sides from a similar one with 3 m sides.
For a right triangle with C = 90°, side c is the hypotenuse. Two legs use c = √(a² + b²); a hypotenuse and a leg use b = √(c² − a²). Trigonometric ratios then find the acute angles.
Three proposed sides are valid only when the sum of every pair is greater than the remaining side. Thus 2, 3, and 5 are degenerate because 2 + 3 = 5; they form a straight segment, not a triangle.
Choose an area formula from the available data:
Enter a = 5, b = 6, c = 7. Select SSS. For angle A, substitute into the Law of Cosines: A = cos⁻¹((6² + 7² − 5²)/(2·6·7)) ≈ 44.42°. Heron’s formula uses s = 9 and returns area ≈ 14.70 square units.
Enter a = 7, b = 9, C = 60°. Select SAS. c = √(7² + 9² − 2·7·9·cos 60°) = √67 ≈ 8.185, then use the Law of Cosines for A and B.
Select ASA/AAS with known side c. First, C = 180° − 50° − 60° = 70°. Then a = 8 sin(50°)/sin(70°) ≈ 6.522 and b = 8 sin(60°)/sin(70°) ≈ 7.373.
Select SSA. sin B = 10 sin(30°)/7 = 5/7, so B can be about 45.58° or 134.42°. Both leave a positive angle C, producing two valid triangles.
Author and reviewer: Starlight Tools mathematics editorial team. Review scope: Euclidean triangle geometry and numerical implementation. Last reviewed: 15 July 2026.
The implementation uses the Law of Cosines, Law of Sines, Heron’s formula, the Pythagorean theorem, and standard area identities. It computes with full JavaScript floating-point precision and rounds only the display. Domain comparisons use a 10−12 numerical tolerance; extra measurements are accepted within 0.01% to accommodate measured or rounded inputs.
Verification cases: 3–4–5 returns C = 90° and area 6; equilateral 2–2–2 returns three 60° angles and area √3; 2–3–5 is rejected as degenerate; A = 30°, a = 7, b = 10 returns two SSA solutions.
All calculations run locally in your browser; input values are not uploaded.
Usually three independent values are required, including at least one side. Valid cases include SSS, SAS, ASA, AAS, and sometimes SSA. A right triangle can be solved from two additional values because the 90-degree angle is already known.
No. Three angles fix the shape but not the scale, so infinitely many similar triangles are possible. At least one side length is needed.
Use the Pythagorean theorem for a right triangle, the Law of Cosines for SSS or SAS data, or the Law of Sines when an opposite side-angle pair is known.
Use the 180-degree angle sum when two angles are known. With three sides, use the inverse Law of Cosines; with an opposite side-angle pair, use the inverse Law of Sines.
Choose Right triangle, select the known-value pattern, and enter two values. The calculator fixes angle C at 90 degrees and uses the Pythagorean theorem plus trigonometric ratios.
The sine of an acute angle equals the sine of its supplementary obtuse angle. If both possible angle sums stay below 180 degrees, the same SSA data describes two different triangles.
Length inputs and outputs may be unitless or use millimetres, centimetres, metres, kilometres, inches, feet, yards, or miles. Angles may be entered and displayed in degrees or radians. All side lengths in one calculation must use the selected unit.
It controls only the displayed digits. Calculations keep full floating-point precision internally, so changing the display precision does not change the underlying solution.
Each side must be positive and finite, and the sum of any two sides must be greater than the third. Equality makes a degenerate straight line rather than a triangle.