Last verified · v1.0
Calculator · math
Triangle Classification Calculator
Classify triangles by side lengths or interior angles. Enter three sides to identify equilateral, isosceles, scalene, acute, right, or obtuse types.
Inputs
Triangle Classification Code (Sides: 1=Equilateral, 2=Isosceles, 3=Scalene | Angles: 1=Acute, 2=Right, 3=Obtuse | 0=Invalid | Largest Angle: degrees)
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How to Classify a Triangle
A classifying triangles calculator determines the type of any triangle formed by three given side lengths using two independent systems: classification by side lengths and classification by interior angles. Both systems appear in standard mathematics curricula from elementary school through technical college, as documented in the Ohio Learning Standards for Mathematics (2017) and reinforced in technical programs such as MTH 111 — Basic Technical Mathematics.
Step 1: Verify the Triangle Inequality
Before classifying any triangle, confirm that the three side lengths form a valid triangle. The triangle inequality theorem requires that the sum of any two sides must strictly exceed the third. For sides a, b, and c, all three conditions must hold: a + b > c, a + c > b, and b + c > a. Sides 3, 4, and 5 satisfy all three (3 + 4 = 7 > 5), so they form a valid triangle. Sides 1, 2, and 10 fail immediately (1 + 2 = 3, which does not exceed 10), so no triangle exists with those measurements.
Classification by Side Lengths
Once validity is confirmed, compare all three side lengths to determine the side-based category:
- Equilateral: All three sides are equal (a = b = c). Every interior angle measures exactly 60°. Example: sides 5 cm, 5 cm, and 5 cm.
- Isosceles: Exactly two sides are equal. The base angles theorem guarantees that the two angles opposite the equal sides are congruent. Example: sides 6 m, 6 m, and 4 m.
- Scalene: All three sides differ in length, so all three interior angles are also different. Example: sides 3 ft, 5 ft, and 7 ft.
Classification by Interior Angles
The angle-based classification depends on the measure of the largest interior angle:
- Acute: All three angles are less than 90°. A triangle with sides 5, 6, and 7 has a largest angle of approximately 78.5°, making it acute.
- Right: One angle equals exactly 90°. The sides satisfy the Pythagorean theorem (a² + b² = c², where c is the hypotenuse). The 3-4-5 triangle is the most widely recognized example.
- Obtuse: One angle exceeds 90°. A triangle with sides 2, 3, and 4 has a largest angle of approximately 104.5° and is therefore obtuse.
The Law of Cosines
To compute any interior angle from three known side lengths, apply the Law of Cosines:
cos(C) = (a² + b² − c²) / (2ab)
Here, C is the angle opposite side c, while a and b are the remaining two sides. Solving for C yields: C = arccos((a² + b² − c²) / (2ab)). Apply the formula three times — cycling each side into the role of c — to find all three interior angles. Their sum must equal exactly 180°, which serves as a built-in accuracy check.
Worked Example: Sides 5, 7, and 9
Find the largest angle C opposite side c = 9, with a = 5 and b = 7:
- cos(C) = (25 + 49 − 81) / (2 × 5 × 7) = −7 / 70 ≈ −0.100
- C = arccos(−0.100) ≈ 95.7°
Because the largest angle exceeds 90°, the triangle is obtuse. Because all three sides (5, 7, 9) are different, it is also scalene. The complete classification is an obtuse scalene triangle.
Using the Classifying Triangles Calculator
Enter three side lengths in the Side A, Side B, and Side C fields. Select a mode from the Classify By dropdown: Side Lengths returns equilateral, isosceles, or scalene; Interior Angles returns acute, right, or obtuse; Largest Angle displays the degree measure of the largest interior angle via the Law of Cosines. The tool validates the triangle inequality before processing any result and immediately flags invalid inputs.
Real-World Applications
Triangle classification is foundational across engineering, design, and science. Structural engineers rely on equilateral and isosceles triangle configurations in roof trusses because their symmetry distributes loads evenly. Land surveyors use the Law of Cosines to solve oblique triangles when direct measurement is impossible. In computer graphics, rendering engines classify mesh triangles to select optimal rasterization algorithms. Architects apply right-triangle geometry to verify perpendicular corners during construction. Knowing the triangle type immediately constrains which formulas and theorems apply, saving significant calculation time in every one of these domains.
Reference