Triangle Calculator — Solve Sides, Angles & Area

Enter any 3 known values (at least one side) and instantly solve the whole triangle — every side, every angle, area, perimeter, heights and radii — with a to-scale diagram. 📐

📐

Triangle Solver

SSS • SAS • ASA • AAS • SSA

Fill in exactly 3 values (at least one side). Side a is opposite angle A, b opposite B, c opposite C.

°
°
°

Tip: two sides + the angle opposite one of them (SSA) can have two valid triangles — both are shown.

📐
Enter 3 values and press Solve

How to Solve a Triangle

  1. Enter any 3 known values — sides in any length unit, angles in degrees. At least one value must be a side.
  2. Click Solve Triangle. The calculator detects your case (SSS, SAS, ASA, AAS or SSA) automatically.
  3. Read the full solution — all sides and angles, area, perimeter, heights, inradius, circumradius and the triangle type, plus a diagram drawn to scale.
🧭

Any case, auto-detected

SSS, SAS, ASA, AAS and the tricky ambiguous SSA case — including both solutions when two triangles exist.

📏

Drawn to scale

A live diagram of your solved triangle with labeled vertices and sides, so you can sanity-check the shape instantly.

🎓

Complete answer

Beyond sides and angles: area by Heron’s formula, perimeter, all three heights, inradius and circumradius.

How the Triangle Calculator Works — Law of Sines, Law of Cosines & Heron’s Formula

Every triangle is fully determined by three independent measurements, as long as at least one of them is a side. Three angles alone fix only the shape, not the size — there are infinitely many similar triangles with angles 30°-60°-90°. This calculator takes whichever 3 values you know, classifies the case, and solves the rest using two classical tools taught in every US geometry and trigonometry course: the law of sines and the law of cosines.

The law of sines says the ratio of each side to the sine of its opposite angle is constant: a / sin A = b / sin B = c / sin C = 2R, where R is the circumradius. It is the natural tool when you know an angle and its opposite side (ASA, AAS, SSA). The law of cosines, c² = a² + b² − 2ab·cos C, generalizes the Pythagorean theorem and handles the cases the law of sines cannot start: three sides (SSS) or two sides with the included angle (SAS). When C = 90°, cos C = 0 and the formula collapses to the familiar c² = a² + b².

Once all three sides are known, the area comes from Heron’s formula: with semi-perimeter s = (a + b + c) / 2, Area = √(s(s−a)(s−b)(s−c)). For a 3-4-5 right triangle, s = 6 and Area = √(6·3·2·1) = 6. From the area, everything else follows: each height is h = 2·Area / base, the inradius is r = Area / s, and the circumradius is R = abc / (4·Area). The calculator also classifies the triangle — equilateral, isosceles or scalene by sides, and acute, right or obtuse by its largest angle.

CaseYou knowSolved withSolutions
SSS3 sidesLaw of cosines1 (if triangle inequality holds)
SAS2 sides + included angleLaw of cosines1
ASA / AAS2 angles + 1 sideAngle sum + law of sines1
SSA2 sides + non-included angleLaw of sines (ambiguous case)0, 1 or 2

The SSA “ambiguous case” deserves its reputation. Knowing two sides and an angle opposite one of them is like swinging a door of fixed length toward a wall: it can miss the wall entirely (no triangle), just touch it (one right triangle), or cross it in two places (two distinct triangles). Algebraically, sin B = b·sin A / a may exceed 1 (no solution), equal 1 (one solution) or be less than 1 — giving both an acute B and its supplement 180° − B as candidates. This calculator checks both and displays every valid triangle, which is exactly what trigonometry teachers expect on homework in 2026 — and what surveyors, carpenters and navigators rely on in the field.

Triangle Calculator FAQ

Any three values that include at least one side: three sides (SSS), two sides and the angle between them (SAS), two angles and any side (ASA or AAS), or two sides and a non-included angle (SSA). Three angles alone fix the shape but not the size, so no unique triangle exists.
With the Law of Cosines: each angle comes from cos(A) = (b² + c² − a²) / (2bc). Once two angles are known the third is 180° minus their sum, and the area follows from Heron's formula using the semi-perimeter.
The Law of Sines says a/sin(A) = b/sin(B) = c/sin(C). It solves ASA, AAS and SSA cases — whenever you know an angle and its opposite side, the ratio unlocks every remaining side and angle.
SSA is the "ambiguous case": when the known side opposite the given angle is shorter than the other known side but longer than the triangle's height, two different triangles satisfy the same three values — one with an acute and one with an obtuse angle. The calculator shows both solutions when they exist.
Three standard ways: ½ × base × height when the height is known, ½ab·sin(C) when two sides and the included angle are known, and Heron's formula √(s(s−a)(s−b)(s−c)) from three sides, where s is half the perimeter. All give the same result.
The triangle inequality must hold: every pair of sides must add to more than the third side. Sides of 3, 4 and 8 fail (3 + 4 < 8), so no triangle exists — the calculator flags this instead of returning numbers.
Yes. Enter the two legs as SAS with a 90° included angle, or any two sides plus the right angle, and the solver returns the hypotenuse, both acute angles, area and height — the Pythagorean theorem a² + b² = c² is the 90° special case of the Law of Cosines.

Related Calculators

✔ Reviewed by the True Value Calc editorial team🗓 Last updated June 2026📚 Sources: Peer-reviewed formulas & official U.S. government data