Classifying Triangles Calculator - Type, Sides, Angles, Area

Use this classifying triangles calculator to find the triangle type by sides and angles, perimeter, area, and the largest angle from three side lengths.

Updated: June 16, 2026 • Free Tool

Classifying Triangles Calculator

First side length. Use the same unit for all three sides (cm, in, m, ft, etc.).

Second side length in the same unit as side a.

Third side length in the same unit as sides a and b.

Results

Triangle Type
0
By Sides 0
By Angles 0
Perimeter 0units
Area 0sq units
Longest Side 0units
Largest Angle 0°

What Is a Classifying Triangles Calculator?

A classifying triangles calculator identifies a triangle by its three side lengths in two ways at once. It tells you whether the triangle is equilateral, isosceles, or scalene by its sides, and whether it is acute, right, or obtuse by its largest angle, then prints a single combined label such as 'Right Scalene' or 'Equilateral' alongside the perimeter, area, and the largest angle. Use it when you have three measured sides and want a quick classification.

  • Geometry homework and tests: Confirm a triangle problem when the question gives you three side lengths and asks for the type.
  • Construction and design: Verify that three measured sides (a roof truss, a fence brace, a shelf bracket) actually form a usable triangle before cutting material.
  • Teaching and tutoring: Demonstrate the relationship between side lengths and angle sizes with worked examples a student can step through.

Three lengths from a real measurement often look plausible but fail the triangle inequality. The calculator catches that case first, then assigns a side label and an angle label using the same two pieces of information.

All three sides are assumed to be in the same unit, so the perimeter and area come back in that same unit (or its square). Pick centimeters, inches, feet, or meters consistently.

When you also need to solve for a missing side or angle, the triangle calculator handles the related SSS, SAS, and ASA workflows in one place.

How the Classifying Triangles Calculator Works

The calculator first runs the three lengths through the triangle inequality, then sorts the sides to decide the side class and the angle class, and finally uses Heron's formula to fill in the area.

