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

Oblique Triangle Calculator

Solve an oblique triangle from one side and two angles: the law of sines gives the side opposite the second angle, and 180° minus both gives the third angle.

Oblique Triangle Calculator

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

Background.

School trigonometry is built on right triangles, where SOH-CAH-TOA ties each acute angle to a ratio of two sides. The triangles that turn up outside the classroom rarely oblige. A surveyor sighting a marker across a river, a navigator fixing a position from two bearings, a builder setting out a roof whose two slopes differ — each is working with an oblique triangle, one with no 90° angle at all. There is no hypotenuse, and sine, cosine and tangent no longer link the sides to a single angle in the familiar way.

Two results take over. The law of cosines handles three known sides, or two sides with the angle between them. The law of sines handles the situation here: one side, the angle facing it, and one more angle. Its claim is that every side of a triangle, divided by the sine of the angle across from it, gives the same number. Know one such pair and that shared number is fixed, so any other side is just the shared number times the sine of its own opposite angle.

So from side a, angle A opposite it and a second angle B, the page returns side b, the one facing B, and the remaining angle C, since all three angles must total 180°. To get the third side as well, run it a second time with C in place of B.

Nothing here insists on an obtuse or all-acute shape; if your angles happen to make a right angle at C, the answer is still correct. What the page does not cover is two sides with an angle that is not between them, a case that can have two valid triangles, or a triangle known only by its three sides.

What is oblique triangle calculator?

An oblique triangle is any triangle without a right angle: either all three angles are acute, under 90°, or one is obtuse, over 90°. Solving it means finding the unknown sides and angles from the ones measured. When the known pieces are a side and two angles, the shape and size are fully determined, and the law of sines with the 180° angle sum produces the rest. Here the outputs are side b, opposite angle B, and the third angle C.

How to use this calculator.

  1. Label the triangle so the side you know is a and the angle across from it — the one corner that side does not touch — is A.
  2. Enter the other angle you know as B. The page finds the side facing B; for the third side, repeat with C as the target angle.
  3. If the side you measured runs between the two angles you know, first subtract both angles from 180°. That result is the angle facing your side, and it is the value to enter as A.
  4. Give a in any length unit and b comes back in the same unit. Angles are in degrees, and A plus B must stay below 180°.

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 rearranged. Because a ÷ sin A = b ÷ sin B = c ÷ sin C in every triangle, one side with its opposite angle sets the common ratio, and multiplying that ratio by sin B gives b. The ratio has a geometric meaning: it equals the diameter of the circle passing through all three corners, which is why it is the same for every side. Angles are entered in degrees and converted to radians, by multiplying by π/180, before the sines are taken. The answer is most sensitive when A is small, because sin A sits in the denominator and a slight error in a narrow angle gets magnified. Any pair of angles adding to 180° or more is refused, since the two sides would never meet.

A worked example.

Example

With the default entries, side a is 5 units, the angle across from it is A = 30° and the second angle is B = 60°. The third angle is 180 − 30 − 60 = 90°, so this particular example is in fact a right triangle, not an oblique one. The law of sines gives b = 5 × sin 60° ÷ sin 30° = 5 × 0.8660254 ÷ 0.5 = 8.6603. The common ratio, 5 ÷ 0.5 = 10, is also the hypotenuse here, because the circle through a right triangle's corners has the hypotenuse as its diameter. Change B to 70° and the triangle becomes genuinely oblique: C = 180 − 30 − 70 = 80°, and b = 5 × sin 70° ÷ sin 30° = 5 × 0.9396926 ÷ 0.5, about 9.3969 units.

target Angle60
opposite Angle30
known Side5

Frequently asked questions.

How do I find the distance across a river without crossing it?
Mark a 100 m baseline on your bank and sight a tree on the far side from each end, measuring 70° and 60° between the baseline and the sight lines. The angle at the tree is 180 − 70 − 60 = 50°, which faces the baseline. Enter a = 100, A = 50 and B = 60 to get about 113.05 m, the distance from the 70° end to the tree.
Why can't I just use SOH-CAH-TOA on an oblique triangle?
Those ratios are defined for a right triangle, where one side is the hypotenuse. An oblique triangle has none. You can drop a perpendicular from one corner to split it into two right triangles and work through each, and doing that algebraically is exactly how the law of sines is proved.
When do I need the law of cosines instead?
When you do not know any side together with the angle facing it. Three known sides, or two sides with the angle between them, are law-of-cosines problems. This page needs a side and its opposite angle, which the law of sines can use directly.
The page says my angles leave no third angle. What went wrong?
The two angles add up to 180° or more, so the sides would never meet. Usually one angle was measured on the outside of the triangle; the inside angle is 180° minus that reading. Check too that A is truly the angle facing the known side.
Why does a narrow angle A make the result so sensitive?
Because b is divided by sin A, and the sine of a small angle is small and changes quickly in proportion. With a = 5 and B = 60°, setting A to 6° gives b of about 41.43, while 5° gives about 49.68, roughly 20% more from a one-degree change. Measure narrow angles with extra care.
Can I work out the area of the triangle from these results?
Yes. Area = ½ × a × b × sin C, using the two sides and the angle between them. For the oblique case with B = 70°, that is ½ × 5 × 9.3969 × sin 80°, about 23.14 square units.

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