Understanding science, for all. Home About
Novadette› ∑ Mathematics› Geometry› Triangle Solver
∑ Geometry

Triangle Solver

Solve any triangle from any three known values — sides, angles, area, perimeter or height, including the ambiguous SSA case. Returns all sides and angles, area, perimeter, and the inscribed and circumscribed circles.

GeometryTrigonometryLaw of Sines
Inputs
Input examples
Click Use on exactly three values you know and fill them in — any mix of sides, angles, area, perimeter or height. Everything else is calculated.
°
°
°

Solving a Triangle

A triangle has six parts: three sides a, b, c and the three angles A, B, C opposite them. Knowing any three parts — as long as at least one is a side — usually fixes the other three.

The SSA case is special: two sides and an angle that is not between them can give no triangle, exactly one, or two different triangles. This calculator shows both when that happens.

A+B+Calways 180°
a < b + ctriangle inequality
AAAshape only — no size
largest sidefaces the largest angle

Live Diagram

to scale
given
calculated
incircle & circumcircle
Result
Enter three values above

Which Law to Use

CaseGivenStrategy
SSS3 sidescosines for each angle
SAS2 sides + angle betweencosines for 3rd side, then angles
ASA2 angles + side betweenangle sum, then sines
AAS2 angles + other sideangle sum, then sines
SSA2 sides + other anglesines — 0, 1 or 2 solutions

Key Formulas

Law of Cosines

Pythagoras for any triangle: when C = 90° the last term vanishes. Use it when you know all three sides, or two sides and the angle between them.

Example: 
Law of Sines

Each side divided by the sine of its opposite angle gives the same number — the diameter of the circumscribed circle.

Example: 
Area (Heron & SAS)

With s = ½(a+b+c) the semi-perimeter, Heron’s formula needs only the three sides.

Example: 

Sources & Verification

References
  1. J. Stewart, L. Redlin & S. Watson, Precalculus: Mathematics for Calculus, 7th ed., Cengage, 2016 — Sec. 6.2 (Trigonometry of Right Triangles), Sec. 6.5 (The Law of Sines) and Sec. 6.6 (The Law of Cosines).