What it does
Pick what you know about a triangle (two angles and a side, two sides and the angle between them, or all three sides), type the three numbers and the triangle is drawn to scale. The missing sides and angles appear at once, with the law that found them written underneath. In Grade 11 you can also pick the ambiguous case, where two sides and an angle that is not between them can fit zero, one or two different triangles.
The sine law says each side divided by the sine of its opposite angle is the same for the whole triangle. The cosine law is Pythagoras with a correction term: a² = b² + c² − 2bc cos A. Use the sine law when you know an angle and the side opposite it, and the cosine law when you know two sides and the angle between them, or all three sides. If your triangle has a right angle, try trig ratio explorer first, and for real-life uses see heights and distances and unit circle.
How to use it
- Choose “What do you know?” from the list. The three boxes change their names to match.
- Type your three numbers. Angles are in degrees, sides in any one unit (cm, m, km).
- Read the drawing and the list of sides and angles under it. The line above the list tells you which law was used.
- In the ambiguous case, two buttons appear when two triangles fit. Press them to see each one.
- Answer a question under “Check yourself”. You get a fresh one each time and a worked answer.
What each setting does
- Two angles and a side: finds the third angle by subtracting from 180°, then uses the sine law for the other two sides.
- Two sides and the angle between: uses the cosine law to find the third side, then again for another angle.
- All three sides: uses the cosine law three ways to find every angle. If the two short sides cannot span the longest one, it says there is no triangle.
- Ambiguous case (Grade 11): the sine law gives sin B, and B can be that angle or 180° minus it.
Worked example
Angle A = 40°, angle B = 65° and side a = 10 cm. Angle C = 180° − 40° − 65° = 75°. By the sine law, b = 10 × sin 65° / sin 40° ≈ 14.1 cm and c = 10 × sin 75° / sin 40° ≈ 15.03 cm. These are the numbers the tool shows when it opens.
Working, units and examples
Under the six answers there is a working list written the way an exam marks it: the angles add to 180°, then the sine law or cosine law with your numbers substituted and the result. In the ambiguous case each of the two triangles gets its own working.
The answer is also given in one sentence at the top of the results, for example a = 10, b = 14.1, c = 15.03 (A = 40°, B = 65°, C = 75°). Open More options: units to type angles in radians instead of degrees and to add a length unit (mm, cm, m, km or ft). More: area, perimeter and kind of triangle gives the area ½ bc sin A, the perimeter, and whether the triangle is acute, right-angled or obtuse.
Example buttons load a typical problem for each case: measuring across a river (two angles and a side), two ships leaving a port (two sides and the angle between them), a triangular plot (three sides), and the ambiguous case at Grade 11. A box lists the common mistakes: calculator in the wrong mode, using the sine law when the cosine law is needed, and matching sides with the wrong angles. Blank, zero or negative entries give a plain message.
FAQs
Why can SSA give two triangles? Swing side a like a gate around vertex C: if it is shorter than b but long enough to reach the base, it can touch the base in two places. That is why sin B = b sin A / a gives two angles, B and 180° − B.
Does this follow the Ontario curriculum? The topics match the usual Grade 10 and Grade 11 trigonometry strands (MPM2D and MCR3U). fibub is not part of the Ontario government and curriculum wording changes, so check the official Ontario curriculum for your course.
Why does my triangle not fit? The two shorter sides must add up to more than the longest side, and two angles must add up to less than 180°.
Are my numbers saved? No. Everything is worked out in your browser and nothing is stored or sent.
How do I know whether to use the sine law or the cosine law? Use the cosine law when you know three sides, or two sides and the angle between them; use the sine law when you know two angles and a side, or two sides and an angle opposite one of them.
Where the numbers come from
- The sine law and the cosine law are standard geometry results. Grade levels follow the Ontario Ministry of Education course topics for MPM2D and MCR3U; check the official curriculum for the current wording. Drawings are fibub's own.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Last updated 2026-11-16.