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

Triangle Side Calculator

Find a missing triangle side from one known side, the angle facing it and a second angle, using the law of sines; the third angle is returned as well.

Triangle Side Calculator

°
°
Solved side b
8.6603
Side b, the side opposite target angle B, in the same length unit as the known side a.
Third angle
90°

Background.

Finding a missing side of a triangle is really three different problems, and the first job is to work out which one you have. If the triangle has a right angle and you know two sides, Pythagoras settles it. If you know two sides and the angle between them, the law of cosines does. If you know one side and two of the angles, the law of sines does — and that is the case solved here.

Two angles fix the triangle's shape, since the third is whatever is left of 180°. One side then fixes its size. The law of sines links the two: in any triangle, each side divided by the sine of the angle facing it gives the same number. Divide the known side a by the sine of its opposite angle A and you have that number, the triangle's scale; multiply it by the sine of another angle B and you have the side facing B.

The word facing carries the weight. Sides take the lower-case letter of the angle across from them, so a sits opposite A and b opposite B, and mixing up that pairing is the usual cause of a wrong answer. If the side you know lies between your two angles, find the angle opposite it first by subtracting the other two from 180°.

Do not expect sides in proportion to the angles. Sides follow the sines, so doubling an angle never doubles the side facing it, although the longest side always faces the largest angle. The page returns side b and the third angle C; run it again with C as the target for the last side.

What is triangle side calculator?

The missing side here is side b of a triangle in which you already know side a, the angle A opposite it, and a second angle B. The law of sines, a/sin A = b/sin B = c/sin C, gives b directly, and the angle sum of 180° gives the third angle C. One side and two angles pin down exactly one triangle, so there is none of the ambiguity that arises when two sides and an angle not between them are known.

How to use this calculator.

  1. Sketch the triangle and label it: call the side you know a, the angle across from it A, and the angle across from the side you want B.
  2. If the side you know lies between your two angles, work out A first as 180° minus the two angles you measured.
  3. Enter a in whatever unit you measured it — metres, feet, centimetres — and both angles in degrees. A and B together must come to less than 180°.
  4. Read side b, in the same unit as a, and the third angle C. For the third side, run the page again with C entered as the target angle.

The formula.

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

b = a × sin B ÷ sin A, and C = 180° − A − B. The first line is the law of sines, a/sin A = b/sin B, rearranged for b. The quotient a ÷ sin A is the same for every side of the triangle, so each side is that one constant multiplied by the sine of the angle opposite it. Because the sine rises steeply near 0° and flattens towards 90°, side lengths respond unevenly to angle: raising B from 10° to 20° nearly doubles b, multiplying it by about 1.97, while raising B from 70° to 80° adds only about 5%. The second line is the angle sum of a flat triangle. Angles are converted from degrees to radians before the sines are taken, and any pair of angles that leaves C at zero or below is refused, because no triangle has those angles.

A worked example.

Example

Side a is 5 units, the angle facing it is A = 30°, and the target angle is B = 60°. The third angle is 180° − 30° − 60° = 90°. Dividing the known side by the sine of its opposite angle gives the triangle's scale: 5 ÷ sin 30° = 5 ÷ 0.5 = 10. Side b is that scale times the sine of B: 10 × sin 60° = 10 × 0.8660254 = 8.6603. Angle B is twice angle A, yet b is only about 1.732 times a, because sides track sines rather than degrees. And since C is 90°, the scale of 10 is also the length of the hypotenuse. With B = 45° instead, the same scale gives b = 10 × 0.7071 ≈ 7.0711 and leaves C = 105°.

target Angle60
opposite Angle30
known Side5

Frequently asked questions.

Which method should I use to find a missing side of a triangle?
It depends on what you know. A right triangle with two known sides needs Pythagoras. Two sides and the angle between them need the law of cosines. One side and any two angles need the law of sines, which is what this page uses. Three angles alone cannot give any side.
Why isn't side b twice side a when angle B is twice angle A?
Because sides are proportional to the sines of their opposite angles, not to the angles. The sine curve bends over as the angle grows, so sin 60° is about 1.732 times sin 30°, not twice it. For any doubled angle the ratio of sines falls short of 2.
How can I find the height of a building I cannot reach?
Measure the angle to the top from two points in line with it. Sighting 30° from the far point and 45° from a point 20 m closer, the angle at the top is 15°. Enter a = 20, A = 15° and B = 30°: the near point is about 38.64 m from the top, and 38.64 × sin 45° ≈ 27.32 m is the height above eye level.
What if I know two sides and one angle instead?
Then this page is the wrong tool. If the angle lies between the two sides, the law of cosines gives the third side directly. If it lies opposite one of them, the data can fit two triangles, one, or none, and that ambiguous case needs a solver that checks each possibility.
How can I check whether the answer is sensible?
The longest side must face the largest angle and the shortest side the smallest. In the example, C = 90° is the largest angle and the side facing it, 10, is longer than b at about 8.66, which in turn is longer than a at 5, matching angles of 60° and 30°.

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