Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Scalene Triangle Calculator

Enter three side lengths to confirm whether a triangle is scalene, isosceles or equilateral, whether it is acute, right or obtuse, and get its perimeter.

Scalene Triangle Calculator

Triangle classification
scalene right triangle
The triangle's side type (scalene, isosceles or equilateral) together with its angle type (acute, right or obtuse).
Perimeter
12

Background.

A scalene triangle is the ordinary case: three sides of different lengths, and with them three different angles. Pick any three lengths at random that can close into a triangle and you will almost always get one. Equal sides are the special case, and a triangle with even two of them has a line of symmetry that a scalene one lacks.

That lack of symmetry is what makes scalene triangles a little more work. In an isosceles triangle the altitude from the apex also bisects the base and the apex angle; in a scalene triangle the altitudes, medians and angle bisectors from each corner are all different lines with different lengths. The order of the sides still tells you a lot, though. The longest side always faces the largest angle and the shortest side the smallest, so the three angles of a scalene triangle line up in the same order as its sides.

A scalene triangle can be acute, right or obtuse, and the side lengths alone decide which. Square the two shorter sides and add them; if the total equals the square of the longest side, the largest angle is exactly 90°. The best-known example, 3, 4, 5, is scalene, and so is every right triangle with whole-number sides, because a right triangle with two equal legs has a hypotenuse of leg × √2, which is never a whole number when the legs are.

The checks here are exact. Lengths of 5 and 5.0001 count as different, so a triangle measured with a tape and found to be scalene by a fraction of a millimetre may be isosceles in intent. Three lengths that cannot close up into a triangle at all are refused.

What is scalene triangle calculator?

A scalene triangle is one whose three sides all have different lengths. Because the angle opposite a side grows with that side, its three interior angles are also all different, and it has no line of symmetry. Classifying a triangle from its sides combines two independent labels: scalene, isosceles or equilateral by how many sides match, and acute, right or obtuse by the size of its largest angle, which the side lengths fix completely.

How to use this calculator.

  1. Enter the three side lengths as sides a, b and c in any order and in any one unit; the page sorts them itself.
  2. If you measured a physical object, enter the lengths at the precision you actually measured. Extra digits from a calculator can turn an intended isosceles or right triangle into a scalene or acute one.
  3. Read the classification, which gives both the side label and the angle label, for example scalene obtuse triangle.
  4. Read the perimeter, the sum of the three sides in the same unit you entered. If the page refuses the lengths, the two shorter sides do not add up to more than the longest.

The formula.

Compare a²+b² with c² after sorting sides; compare side equalities

The sides are first sorted so that c is the longest. A triangle exists only if a + b > c; when a + b equals or falls short of c, the lengths collapse into a line or cannot meet, and the page stops there. The side label counts matches: all three equal is equilateral, exactly two equal is isosceles, none equal is scalene. The angle label compares a² + b² with c², which is the law of cosines applied to the largest angle C: c² = a² + b² − 2ab cos C. If a² + b² = c², cos C is zero and C is 90°; if a² + b² is larger, C is acute and so are the other two; if smaller, C is obtuse. The perimeter, reported alongside, is simply the three sides added together.

A worked example.

Example

Enter sides of 3, 4 and 5. No two lengths match, so the side label is scalene. Sorted, the longest side is 5. The two shorter sides squared and added give 3² + 4² = 9 + 16 = 25, and the longest squared is 5² = 25. The totals are equal, so the angle opposite the 5 is a right angle and the result is a scalene right triangle with perimeter 3 + 4 + 5 = 12. Its other two angles, from the law of cosines, are about 36.87° and 53.13°. Stretch the longest side to 6 with sides 4, 5, 6 and the test gives 16 + 25 = 41 against 36: a scalene acute triangle, perimeter 15. With 4, 5, 8 it is 41 against 64, a scalene obtuse triangle whose largest angle is about 125.1°.

side C5
side B4
side A3

Frequently asked questions.

Can a scalene triangle have a right angle?
Yes. The 3-4-5 triangle is scalene and right-angled, and so is every right triangle whose sides are all whole numbers, such as 5-12-13 or 8-15-17. A scalene triangle can equally be acute, as with 4-5-6, or obtuse, as with 4-5-8. Being scalene says only that the sides differ.
Why did my triangle with sides 1, 2 and 2.236 come out acute rather than right?
Because 2.236 is a rounded stand-in for √5. The page compares 1 + 4 = 5 against 2.236² = 4.999696, finds the sum slightly larger and reports acute. The classification uses exact comparisons, so a right triangle with an irrational side will only be recognised as right if that side is entered exactly.
How do I find the angles of a scalene triangle from its sides?
Use the law of cosines, rearranged as cos C = (a² + b² − c²) ÷ 2ab, once for each angle, or for two angles and subtract their sum from 180°. For 4, 5 and 6 the angles come out at about 41.41°, 55.77° and 82.82°. This page reports the classification rather than the angles themselves.
How do I find the area when no side is a base with a known height?
Heron's formula works from the three sides alone. Halve the perimeter to get s, then the area is √[s(s − a)(s − b)(s − c)]. For 4, 5 and 6, s is 7.5 and the area is about 9.922 square units. The page itself gives only the perimeter.
Why does the page reject lengths such as 2, 3 and 6?
Two sides of 2 and 3 can stretch at most 5 units end to end, so they can never reach across a side of 6. Every triangle needs the two shorter sides to add up to more than the longest. When they add up to exactly the longest, the shape flattens into a straight line, which the page also refuses.

How this page was produced

Published by
Quanta Calculator
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
Coming soon