Classifying Triangles Calculator

Enter three side lengths to classify the triangle by its sides (equilateral, isosceles, scalene) and by its angles (acute, right, obtuse), and get the largest angle and area.

Quick Facts

By sides
Equilateral (all 3 equal), isosceles (2 equal), scalene (none equal)
Any three lengths must satisfy the triangle inequality — each side shorter than the sum of the other two — or no triangle exists.
By angles
Acute (all angles < 90°), right (one angle = 90°), obtuse (one angle > 90°)
Found by comparing the square of the longest side to the sum of the squares of the other two (Law of Cosines).

Your Results

Calculated
Classification by sides
-
Equilateral, isosceles, or scalene
Classification by angles
-
Acute, right, or obtuse
Largest angle
-
Opposite the longest side
Area
-
Square units, via Heron's formula

Ready

Enter three side lengths, then press Calculate.

How the Classifying Triangles Calculator works

This calculator takes three side lengths and classifies the triangle two ways at once: by its sides (equilateral, isosceles, scalene) and by its angles (acute, right, obtuse). It also reports the largest angle and the area, using only the three lengths you provide — no protractor or angle measurement needed.

Formula and method

Given side lengths a, b, and c, the calculator first checks the triangle inequality: a + b > c, a + c > b, and b + c > a must all hold, or the three lengths cannot enclose a triangle at all.

Classification by sides is a direct comparison: all three lengths equal is equilateral, exactly two equal is isosceles, and no two equal is scalene.

Classification by angles uses the generalized Pythagorean comparison (a consequence of the Law of Cosines). Let z be the longest side and x, y the other two. If z² < x² + y², every angle is under 90° and the triangle is acute. If z² = x² + y², the angle opposite z is exactly 90° and the triangle is right — this is the Pythagorean theorem itself. If z² > x² + y², that angle exceeds 90° and the triangle is obtuse.

Each individual angle is then solved with the Law of Cosines: for the angle C opposite side c, cos(C) = (a² + b² − c²) ÷ (2ab), so C = arccos of that ratio. The largest angle is always opposite the longest side. Area comes from Heron's formula: with semi-perimeter s = (a + b + c) ÷ 2, Area = √(s(s−a)(s−b)(s−c)).

Common sources of error

  • Unit mismatch: enter all three sides in the same unit (all inches, all centimeters, etc.) — mixing units silently produces a nonsense triangle
  • Ignoring the triangle inequality: not every three positive numbers form a triangle; if one side is too long relative to the other two, the calculator will flag it as invalid
  • Rounding measured sides too coarsely: near-right or near-equilateral triangles can flip classification (right vs. obtuse, or isosceles vs. scalene) from small rounding in the input lengths

Checking your result

A quick sanity check: the three angles A, B, and C should sum to 180°. The largest angle should always sit opposite the longest side, and the smallest angle opposite the shortest side. For the classic 3-4-5 right triangle, you should get angles of about 36.87°, 53.13°, and exactly 90°, with an area of 6 square units — a useful reference case to confirm the tool is working as expected.

Applications

Triangle classification comes up in geometry coursework, in trigonometry when deciding which solving method applies (right-triangle trig vs. the Law of Sines/Cosines), and in practical fields like carpentry, surveying, and CAD work where confirming a triangle is exactly square (right) or symmetric (isosceles/equilateral) matters before cutting material or bracing a structure.

Frequently Asked Questions

How do you classify a triangle by its sides?
Compare the three side lengths. If all three are equal, it's equilateral. If exactly two are equal, it's isosceles. If no two sides are equal, it's scalene. This classification only depends on the lengths — it says nothing about the angles.
How do you classify a triangle by its angles?
Find the longest side (call it z) and the other two (x and y), then compare z² to x² + y². If z² is less than x² + y², every angle is under 90° and the triangle is acute. If they're equal, the triangle is right (this is the Pythagorean theorem). If z² is greater, the triangle is obtuse, with one angle over 90°.
Can any three side lengths form a triangle?
No. The triangle inequality requires that each side be shorter than the sum of the other two: a + b > c, a + c > b, and b + c > a. For example, sides of 2, 3, and 10 cannot form a triangle because 2 + 3 is less than 10. The calculator checks this before classifying.
How is the area calculated from just three side lengths?
Using Heron's formula. Compute the semi-perimeter s = (a + b + c) / 2, then Area = the square root of s(s−a)(s−b)(s−c). It works for any valid triangle and doesn't require knowing the height or any angle directly.