Triangle Angle Calculator

Find every angle and side of any triangle from three known values.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Every triangle is defined by six measurements — three sides and three angles — but you only need to know three of them (with at least one being a side) to determine the rest completely. This triangle angle calculator does exactly that: pick the combination you know, enter the numbers, and get every missing side, angle, area, and perimeter in one click, with full step-by-step working shown.

How it works

The calculator supports five classic input combinations, each solved by a different formula:

SSS (three sides known) — the Law of Cosines finds each angle in turn:

A = arccos((b^2 + c^2 - a^2) / (2bc))

Repeat the formula cyclically for B and C, then verify the three angles sum to 180°.

SAS (two sides and included angle known) — the Law of Cosines finds the third side:

c = sqrt(a^2 + b^2 - 2ab * cos(C))

Then the Law of Sines resolves the remaining two angles from the known angle-side pair.

ASA (two angles and the side between them known) — the third angle is simply 180° minus the other two, then the Law of Sines gives both remaining sides:

a = c * sin(A) / sin(C)

AAS (two angles and a non-included side known) — same angle arithmetic as ASA, then the Law of Sines again.

SSA (two sides and a non-included angle) — the ambiguous case. The calculator computes sin(B) = b * sin(A) / a. If this exceeds 1, no solution exists. Otherwise there may be two valid triangles (one with acute B, one with obtuse B); the calculator shows both.

Worked example

Suppose a triangular garden plot has sides of 5 m, 7 m, and 8 m — classic SSS. What are the angles?

Using the Law of Cosines for angle A (opposite the 5 m side):

A = arccos((7^2 + 8^2 - 5^2) / (2 * 7 * 8)) = arccos((49 + 64 - 25) / 112) = arccos(88/112) = arccos(0.7857) = 38.21°

For angle B (opposite 7 m):

B = arccos((5^2 + 8^2 - 7^2) / (2 * 5 * 8)) = arccos((25 + 64 - 49) / 80) = arccos(40/80) = arccos(0.5) = 60°

And angle C = 180° - 38.21° - 60° = 81.79°.

The area by Heron’s formula (or equivalently (1/2)ab*sin(C)) works out to roughly 17.32 m^2 — a triangle you could fence in just 20 m of fencing.

Formula reference

LawFormulaUsed for
Law of Cosinesc^2 = a^2 + b^2 - 2ab*cos(C)SSS, SAS
Law of Cosines (angle form)C = arccos((a^2+b^2-c^2)/(2ab))SSS
Law of Sinesa/sin(A) = b/sin(B) = c/sin(C)ASA, AAS, SAS follow-up
Angle sumA + B + C = 180°All modes
Area (SAS form)Area = (1/2) * a * b * sin(C)All modes

The SVG diagram updates live as you type, using your computed (or estimated) angles to scale the shape in real time. The “Law of Cosines check” table at the bottom back-computes all three angles from the final sides so you can confirm the solution is self-consistent.

Everything runs entirely in your browser — no numbers leave your device.

Ad placeholder (rectangle)