Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Aas Triangle Calculator

Solve an angle-angle-side triangle: enter a side, the angle facing it and a second angle to get the side opposite that angle and the third angle.

Aas Triangle Calculator

°
°
Solved side b
8.6603
Length of side b, the side facing target angle B, in the same unit you used for side a.
Third angle
90°

Background.

Know two angles of a triangle and you already know the third, because the three always add up to 180°. Two angles therefore fix a triangle's shape completely. What they leave open is its size, and a single side length settles that. This is why angle-angle-side, or AAS, is one of the congruence rules of school geometry: two triangles that share two angles and a correspondingly placed side are identical.

Turning that guarantee into numbers is the work of the law of sines, which says that in any triangle each side divided by the sine of the angle opposite it gives the same value. Know one side and the angle facing it and you know that shared value; every other side is then that value multiplied by the sine of its own opposite angle. Here you enter side a, the angle A across from it and a second angle B, and the page returns side b, which faces B, together with the third angle C.

The pairing is the part people get wrong. Side a must be the side facing angle A, not one of the two sides that meet at A. If what you actually have is two angles with the known side between them, the angle-side-angle case typical of surveying, where a baseline is measured and the sight line to a distant point is read from each end, subtract the two angles from 180° first. The result is the angle facing the baseline, and that is your A.

One side comes out per run; for the remaining side, run it again with C as the target angle. Two sides plus an angle that is not between them (SSA) is a different problem, because those data can fit two different triangles or none, and this page does not attempt it.

What is aas triangle calculator?

An AAS triangle problem supplies two angles and a side that does not lie between them, and asks for the remaining parts. Because the angles of a triangle sum to 180°, the third angle follows by subtraction, and because a/sin A = b/sin B = c/sin C holds in every triangle, each unknown side is the known side scaled by a ratio of sines. The data always fix exactly one triangle, provided the two given angles add up to less than 180°. Lengths come out in whatever unit side a was measured in.

How to use this calculator.

  1. Label the triangle so the side you know is a and the angle across the triangle from it is A. Enter the length in Known side a, in any unit.
  2. Enter that opposite angle in Opposite angle A, in degrees. If your angle is in radians, multiply by 180/π first; one radian is about 57.2958°.
  3. If your known side lies between the two angles you measured, subtract those angles from 180° and use the result as angle A.
  4. Enter the angle facing the side you want in Target angle B. A and B together must be less than 180°, or no triangle exists and the page will say so.
  5. Read Solved side b in the same unit as side a, and the Third angle in degrees. For the last side, run the page again with the third angle as the target.

The formula.

b = a·sin(B)/sin(A); C = 180°−A−B

Two relations do all the work. The angle sum gives C = 180° − A − B. The law of sines, a/sin A = b/sin B, rearranges to b = a × sin B ÷ sin A. The shared ratio a/sin A is the diameter of the circle that passes through all three corners, so the law amounts to saying that every side equals that diameter times the sine of the angle facing it. Angles are converted from degrees to radians before the sines are taken. The answer is most sensitive to angle A, because sin A sits in the denominator: when A is small its sine is small, and with a = 5 and B = 60°, entering A as 5° instead of 6° makes b about 20% larger. When A is large the result barely moves for the same one-degree slip. Angle pairs that reach 180° are refused, since they would leave a third angle of zero or less.

A worked example.

Example

Side a is 5 units long, the angle facing it is A = 30°, and the second angle is B = 60°. The third angle is 180 − 30 − 60 = 90°, so the triangle has a right angle at C. By the law of sines, b = 5 × sin 60° ÷ sin 30° = 5 × 0.8660254 ÷ 0.5 = 8.6602540378, which is exactly 5√3. This is the familiar 30-60-90 triangle, whose sides run in the ratio 1 : √3 : 2, and running the page again with 90° as the target gives the hypotenuse: 5 × 1 ÷ 0.5 = 10. Now change B to 120°. Side b comes out at 8.6603 again, because sin 120° equals sin 60°, but the third angle drops to 30° and the shape is an obtuse isosceles triangle whose third side is 5, the same as a.

target Angle60
opposite Angle30
known Side5

Frequently asked questions.

Why do B = 60° and B = 120° give the same side b?
Because sin(180° − x) = sin x, so the law of sines cannot tell an angle from its supplement. In the AAS case that does no harm: you state B directly, and the third angle, 90° in one case and 30° in the other, shows they are different triangles. Working backwards from a sine is exactly what makes the SSA case ambiguous.
How do I use it for angle-side-angle, where the side lies between the two angles?
Find the angle facing the known side first. A surveyor with a 100 m baseline who sights a point at 70° from one end and 60° from the other has 50° facing the baseline. Entering a = 100, A = 50 and B = 60 gives about 113.05 m, the distance from the 70° end to the point.
Can I find the side lengths from three angles alone?
No. Three angles fix the shape but not the size: a triangle with angles of 30°, 60° and 90° can have a short side of 5 cm or 5 km. At least one length is needed to set the scale, which is why this page asks for side a.
Why does a small error in angle A change the answer so much?
Angle A's sine is the divisor, and sines of small angles are small. With a = 5 and B = 60°, A = 5° gives b ≈ 49.68 while A = 6° gives ≈ 41.43. At A = 40° versus 41° the answer moves only from about 6.74 to 6.60, so a large angle facing the known side gives a steadier result.
Does the law of sines work for right triangles too?
Yes, and there it collapses to ordinary right-triangle trigonometry. If A is 90°, its sine is 1, so the known side is the hypotenuse and b = hypotenuse × sin B, the same as the familiar rule that the opposite side equals the hypotenuse times the sine of the angle.
How do I get the area once I have two sides?
Use half the product of two sides times the sine of the angle between them: area = ½ × a × b × sin C. For the example triangle that is ½ × 5 × 8.6603 × sin 90° ≈ 21.65 square units, in the square of whatever unit side a was measured in.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
b = a·sin(B)/sin(A); C = 180°−A−B
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon