Triangle Calculator
What are the missing sides and angles of your triangle?
Enter any three triangle measurements (sides or angles) to calculate all remaining properties including area, perimeter, and missing dimensions.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Imagine trying to build a rigid triangle frame from three metal rods. Once you fix the length of all three rods, there is exactly one way they can connect — every angle is locked in place. This physical reality reflects the mathematical principle that any three measurements of a triangle (as long as one is a side) completely determine all other measurements.
The calculator uses three fundamental relationships. When you know all three sides, the Law of Cosines reveals each angle by comparing how the triangle differs from a right triangle. When you know two sides and the angle between them, the same law finds the third side. When you know one side and two angles, the Law of Sines uses proportional relationships to find the remaining sides.
For area calculation, the tool applies Heron's formula, which needs only the three side lengths. This ancient formula computes area using the semi-perimeter (half the total perimeter) in a way that avoids needing to know any angles or heights directly.
When To Use This
Right tool, right situation
Use this calculator when you need exact geometric measurements for construction, engineering, or design projects where precision matters. Carpenters use it to verify corner angles and diagonal braces. Surveyors apply it to measure inaccessible distances by triangulation. Fabric designers calculate material requirements for triangular patterns.
The calculator works well for homework problems, roof calculations, and any situation where you have partial triangle measurements but need complete information. It is particularly valuable when physical measurement is difficult — you can measure two accessible sides and one angle, then calculate the inaccessible third side.
Avoid this tool for approximate or flexible measurements where exactness is unnecessary. If you are just sketching a rough triangular garden bed or estimating fabric needs with significant waste tolerance, simpler approximation methods may be more practical than precise trigonometric calculation.
Common Mistakes
Why results sometimes look wrong
The most common error is trying to solve a triangle with insufficient information, particularly entering three angles without any side lengths. Since triangles with identical angles can be any size, you need at least one side length as a scale reference. Many people also violate the triangle inequality without realizing it — if two sides are 5 and 7 units, the third side must be between 2 and 12 units.
Angle measurement confusion causes frequent errors. Some calculators expect radians while others use degrees, and mixing these units produces meaningless results. Additionally, when working with obtuse triangles (having one angle greater than 90 degrees), people often expect all calculations to follow right-triangle rules, leading to incorrect manual verification.
Precision errors compound when chaining calculations. If you solve for one unknown measurement and then use that result to find another, small rounding errors can accumulate. The calculator minimizes this by solving directly from your original inputs rather than using intermediate calculated values whenever possible.
The Math
Worked examples and deeper derivation
The Law of Cosines extends the Pythagorean theorem to all triangles, not just right triangles. For a triangle with sides a, b, c, it states that c² = a² + b² - 2ab cos(C), where C is the angle opposite side c. When angle C equals 90 degrees, the cosine term becomes zero and you get the familiar a² + b² = c².
The Law of Sines establishes that the ratio of any side to the sine of its opposite angle remains constant: a/sin(A) = b/sin(B) = c/sin(C). This relationship lets you find unknown sides when you know angles, or unknown angles when you know sides.
Heron's formula calculates area as √[s(s-a)(s-b)(s-c)] where s is the semi-perimeter (a+b+c)/2. This works because it essentially finds the area by decomposing the triangle into smaller right triangles, though the algebra hides this geometric insight.
Expert Unlock
The thing most explanations skip
Professional surveyors know that triangulation accuracy depends critically on the angle between measured baselines — narrow angles amplify measurement errors exponentially. When the angle between two known sides is less than 30 degrees or greater than 150 degrees, small measurement errors in the sides create large errors in the calculated third side.
How do I solve triangles with missing measurements?
Need something this doesn't cover?
Suggest a tool — we'll build it →