🧮
🧮 Math & statistics

Triangle Inequality Theorem Calculator (can three sides make a triangle?)

Results update as you type.

Your numbers

Understanding the triangle inequality theorem calculator — concept and principle

This calculator checks whether three lengths can form a triangle using the triangle inequality theorem. It shows each of the three checks, the allowed range for the third side, the type of triangle, the perimeter and the area. Use it for geometry homework, design and construction checks, and puzzles.

Triangle inequality checkTwo short sides must beat the long one571012< 12 ✓1057valid triangleobtuse · scalenearea 16.2481third side for 5 and 7: 2 < c < 12
5 + 7 = 12 is longer than 10, so the sides close into a (slightly obtuse) triangle.

How it is calculated

The principle

The straight line between two points is the shortest path. Going from one corner to another along the other two sides is a detour, so it must be longer than the direct side. That is the triangle inequality, proved by Euclid (Elements I.20). If the two shorter sides only just equal the longest, they lie flat along it and there is no space between them. The angle type follows from the law of cosines: c² = a² + b² − 2ab·cos C, so c² is larger than a² + b² exactly when cos C is negative, which means angle C is obtuse.

Worked example

Default inputs: a = 5, b = 7, c = 10.

  1. 5 + 7 = 12 > 10 ✓; 5 + 10 = 15 > 7 ✓; 7 + 10 = 17 > 5 ✓. Yes, a valid triangle.
  2. Third side range for 5 and 7: 2 < c < 12.
  3. All sides differ: scalene. 10² = 100 > 5² + 7² = 74: obtuse-angled.
  4. Perimeter = 22, so s = 11.
  5. Area = √(11 × 6 × 4 × 1) = √264 ≈ 16.2481.

How to read the result

If any check fails, no triangle can be built from those lengths. The range for the third side tells you which lengths are possible when two sides are fixed. A triangle close to the edge of the range is very flat and has a small area, which in real structures can mean poor stiffness.

Common mistakes

Keep in mind: Real parts have thickness and joints. For frames and trusses, a nearly flat triangle may be technically valid but structurally weak; real designs need local codes and a qualified professional.

Frequently asked questions

Can sides 3, 4 and 8 form a triangle?

No. 3 + 4 = 7, which is less than 8.

What is the range of the third side if two sides are 5 and 7?

Strictly between 2 and 12.

Does the triangle inequality apply to vectors?

Yes. |u + v| ≤ |u| + |v| is the same idea for lengths of vectors.

Sources: Euclid, Elements, Book I, Proposition 20 · Weisstein, E. W., "Heron's Formula", Wolfram MathWorld

Checked 9 Nov 2026. Standard theorem of Euclidean geometry (Euclid, Elements I.20: in any triangle two sides taken together are greater than the remaining one); Heron’s formula for the area; converse of the Pythagorean theorem for the angle type.

🧮 All math & statistics tools →🌍 Calculators by country →