Triangle Dimensions Calculator
Triangles hide a surprising amount of information inside three simple measurements. Give this calculator two sides and the angle between them, and it reconstructs the entire triangle: the missing side, both missing angles, the area, the perimeter, and the altitude dropped to the unknown side. The Triangle Dimensions Calculator uses the Law of Cosines and Law of Sines to solve the classic side-angle-side (SAS) case that appears in surveying, carpentry, navigation, and geometry class.
You only enter three numbers — two side lengths and the included angle in degrees. The calculator finds side C with the Law of Cosines, recovers angle A with the Law of Sines, gets angle B by subtraction from 180 degrees, then computes area, perimeter, and height. Worked examples walk through a 60-degree SAS triangle and a right-triangle check step by step.
Students verifying homework, builders laying out angled cuts, and navigators resolving position triangles will all reach for this tool. The FAQ covers when SAS applies, why angles must sum to 180 degrees, and how to sanity-check the answers.
What Is Triangle Solving?
Solving a triangle means finding all six of its measures — three sides and three angles — from the minimum information that determines them. A triangle is fully determined by three independent facts, such as two sides and the included angle (SAS), two angles and a side (AAS/ASA), or three sides (SSS). This calculator handles the SAS case: you supply sides A and B plus the angle C between them, and it derives everything else.
The SAS case is the workhorse of practical trigonometry. A surveyor measures two distances and the angle between them; a carpenter cuts two boards and sets the angle where they meet; a navigator knows two legs of a journey and the turn angle. In each case the missing third side — the distance across, the length of the closing cut, the direct route home — is exactly what the Law of Cosines delivers. A simple illustration: with sides 5 and 7 enclosing 60 degrees, the third side comes out to 6.24, a result no ruler-and-protractor sketch could give precisely.
Why SAS Triangles Matter
The SAS configuration is the most common triangle you meet outside the classroom because it mirrors how measurements are actually taken. Instruments measure distances and angles directly — a tape gives sides, a protractor or theodolite gives the angle — so the SAS inputs are the raw data of fieldwork. Being able to complete the triangle from them is the gateway skill of applied trigonometry.
The formulas also generalize beautifully. The Law of Cosines contains the Pythagorean theorem as a special case (when the angle is 90 degrees, the cosine term vanishes), and the area formula 1/2·a·b·sin(C) extends to the famous Heron-adjacent results. Understanding SAS deeply therefore unlocks the whole triangle-solving toolkit. The third reason is error detection: if independently computed angles don’t sum to 180 degrees, or the area looks wrong, you know a measurement or entry is off before it becomes an expensive mistake.
How to Use the Triangle Dimensions Calculator
Step 1: Identify the two known sides and the angle between them — this must be the included angle, not just any angle of the triangle. Step 2: Enter Side A in the first field. Step 3: Enter Side B in the second field. Step 4: Enter the Included Angle C in degrees (a number between 0 and 180). Step 5: Click Calculate to see side C, angles A and B, area, perimeter, and the height to side C. Step 6: Click Reset to solve another triangle.
Worked Example 1: Sides 5 and 7 with 60 Degrees
For A = 5, B = 7, angle C = 60 degrees:
Step 1: Convert 60 degrees to radians: 60 x pi/180 = 1.0472. Step 2: Law of Cosines: c = sqrt(5² + 7² – 2·5·7·cos(60°)) = sqrt(25 + 49 – 70·0.5) = sqrt(39) = 6.24. Step 3: Law of Sines for angle A: sin(A) = 5·sin(60°)/6.24 = 5·0.8660/6.24 = 0.6937, so A = 43.9 degrees. Step 4: Angle B = 180 – 60 – 43.9 = 76.1 degrees. Step 5: Area = 0.5·5·7·sin(60°) = 15.16. Step 6: Perimeter = 5 + 7 + 6.24 = 18.24; height to side C = 2·15.16/6.24 = 4.86.
Worked Example 2: Right-Triangle Check (3, 4, 90 Degrees)
For A = 3, B = 4, angle C = 90 degrees:
Step 1: c = sqrt(9 + 16 – 2·3·4·cos(90°)) = sqrt(25 – 0) = 5.00 — the classic 3-4-5 triangle emerges. Step 2: sin(A) = 3·1/5 = 0.6, so A = 36.87 degrees. Step 3: B = 180 – 90 – 36.87 = 53.13 degrees. Step 4: Area = 0.5·3·4·1 = 6.00. Step 5: Perimeter = 12.00; height to the hypotenuse = 2·6/5 = 2.40. This confirms the calculator against a triangle everyone knows.
Understanding the Law of Cosines Deeply
The Law of Cosines, c² = a² + b² – 2ab·cos(C), is the general form of the Pythagorean theorem. When angle C is 90 degrees, cos(C) is zero and the formula collapses to c² = a² + b². For acute angles the correction term subtracts, shortening the opposite side; for obtuse angles it adds, lengthening it. This single formula therefore handles every possible SAS triangle with one consistent rule.
The geometric intuition: 2ab·cos(C) measures how much the two sides “lean toward” each other. At 60 degrees they lean significantly, so side C (6.24) is shorter than the Pythagorean 8.60 you would get if the sides were perpendicular. At 120 degrees they lean apart, and side C stretches to 10.44. Remembering this leaning picture lets you estimate whether a computed side is plausible before trusting the digits.
Key Factors That Change the Results
Angle units are the most common source of error — the calculator expects degrees, and entering radians (or vice versa) produces wildly wrong sides. Included versus non-included angle is the second trap: the formulas only work when the angle sits between the two known sides. If your known angle touches only one known side, you have an SSA case, which needs different treatment and can even have two solutions.
Significant figures matter in fieldwork. A tape measured to the nearest centimeter and a protractor read to the nearest degree cannot honestly yield a side to four decimal places; round the outputs to match the precision of the inputs. Degenerate inputs — an angle near 0 or 180 degrees, or sides violating the triangle inequality — describe no real triangle, so the calculator rejects angles outside (0, 180) and zero or negative sides.
The Law of Sines step deserves a caution: arcsine returns the acute solution, which is correct here because the computed angle A is always opposite a known side in a valid SAS triangle, but in the ambiguous SSA case it can mislead. The calculator’s SAS-only design sidesteps this ambiguity entirely — one more reason to confirm your inputs are truly side-angle-side.
Area and height follow from the same three inputs through 1/2·a·b·sin(C). Note that this area formula uses the included angle — a reminder that the angle’s position, not just its size, drives the results. The height to side C is then 2·Area/c, the altitude that would be measured perpendicular to the computed side.
Tips for Solving Triangles Accurately
- Confirm the known angle is between the two known sides before using the SAS solver.
- Enter angles in degrees — never radians — unless a tool explicitly asks for radians.
- Sketch the triangle roughly and label all six parts before calculating.
- Check that the three computed angles sum to exactly 180 degrees.
- Verify the longest side sits opposite the largest angle.
- Round outputs to the precision of your least precise input measurement.
- Use the 3-4-5 test case to verify any new triangle solver.
- For fieldwork, measure twice — angle errors propagate strongly into side C.
- Remember that area needs the included angle; a non-included angle gives the wrong area.
Frequently Asked Questions
1. What is the SAS triangle case?
SAS means side-angle-side: two sides and the angle between them are known. These three facts fully determine the triangle, and the Law of Cosines finds the third side directly. The calculator solves exactly this case.
2. Can I use this for a right triangle?
Yes — enter 90 degrees as the included angle and the Law of Cosines reduces to the Pythagorean theorem. The worked 3-4-5 example confirms the calculator handles right triangles perfectly.
3. What if my known angle is not between the two sides?
Then you have the SSA (ambiguous) case, not SAS, and this calculator’s formulas do not apply. SSA can yield zero, one, or two valid triangles and needs a dedicated solver. Double-check which angle you actually measured.
4. Why must the angles sum to 180 degrees?
It is a fundamental theorem of Euclidean geometry: the interior angles of any triangle always add to 180 degrees (pi radians). The calculator uses this to find the third angle, and you can use it to verify the results.
5. How does the Law of Cosines work?
It states c² = a² + b² – 2ab·cos(C). The 2ab·cos(C) term corrects the Pythagorean sum for the angle’s lean: acute angles shorten side C, obtuse angles lengthen it, and a right angle leaves the classic a² + b².
6. How does the Law of Sines find angle A?
The Law of Sines says a/sin(A) = c/sin(C), so sin(A) = a·sin(C)/c. Taking the arcsine gives angle A. In the SAS case this is unambiguous because the triangle is fully determined.
7. What is the triangle inequality?
Any two sides must sum to more than the third side. Inputs violating this (like sides 1, 2, 10) describe no real triangle. The calculator’s angle and positivity checks catch most degenerate cases.
8. How is the area computed?
Area = 1/2·a·b·sin(C), using the two known sides and the included angle. This is exact for the SAS case and far simpler than Heron’s formula, which needs all three sides first.
9. What is the height to side C?
The altitude perpendicular to side C, equal to 2·Area/c. It is the distance from vertex C to side C — useful for construction layouts and for area verification.
10. Can the calculator handle obtuse angles?
Yes — any angle between 0 and 180 degrees works. For obtuse included angles the cosine is negative, so the Law of Cosines automatically lengthens side C. Try 120 degrees to see the effect.
11. Why do I get slightly different answers by hand?
Intermediate rounding. If you round c to 2 decimals before computing the angles, the angles inherit that rounding error. The calculator keeps full precision internally and rounds only for display.
12. What are the ambiguous SSA cases?
Given two sides and a non-included angle, there can be two different triangles fitting the data (or none). This calculator avoids the ambiguity by requiring the included angle — always confirm your angle’s position.
13. How precise should my inputs be?
Match the tool to the job: a protractor’s degree and a tape’s millimeter are plenty for carpentry, while surveying needs finer instruments. Never report more decimals than your inputs justify.
14. Does this work for spherical triangles?
No — these are plane-triangle formulas. Triangles on the Earth’s surface (navigation over long distances) need spherical trigonometry, where angles sum to more than 180 degrees.
15. What is the perimeter used for?
Perimeter (a + b + c) gives the total edge length — the amount of trim, fencing, or edging a triangular region needs, and the first step toward inradius and circumradius calculations.
CONCLUSION
The Triangle Dimensions Calculator turns the three measurements you can actually take in the field — two sides and the angle between them — into the triangle’s complete description: all three sides, all three angles, area, perimeter, and altitude. The worked examples prove the machinery against the familiar 3-4-5 triangle and a 60-degree case computed step by step.
The single most important takeaway: confirm the angle is included between the sides before you trust any SAS result. Get that right, keep degrees and radians straight, and the Law of Cosines plus the Law of Sines will solve every triangle you meet.