Calculadora do Teorema do Triângulo
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
a + b > c ∧ a + c > b ∧ b + c > a
About this calculator
The Triangle Theorem Calculator checks whether three given lengths can form a triangle, applying the triangle inequality condition. The rule states that the sum of any two sides must be greater than the third side. If this condition holds for all three combinations, the sides form a triangle. The tool also classifies the triangle by sides (equilateral, isosceles, or scalene) and by angles (acute, right, or obtuse), based on the relationships between the sides.
Usage is straightforward: you enter the lengths of the three sides (a, b, c). The calculator first tests the three inequalities: a + b > c, a + c > b, and b + c > a. If all are true, the sides form a triangle. It then classifies the triangle: equilateral (all sides equal), isosceles (two equal sides), or scalene (all different). For angular classification, it uses the Pythagorean Theorem: if a² + b² = c², it is right; if a² + b² > c², it is acute; if a² + b² < c², it is obtuse. The longest side is taken as c.
You can use this calculator in various practical situations, such as in construction projects to verify if three beams or bars can form a stable triangle, in school geometry problems, or when designing structures like roofs and trusses. It is also handy for quickly checking whether a triangle with given dimensions exists, avoiding errors in manual calculations. The tool is especially useful for students, engineers, and technical professionals.
Important considerations: ensure that the input values are positive and represent actual lengths. Remember that the existence condition is necessary and sufficient, but it does not guarantee that the triangle can be built with physical materials (e.g., manufacturing tolerances). Also, the angular classification assumes the longest side is opposite the largest angle; for right triangles, the longest side is the hypotenuse. Keep the units of measurement consistent across all sides.
Frequently asked questions
What is the triangle inequality?
The triangle inequality states that for three segments to form a triangle, the sum of any two must be greater than the third. If not, the triangle does not exist.
How does the calculator classify triangles by angles?
It uses the Pythagorean Theorem. It compares the square of the longest side with the sum of squares of the other two: if equal, it's right; if greater, obtuse; if less, acute.
Can I use decimal or fractional values?
Yes, the calculator accepts decimals and fractions (entered as decimals). Use a dot as decimal separator (e.g., 3.5).
What if I enter negative or zero values?
The calculator will show an error, as triangle sides must be positive. Enter only values greater than zero.
What is the difference between isosceles and scalene triangles?
An isosceles triangle has two equal sides and one different; a scalene triangle has all sides different. The calculator identifies them automatically.