Home · Math · Trigonometry · Triangle Inequality Theorem Calculator

Triangle Inequality Theorem Calculator

The triangle inequality theorem bounds the third side: it must be longer than the difference of the other two and shorter than their sum.

Your figures

Example result — edit the figures to make it yours

12

Third side must be less than

Third side must be greater than2.00

What this calculator does

The triangle inequality theorem bounds the third side: it must be longer than the difference of the other two and shorter than their sum. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

|a − b| < third side < a + b

Any triangle's third side must lie strictly between |a − b| and a + b; at either bound the three points collapse onto a straight line and the triangle degenerates. The bounds shown are exclusive.

Worked example

With the example inputs this page opens with (side a 5, side b 7), the result is 12.00 — third side must be less than. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying side a
Side aThird side must be less than
2.59.50
411.00
512.00
6.2513.25
7.514.50
1017.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Triangle Inequality Theorem Calculator work?

The triangle inequality theorem bounds the third side: it must be longer than the difference of the other two and shorter than their sum. Side a, side b → Maximum third side (exclusive), minimum third side (exclusive). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Triangle Inequality Theorem Calculator need?

Side a, side b → Maximum third side (exclusive), minimum third side (exclusive). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Triangle Inequality Theorem Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.