Abc Triangle Calculator

Find missing triangle sides and angles from any three known measurements

Find missing triangle measurements when you know any three values. Essential for construction, engineering, navigation, and geometry problems.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of a triangle like a three-legged stool — once you lock any three measurements in place, the entire structure becomes rigid and unchangeable. This principle, called triangle rigidity, is why triangular braces make buildings earthquake-resistant and why surveyors use triangulation to map terrain.

The calculator uses two fundamental relationships that govern all triangles. The Law of Cosines extends the Pythagorean theorem to work with any triangle, not just right triangles. It connects all three sides with one angle, letting you find a missing side when you know two sides and the angle between them. The Law of Sines creates a proportion between sides and their opposite angles, perfect for cases where you know mixed combinations of sides and angles.

Both laws work because triangles have exactly six measurements (three sides, three angles) with built-in constraints. The angles must sum to 180 degrees, and the sides must satisfy the triangle inequality. Once you specify three independent measurements, mathematics determines the remaining three with perfect precision.

When To Use This
Right tool, right situation

Use this calculator whenever you need to find missing triangle measurements in construction, engineering, navigation, or design work. It excels for roof truss calculations, property boundary surveys, antenna positioning, and any situation where you have partial triangle information but need the complete picture.

The calculator works perfectly for indirect distance measurement — surveyors use triangulation to measure distances across rivers or to mountaintops by measuring angles from known baseline positions. Architects rely on triangular calculations for irregular lot layouts, while engineers use them for bridge supports and structural analysis.

Avoid using this calculator for triangles drawn on curved surfaces like spheres or for extremely small triangles where measurement precision approaches the triangle's actual dimensions. For navigation over long distances on Earth, spherical trigonometry provides more accurate results than flat triangle calculations, though the difference only becomes significant over hundreds of miles.

Common Mistakes
Why results sometimes look wrong

The most common error involves the ambiguous case of the Law of Sines, which occurs when you know two sides and a non-included angle. This SSA case can sometimes produce two valid triangles instead of one unique solution. For example, if you know sides a = 10 and b = 8 with angle A = 45°, the calculation might yield two possible positions for the third vertex, creating two different valid triangles.

Many users input angle measurements in radians when the calculator expects degrees, or vice versa. A 45-degree angle becomes 0.785 radians — mixing these units produces wildly incorrect results. Always verify your angle unit setting matches your measurement system before calculating.

Another frequent mistake involves assuming that approximate equality is exact equality. Real-world measurements contain small errors, so angles might sum to 179.8° or 180.3° instead of exactly 180°. The calculator includes tolerance for minor measurement errors, but significant deviations indicate either measurement errors or an impossible triangle configuration.

The Math
Worked examples and deeper derivation

The Law of Cosines states that c² = a² + b² - 2ab·cos(C), which reduces to the familiar Pythagorean theorem when angle C equals 90 degrees. This formula lets you find any side when you know the other two sides and the included angle, or find any angle when you know all three sides by rearranging to cos(C) = (a² + b² - c²) / (2ab).

The Law of Sines creates the proportion a/sin(A) = b/sin(B) = c/sin(C), meaning the ratio of any side to the sine of its opposite angle remains constant throughout the triangle. This relationship proves invaluable when you have mixed information — perhaps two angles and one side, or two sides and a non-included angle.

The triangle inequality provides the boundary test: the sum of any two sides must exceed the third side. Without this constraint, your three measurements might describe a theoretical triangle that cannot exist in physical space. The angle sum constraint (all angles totaling 180 degrees) provides the second validation check that ensures your triangle closes properly.

Roof Truss Design
Two roof beams of 8.5 feet and 12.3 feet meeting at a 67.2-degree angle
Knowing all three sides lets you cut materials precisely and ensures the truss will fit together properly during construction.
Navigation Triangle
Ship travels 15 miles north, then 20 miles at 45 degrees northeast
The triangle shows the most efficient return route and helps calculate fuel consumption for the direct path versus the two-leg journey.
Garden Plot Layout
Triangular garden with two sides of 25 feet and 30 feet, corner angle of 90 degrees
Perfect for calculating how much mulch, seed, or fencing material you need for the entire triangular space.
Expert Unlock
The thing most explanations skip

Professional surveyors know that triangle calculations become unreliable when one angle approaches 180 degrees — the triangle becomes nearly flat and small measurement errors create large result variations. This ill-conditioned problem explains why triangulation networks use well-shaped triangles with angles between 30 and 120 degrees whenever possible.

How do I solve triangles with missing measurements?

What three measurements do I need to solve any triangle?
You need any combination of three measurements: three sides (SSS), two sides and the included angle (SAS), two angles and any side (ASA/AAS), or two sides and a non-included angle (SSA). The calculator automatically detects which case you have and applies the correct formula.
Why does my triangle calculation show an error?
Common causes include angles that don't sum to 180 degrees, violating the triangle inequality (any two sides must be longer than the third), or entering impossible combinations like three angles that total more than 180 degrees. Check that your measurements form a valid triangle.
Can I use this calculator for any triangle shape?
Yes, this works for all triangle types: acute, obtuse, right, scalene, isosceles, and equilateral. The Law of Cosines and Law of Sines apply universally to any triangle, regardless of its specific shape or proportions.

Need something this doesn't cover?

Suggest a tool — we'll build it →