Direct answer
A general triangle can usually be solved from three independent measurements that include at least one side, but the correct method depends on which sides and angles are known.
What this calculation tells you
Solving a triangle recovers its missing sides and angles from a sufficient set of known measurements. The result describes one or more geometrically possible shapes and can support layout, distance, area, orientation, or verification work.
The known-value pattern matters because it determines which relationships apply and whether the measurements define a unique triangle. A numerical answer is useful only after checking that the supplied labels and physical references describe the intended shape.
Where it is used
Surveying and mapping
Recover inaccessible distances or angles from measured baselines and observations, subject to the survey method and required accuracy.
Construction and fabrication
Check diagonals, braces, roof or stair geometry, cut layouts, and component positions before field or shop work.
Engineering and design
Resolve forces, linkages, coordinate offsets, or geometric relationships within a documented model.
Navigation and positioning
Relate bearings, distances, and routes when the chosen triangle accurately represents the path or observation geometry.
When this guide helps
- Finding an inaccessible distance from a measured baseline and angles.
- Checking whether three measured lengths can form the intended frame or layout.
- Recovering a brace angle or diagonal from known component dimensions.
- Determining whether an SSA measurement set represents no triangle, one triangle, or two alternatives.
Match the data pattern
SSS means three sides are known. SAS means two sides and their included angle are known. ASA and AAS use two angles plus one side. SSA gives two sides and a non-included angle and needs special care.
Three angles alone determine shape but not size, so AAA cannot determine unique side lengths.
A reliable solving order
Validate the measurements first: angles must be between 0° and 180°, side lengths must be positive, and any three supplied sides must satisfy the triangle inequality.
Then use the angle sum, law of sines, or law of cosines as the data pattern requires. Finish by checking that the three angles total 180° within rounding tolerance.
Why SSA is ambiguous
The sine function has the same value for supplementary angles. In some SSA arrangements, the supplied measurements can therefore form two different triangles. A complete solution must test both candidates rather than silently returning one.
- Sketch the known measurements.
- Keep full precision between steps.
- Verify recovered sides and angles against the original data.
Measurement quality matters
A mathematically valid solution can still be a poor description of a real layout when the starting measurements are rounded, taken from different reference points, or paired with the wrong opposite angle. A sketch with consistent labels is often the best defense against a technically correct calculation using the wrong data.
Near-degenerate triangles deserve extra caution. When two sides almost add to the third, or an angle is very close to 0° or 180°, small measurement changes can produce large changes in the recovered angles or area. Field work may need a fresh measurement rather than more displayed decimal places.
- Record where every side and angle was measured.
- Treat excess decimals as calculation precision, not measurement accuracy.
- Check the solved shape against the physical or diagrammed situation.
Worked case: right-triangle layout
A right triangle has perpendicular legs of 3 m and 4 m.
The hypotenuse is sqrt(3² + 4²) = sqrt(25) = 5 m. The legs satisfy the required right-angle condition.
The missing side is exactly 5 m.
This is the Pythagorean case; using a general formula is unnecessary but should give the same result.
Reproduce this worked caseOpen Triangle Calculator
Worked case: two sides and their included angle
A non-right triangle has sides 7 m and 9 m with an included angle of 60 degrees.
By the cosine rule, c² = 49 + 81 - 2 x 7 x 9 x cos(60°) = 67, so c = sqrt(67) ≈ 8.185 m.
The third side is approximately 8.19 m after final rounding.
The 60-degree angle must be the angle between the entered 7 m and 9 m sides; using a non-included angle changes the problem.
Reproduce this worked caseOpen Triangle Calculator
Compare triangle solving cases before generalising
Before calculating, classify the known-value pattern. Some SSA inputs can produce two, one or no valid triangles, while three angles determine shape but not size.
| Known information | Applicable method | Result |
|---|---|---|
| Legs 3 and 4; right angle | Pythagorean theorem | Hypotenuse 5 |
| Sides 7 and 9; included 60° | Cosine rule | Third side sqrt(67) |
| Three angles only | No unique scale | Insufficient for side lengths |
triangle solving: calculation checklist
- Match labels to opposite angles
- Identify the included angle
- Check triangle inequality
- Use one angle unit
- Verify angles sum to 180 degrees
Practical questions
Frequently asked questions
What information is enough to solve a triangle?
Common sufficient sets are SSS, SAS, ASA, and AAS. SSA requires an ambiguity check. Three angles determine the shape but not the scale, so they do not determine unique side lengths.
Why can SSA produce two triangles?
The supplied side and non-included angle can sometimes place the remaining vertex in two valid positions. Both candidates must be tested against the measurements.
How should I check a solved triangle?
Confirm that its angles total 180°, its sides satisfy the triangle inequality, and the recovered values reproduce the original measurements within justified rounding tolerance.
Further reading
Authoritative sources
Use these primary and professional resources to check definitions, conventions, or requirements that may extend beyond this guide.
