calculator.onl
Categories50

Triangle calculator: SSS, SAS, ASA, AAS and SSA

Find all valid triangles, including both solutions of an ambiguous SSA case.

A worked example

Lengthen side a and see when a second triangle fits the same angle.

Number of solutions1Area6Perimeter12Sides a · b · c3 · 4 · 5
Known triangle measurements: SSS (a, b, c) / SAS (b, c, A) / ASA (A, B, c) / AAS (A, B, a) / SSA (a, b, A). Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.

a: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.

b: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.

c: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Number of solutions

1

Calculated from your inputs

Area6
Perimeter12
Sides a · b · c3 · 4 · 5
Angles A · B · C36.869898 · 53.130102 · 90°
Heights h(a) · h(b) · h(c)4 · 3 · 2.4
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

With two sides fixed, extending the third side changes the height of the triangle and can reduce its area. Change “c” from 5 to 6 and keep the other inputs from the worked example. The value for “Area” goes from 6 to 5.3326823. For a related calculation, try Rafter length calculator.

What to enter

InputWhat it meansExample value
Known triangle measurementsKnown triangle measurements: SSS (a, b, c) / SAS (b, c, A) / ASA (A, B, c) / AAS (A, B, a) / SSA (a, b, A). Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.SSS (a, b, c)
aa: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.3
bb: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.4
cc: 1e-06 … 1000000000. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.5
AA: 1e-06 … 179.999999 °. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.—
BB: 1e-06 … 179.999999 °. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.—

How the calculation works

  1. Find all valid triangles, including both solutions of an ambiguous SSA case.
  2. Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.
  3. Read the result and compare it with the diagram.
The formulaa/sin A = b/sin B = c/sin C; a² = b²+c²−2bc cos A; K = √[s(s−a)(s−b)(s−c)]; h(a) = 2K/a

A worked example

Triangle calculator: SSS, SAS, ASA, AAS and SSA: a = 3; b = 4; c = 5 → K = 6; C = 90°; P = 12; (h(a),h(b),h(c)) = (4,3,2.4).

Example you can load

What to enter
Result for this example · Number of solutions1
Result for this example · Area6

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.

Frequently asked questions

How is the result calculated?

Find all valid triangles, including both solutions of an ambiguous SSA case. a/sin A = b/sin B = c/sin C; a² = b²+c²−2bc cos A; K = √[s(s−a)(s−b)(s−c)]; h(a) = 2K/a

How should I enter the values?

Known triangle measurements, a, b, c, A, B. a = 3; b = 4; c = 5 → K = 6; C = 90°; P = 12; (h(a),h(b),h(c)) = (4,3,2.4).

What are the limits?

Sides a, b, c oppose angles A, B, C. SAS uses b, c and included A; ASA uses A, B, c; AAS uses A, B, a. All lengths use one unit. Degenerate triangles are excluded. SSA can have zero, one or two solutions; result groups are separated by /.