Enter the side lengths
Use any unit you like (cm, inches, meters) as long as all three sides use the same unit. If the sides cannot form a triangle, we’ll tell you exactly why.
Enter three side lengths and this calculator will instantly classify your triangle by sides (equilateral / isosceles / scalene) and by angles (acute / right / obtuse). It also checks the triangle inequality, then shows perimeter and area.
Use any unit you like (cm, inches, meters) as long as all three sides use the same unit. If the sides cannot form a triangle, we’ll tell you exactly why.
A triangle is one of the most fundamental shapes in geometry. What makes triangles special is that, with just three side lengths, you can determine a surprising amount of information: whether the shape even exists, what kind of symmetry it has, and whether it contains a right angle. This page breaks down the exact logic used by the Triangle Type Calculator so you can trust the result (and understand it well enough to explain it in class, in a study group, or in a project write‑up).
Before we label a triangle, we have to confirm the three sides can physically form one. This is the triangle inequality: the sum of any two sides must be greater than the third side. If you imagine trying to “close” the triangle using three sticks, the two shorter sticks must reach far enough to connect. In symbols:
If any one of these is false, your three lengths cannot form a triangle. For example, 1, 2, 3 fails because 1 + 2 is not greater than 3. That’s not a triangle — it “flattens” into a straight line. In real measurements, you might be close because of rounding. That’s why this calculator uses a small tolerance so values like 10, 10, 20.0000001 don’t cause confusing results.
Side-based classification is about equality. If the sides are the same, the triangle has symmetry. Symmetry matters because it predicts equal angles, equal heights, and equal medians — a bunch of geometric features that “line up.” Here are the three side types:
This calculator compares sides using a tiny tolerance (so 5 and 5.0000000002 still count as “equal”). That makes the tool more practical for measurements and avoids labeling a triangle scalene just because of rounding.
Here’s the clever part: you can decide whether a triangle is acute, right, or obtuse using only side lengths. Sort the sides so the largest is c (the “longest side”). Then compare squares:
This comes from the Pythagorean theorem. In a right triangle, the longest side (hypotenuse) satisfies the exact equality. If the sum a² + b² is larger than c², the triangle is “tighter,” and all angles are less than 90° (acute). If the sum is smaller, the triangle “opens up” and one angle becomes larger than 90° (obtuse).
Once you have a valid triangle, you can compute extra useful values:
Heron’s formula is perfect here because it needs only the side lengths (no angles, no heights). That makes it ideal for “three‑side input” calculators and for quick geometry checks.
Let a = 3, b = 4, c = 5. Triangle inequality holds (3+4>5, 3+5>4, 4+5>3). Sides are all different → scalene. For angles: 3² + 4² = 9 + 16 = 25, and 5² = 25, so a² + b² = c² → right triangle. Perimeter is 12. Semiperimeter s = 6. Area A = √(6×3×2×1) = √36 = 6.
Triangle inequality: 5+5>8 is true, so it’s valid. Two sides equal → isosceles. Sort: 5, 5, 8. Compare squares: 5²+5² = 25+25 = 50, while 8²=64. Since 50<64, it’s obtuse. (There is one angle > 90°.) Perimeter is 18, semiperimeter is 9, area is √(9×4×4×1) = √144 = 12.
All sides equal → equilateral. Every equilateral triangle is also acute because all angles are 60°. Perimeter is 18, semiperimeter is 9, and area is √(9×3×3×3) = √243 ≈ 15.588. (This matches the known equilateral area formula, A = (√3/4)a², with a=6.)
Check triangle inequality: 2 + 3 = 5, which is not greater than 6. So the “triangle” can’t close. This is why the calculator refuses to classify it — no real triangle exists for those side lengths.
When you press Find Triangle Type, the calculator performs four checks in order:
If anything fails (like a missing input or inequality failure), the tool stops early and shows a helpful message. If everything passes, it calculates perimeter and area, and formats the result into a “shareable” sentence.
Angle classification depends on choosing the largest side as the “c” in a² + b² vs c². If you don’t sort, you might compare the wrong side and misclassify the triangle. This tool sorts internally every time, so the math stays correct even if you type sides in any order.
With real measurements, you can get 3.0001, 3, 4.9999 instead of 3, 3, 5. A strict equality check would say “not equal,” which can feel wrong for practical work. The calculator uses a small tolerance for equality and for the right‑triangle check so it behaves the way people expect.
No. If three side lengths satisfy the triangle inequality, they define exactly one triangle up to rotation and reflection. In other words: the shape is determined (this is the SSS congruence rule).
It compares a² + b² to c² using a small tolerance. If they’re extremely close, it labels the triangle right. This is useful when your inputs come from measurement or rounding.
You can’t determine a unique triangle type from only two sides. You would need another piece of information, like the third side, an included angle, or a height. Use a triangle calculator that supports SAS/ASA if needed.
Technically, yes (because it has at least two equal sides). In this calculator we label it equilateral since that’s the most specific and most useful classification.
If a + b = c, the “triangle” collapses into a straight line segment (degenerate triangle). In most geometry and real-world shape checks, that’s treated as “not a triangle,” so we require strictly greater than.
No — it’s only for displaying units in the result. The key rule is that all three sides use the same unit.
Here are 20 handy calculators to keep you moving:
If you only remember one thing from this page, make it this: compare the squares (with the largest side as c). That single comparison tells you whether the triangle is acute, right, or obtuse — no angles required.
Screenshot this, save it, and you’ll have a fast mental check whenever a triangle shows up in homework or in real work.
If you’re using measurements, rounding can slightly change classification near boundaries. Use consistent units and enough precision for your context.