Classifying Triangles Calculator
Name a triangle from its three side lengths: equilateral, isosceles or scalene, and acute, right or obtuse by comparing a² + b² with c². Gives the perimeter.
Classifying Triangles Calculator
Background.
Three lengths settle a triangle completely. Once the sides are known every angle is fixed, so both of the ways geometry names triangles, by how many sides are equal and by the size of the largest angle, can be read straight off the side lengths without a protractor.
The side test is a matter of matching: three equal sides make an equilateral triangle, exactly two an isosceles one, and none a scalene one. The angle test is where some arithmetic comes in. The largest angle always sits opposite the longest side, so it is the only angle worth checking. Square the two shorter sides and add them, then compare the total with the square of the longest. Equal means the angle is exactly 90° and the triangle is right-angled, the converse of Pythagoras' theorem. More means the largest angle is under 90°, so every angle is, and the triangle is acute. Less means the largest angle is over 90° and the triangle is obtuse.
Builders use the right-angle case every day. Mark 3 units along one wall and 4 along the other; when the diagonal between the marks measures exactly 5, the corner is square. Scaled to 0.9 m, 1.2 m and 1.5 m, the same check sets out a floor slab.
Before any of that, the three lengths must form a triangle at all. The two shorter sides together have to be longer than the longest; if they only equal it, the shape collapses into a straight line, and the page refuses it.
All the comparisons are exact. That suits whole numbers and terminating decimals, but it has a consequence for shapes whose sides involve square roots, explained in the questions below.
What is classifying triangles calculator?
Classifying a triangle means naming it in two independent ways. By its sides it is equilateral (all three equal), isosceles (exactly two equal) or scalene (all different). By its angles it is acute (every angle under 90°), right (one angle of exactly 90°) or obtuse (one angle over 90°). The full name puts the two together, as in 'isosceles obtuse triangle'. Not every pairing is possible: an equilateral triangle has three angles of 60°, so it is always acute.
How to use this calculator.
- Enter the three side lengths in any order. The page sorts them itself, so side c does not need to be the longest.
- Use one unit for all three. Mixing centimetres with metres still produces a classification, but of a different triangle.
- Type the lengths as precisely as you know them. Equality is tested exactly, so 5 and 5.0 count as equal while 5 and 5.001 do not.
- Read the classification, side type first and angle type second, and the perimeter, which is in the same unit as the sides.
The formula.
Sort the sides so that a ≤ b ≤ c. First comes the triangle inequality: a + b must be greater than c, or no triangle exists. Then a² + b² is compared with c². The law of cosines shows why this works. It says c² = a² + b² − 2ab·cos C, where C is the angle opposite the longest side, so a² + b² − c² equals 2ab·cos C. That is positive when C is under 90°, zero when C is exactly 90° and negative when C is over 90°. Because 2ab is always positive, the sign of a² + b² − c² alone decides acute, right or obtuse, with no need to calculate any angle. The side label comes from separate equality checks between the three lengths and does not affect the angle test. The perimeter is a + b + c.
A worked example.
Take sides of 3, 4 and 5. Sorted, the longest is 5, and a triangle exists because 3 + 4 = 7 is more than 5. Squaring the two shorter sides gives 3² + 4² = 9 + 16 = 25, and the longest squared is 5² = 25. The totals match, so the angle opposite the side of 5 is exactly 90°. No two sides are equal, so the page reports a scalene right triangle with a perimeter of 3 + 4 + 5 = 12. Lengthen the longest side to 6 and the answer flips: 9 + 16 = 25 is less than 6² = 36, so 3, 4, 6 is a scalene obtuse triangle. The sides 4, 5 and 6 go the other way, since 16 + 25 = 41 is more than 36, which makes a scalene acute triangle.
Frequently asked questions.
Why does a triangle with sides 1, 1 and 1.414 come out acute instead of right?
Why are three equal sides reported as equilateral and not also isosceles?
Can a triangle have two right angles or be both right and obtuse?
How do I use the 3-4-5 rule to check a corner is square?
Why are lengths such as 2, 3 and 5 rejected?
Which angle is the right or obtuse one?
References& sources.
- [1]OpenStax, Rice University. Precalculus 2e, 2021. Trigonometry and analytic geometry chapters. Retrieved 2026-08-06.
- [2]OpenStax, Rice University. College Algebra 2e, 2021. Algebra and function chapters. Retrieved 2026-08-06.
- [3]NIST/SEMATECH. e-Handbook of Statistical Methods, 2012. Chapter 1.3 and Chapter 4. Retrieved 2026-08-06.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 3 cited below
- Method
- Compare a²+b² with c² after sorting sides; compare side equalities
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled