terican

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.

FreeInstantNo signupOpen source

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

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Triangle Classification Code (Sides: 1=Equilateral, 2=Isosceles, 3=Scalene | Angles: 1=Acute, 2=Right, 3=Obtuse | 0=Invalid | Largest Angle: degrees)

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

Frequently asked questions

What is a classifying triangles calculator?
A classifying triangles calculator accepts three side lengths as input and identifies the triangle type according to two standard systems. By side lengths, it returns equilateral (all sides equal), isosceles (exactly two sides equal), or scalene (all sides different). By interior angles, it returns acute, right, or obtuse. Some modes also compute the exact degree measure of the largest angle using the Law of Cosines formula C = arccos((a squared + b squared minus c squared) divided by 2ab), giving a precise numerical result alongside the category label.
What is the difference between equilateral, isosceles, and scalene triangles?
An equilateral triangle has all three sides equal, such as 5 cm, 5 cm, and 5 cm, and every interior angle measures exactly 60 degrees. An isosceles triangle has exactly two equal sides, for example 6 m, 6 m, and 4 m, with the two base angles opposite those equal sides also congruent. A scalene triangle, such as one with sides 3 ft, 5 ft, and 7 ft, has no equal sides and no equal interior angles. These three categories are mutually exclusive and cover every possible triangle.
How do you classify a triangle by its angles?
Triangle classification by angles depends on the measure of the largest interior angle. An acute triangle has all three angles strictly less than 90 degrees; a 5-6-7 triangle has a largest angle of about 78.5 degrees and is therefore acute. A right triangle has one angle equal to exactly 90 degrees and satisfies the Pythagorean theorem. An obtuse triangle has one angle greater than 90 degrees; a 2-3-4 triangle has a largest angle of approximately 104.5 degrees, making it obtuse. The three angle categories are also mutually exclusive.
What is the Law of Cosines and how does it determine a triangle's angles?
The Law of Cosines states that cos(C) equals (a squared plus b squared minus c squared) divided by (2 times a times b), where C is the interior angle opposite side c. Rearranging gives C = arccos((a squared + b squared - c squared) / (2ab)). For example, with sides 5, 7, and 9, the angle opposite the side of length 9 equals arccos(-7 divided by 70), which is approximately 95.7 degrees. Applying the formula to all three sides in turn yields all three interior angles, which must sum to exactly 180 degrees.
Can a triangle be classified as both isosceles and right at the same time?
Yes. An isosceles right triangle has two equal legs and one 90-degree angle. The two base angles each measure exactly 45 degrees, and the hypotenuse equals the leg length multiplied by the square root of 2, approximately 1.414 times the leg. For instance, legs of 7 cm each produce a hypotenuse of about 9.9 cm. This triangle is simultaneously isosceles by side-length classification and right by angle classification, demonstrating that the two systems operate independently and a triangle can satisfy criteria from both at once.
How do you verify that three side lengths form a valid triangle before classifying it?
Apply the triangle inequality theorem, which states that the sum of any two side lengths must strictly exceed the third. For sides a, b, and c, all three conditions must hold: a + b greater than c, a + c greater than b, and b + c greater than a. Sides 5, 7, and 9 pass all checks (5 + 7 = 12 greater than 9; 5 + 9 = 14 greater than 7; 7 + 9 = 16 greater than 5). Sides 1, 2, and 10 fail immediately because 1 + 2 = 3 is not greater than 10, meaning no triangle with those dimensions can exist.