a + b > c (triangle inequality); c² = a² + b² − 2ab·cos(C) (law of cosines); area = √(s(s−a)(s−b)(s−c)) with s = (a+b+c)/2 (Heron's formula)
  • a, b, c: The three side lengths, all in the same unit. Enter them in any order; the calculator sorts them internally.
  • c (largest side): The longest of a, b, c. It carries the largest interior angle and decides whether the triangle is acute, right, or obtuse.
  • s: The semiperimeter (a + b + c) / 2. Used as the input to Heron's formula.
  • C: The interior angle opposite the largest side, in degrees.

The side classification is a direct equality check with a small tolerance (1e-9) so floating-point noise around 6, 6, 6.0000000001 still resolves to Equilateral. The angle classification compares the square of the longest side to the sum of the squares of the other two, which avoids evaluating any inverse trig function.

3-4-5 right triangle (side a = 3, side b = 4, side c = 5)

Side a = 3, side b = 4, side c = 5

Triangle inequality holds for all three pairings. Largest side c = 5, and 5² = 25 = 3² + 4², so the largest angle is exactly 90°. Perimeter = 12. Area = √(6·3·2·1) = 6.

Triangle type: Right Scalene. Perimeter = 12.00 units. Area = 6.00 sq units. Largest angle = 90.00°.

3-4-5 is the classic Pythagorean triple, so the largest angle comes out exactly 90°. The sides are all different, so the combined label is Right Scalene.

According to Wolfram MathWorld, three lengths form a Euclidean triangle if and only if the sum of any two sides is greater than the third, and the law of cosines c² = a² + b² − 2ab·cos(C) relates every side to its opposite angle.

If you already have the base and the height and want the area by the simpler base-times-height formula, the triangle area calculator returns that value directly.

Key Concepts Behind Triangle Classification

These four ideas are what the calculator does behind the scenes. They also let you classify a triangle on paper with nothing but the three side lengths.

Triangle inequality

Three lengths form a real triangle if and only if the sum of any two is strictly greater than the third. If one side is at least as long as the other two combined, the three lengths collapse into a line segment instead of a triangle.

Classification by sides

Equilateral means all three sides are equal, Isosceles means exactly two are equal, and Scalene means all three are different. A small tolerance (1e-9) handles floating-point noise.

Classification by angles

Look only at the largest side. If largest² is less than the sum of the squares of the other two, every angle is acute. If it is exactly equal, the triangle is right. If it is greater, the triangle is obtuse.

Heron's formula

Once you know the three sides, the area is √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2 is the semiperimeter. It works for any valid triangle, including obtuse ones where a perpendicular height would land outside the shape.

These four ideas layer cleanly. The triangle inequality decides whether the three numbers are usable at all. The side check then names the shape from a single comparison pass, and the Pythagorean-style test on the largest side names the angle class from one multiplication and one subtraction.

When the largest angle comes out exactly 90°, the right triangle calculator covers the special Pythagorean and trig relationships that apply only to that case.

How to Use the Classifying Triangles Calculator

Enter the three side lengths in any order, in the same unit, and read the result panel. The classification updates as you type, so you can also use it as a scratch pad while you try different inputs.

  1. 1 Measure or look up side a: Type the first side length. Use any consistent length unit (cm, in, m, ft).
  2. 2 Enter side b: Type the second side length in the same unit.
  3. 3 Enter side c: Type the third side length. If the three numbers fail the triangle inequality, the validation error appears under the form and the result panel keeps the last good result.
  4. 4 Read the Triangle Type: The black headline result is the combined label such as 'Right Scalene' or 'Equilateral'.
  5. 5 Copy the perimeter and area: Use the perimeter for trim, fencing, or framing totals, and the area for material or finish estimates.
  6. 6 Confirm the largest angle: Check the largest angle. 90° means right, below 90° means acute, above 90° means obtuse.

For a triangular garden bed with sides 4 m, 5 m, and 6 m, enter a = 4, b = 5, c = 6. The result panel shows Triangle type: Acute Scalene, perimeter 15.00 m, area 9.92 sq m, and largest angle 82.82° (opposite the 6 m side).

If your sides all turn out different and you specifically want the area worked out for a scalene triangle, the scalene triangle area calculator confirms the Heron's formula result with a dedicated workflow.

Benefits of Using the Classifying Triangles Calculator

A paper solution works, but it has several places where a small slip turns into a wrong classification. The calculator removes those slips and adds outputs you would not bother to compute by hand.

  • Catches degenerate input early: If the three numbers do not satisfy the triangle inequality, the calculator shows the validation error and skips the rest of the work, so you do not waste time on a triangle that does not exist.
  • Gives both classifications in one pass: The side label and the angle label come from the same three numbers, so the combined label is always internally consistent.
  • Produces perimeter and area for free: Once the three sides are valid, the perimeter is a sum and the area is one Heron's formula call, both of which the result panel returns next to the classification.
  • Accepts the sides in any order: You can type a, b, c in any order; the calculator finds the longest side internally and labels the type from the same set of three numbers.

These benefits matter most when the input comes from a real measurement rather than a textbook. A measured side can be off by 1 percent, and a paper solution will happily classify the result without telling you that the result is sensitive to that error. The calculator at least lets you try perturbed inputs and see the type change in real time.

When the classification comes back as Equilateral, the equilateral triangle area calculator confirms the area with the closed-form √3/4·a² formula that applies only to that family.

Factors That Affect Triangle Classification

Three things change the answer the calculator returns, and the limitations below cover the assumptions behind the formulas it uses.

Order of the three sides

Swapping the inputs does not change any output. The triangle inequality, the side class, the angle class, the perimeter, the area, and the largest angle are all symmetric in a, b, c.

Numerical precision of the side lengths

Floating-point noise near equality is absorbed by the 1e-9 tolerance, so inputs like 6, 6, 6.0000000001 still resolve to Equilateral. A perturbation has to exceed about 1 × 10⁻⁹ (so 6, 6, 6.000000002) before the side test flips the result to Isosceles. Double-precision rounding tops out well below that, so a reasonable measurement always classifies as expected.

Side equality threshold

The side test uses a tolerance of 1e-9, so a measured 3, 3, 3.0000000005 is still classified as Equilateral (the gap of 5 × 10⁻¹⁰ is well within the tolerance). A larger perturbation such as 3, 3, 3.000000002 crosses the threshold and becomes Isosceles. If you need a strict equality test, reduce the tolerance in your own copy of the formula.

  • The classification is purely geometric. It tells you nothing about the physical context (roof load, fence height, board length) and does not check whether the sides are physically realistic in that context.
  • The formulas assume a planar Euclidean triangle. They do not apply to spherical triangles (such as great-circle distances on a globe) and they do not apply to curved surfaces where the law of cosines takes a different form.
  • The Pythagorean-style angle test uses a 1e-6 tolerance to handle floating-point noise, so a triangle with sides (1, 1, √2) is reported as Right even though √2 is irrational. If your inputs are derived from a numerical solver with a different tolerance, round the sides to the precision of your measurement first.

These factors and limits are the reason the calculator returns more than a single label. The Triangle Type, the side class, the angle class, the perimeter, the area, the longest side, and the largest angle together cover every common downstream question about the same three numbers.

According to Wikipedia, Heron's formula gives the area of a triangle from its three side lengths as √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2 is the semiperimeter.

If the validation error is the result you actually get, the triangle length calculator can solve for the single side that is missing from a triangle you have already drawn.

classifying triangles calculator with three side length inputs and a result panel showing the triangle type by sides and angles, perimeter, area, and largest angle
classifying triangles calculator with three side length inputs and a result panel showing the triangle type by sides and angles, perimeter, area, and largest angle

Frequently Asked Questions

Q: What is a classifying triangles calculator?

A: It is a geometry tool that takes three side lengths and tells you the triangle's type by sides (equilateral, isosceles, scalene) and by angles (acute, right, obtuse) in one step, along with the perimeter, area, and largest angle.

Q: How do I classify a triangle by its sides?

A: Compare the three lengths. All three equal is equilateral, exactly two equal is isosceles, and all three different is scalene. The calculator applies this check with a small floating-point tolerance.

Q: How do I know if a triangle is acute, right, or obtuse?

A: Use the longest side. If its square is less than the sum of the squares of the other two, the triangle is acute. If the squares match exactly, the triangle is right. If the largest square is greater, the triangle is obtuse.

Q: What is the triangle inequality rule?

A: Three lengths form a real triangle only when the sum of any two is greater than the third. If the longest side is at least as long as the other two combined, the three lengths collapse to a line and the calculator reports a validation error.

Q: How do I find the area of a triangle from three side lengths?

A: Compute the semiperimeter s = (a+b+c)/2, then use Heron's formula area = √(s(s−a)(s−b)(s−c)). The result panel returns the area in the same square unit you used for the side inputs.

Q: What does a right isosceles triangle look like?

A: A right isosceles triangle has two equal legs that meet at a 90° angle, with the hypotenuse equal to one of those legs multiplied by √2 (for example, 1, 1, √2). The calculator returns the type label 'Right Isosceles' and a largest angle of 90°.