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

Acute Triangle Calculator

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

Acute Triangle Calculator

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

Background.

Three side lengths fix a triangle completely, angles included, so you can tell whether it is acute, right or obtuse without ever picking up a protractor. The test needs only the longest side. Square it and compare the result with the squares of the other two added together: if the two shorter squares add up to more, every angle is under 90°; if they match exactly, the angle opposite the longest side is a right angle; if they fall short, that angle is obtuse.

The reason lies in the law of cosines, c² = a² + b² − 2ab·cos C. When C is exactly 90° its cosine is zero and the law collapses into Pythagoras' theorem. A smaller angle has a positive cosine, which makes c² less than a² + b²; a wider one has a negative cosine and pushes c² above it. Only the longest side needs checking because the largest angle always sits opposite it, and if the largest angle is under 90°, the other two must be as well.

The sides are also compared with each other. Three equal sides make the triangle equilateral, which is always acute; two equal make it isosceles; none equal make it scalene. The perimeter comes alongside.

Two practical points. Three lengths form a triangle only if the two shorter ones together exceed the longest — 2, 3 and 5 would lie flat — and such sets are refused. And the right-angle test is exact. A builder squaring a corner with a 3-4-5 rope gets a clean answer, but a diagonal measured as 1.41421356 on a unit square is a hair short of √2 and reads as acute, because real measurements almost never land precisely on right.

What is acute triangle calculator?

An acute triangle is one in which all three interior angles are less than 90°. A right triangle has exactly one 90° angle and an obtuse triangle has one angle wider than 90°. Because the angles of any triangle add up to 180°, at most one angle can reach or pass 90°, so the classification depends entirely on the largest angle, which lies opposite the longest side. Equilateral triangles are always acute; isosceles and scalene triangles can fall into any of the three classes.

How to use this calculator.

  1. Enter the three side lengths in any order, all in the same unit — centimetres, feet or grid squares all work. The sides are sorted before testing, so it does not matter which one you call a, b or c.
  2. Type lengths as precisely as you know them. The comparison is exact, so a triangle meant to be right-angled is reported as right only if a² + b² equals c² to the last digit entered.
  3. If you get a triangle-inequality error, look for a typo: the two shorter sides must add up to more than the longest, or the three lengths cannot meet.
  4. Read the classification, which pairs side type with angle type (for example isosceles acute triangle), and the perimeter in the same unit as your sides.

The formula.

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

Sort the sides so that c is the longest, then compare a² + b² with c². If a² + b² > c² the triangle is acute; if a² + b² = c² it is right; if a² + b² < c² it is obtuse. This follows from the law of cosines, c² = a² + b² − 2ab·cos C: the term 2ab·cos C is positive when the angle C opposite the longest side is under 90°, zero at 90° and negative beyond it. Since that angle is the largest in the triangle, testing it alone classifies all three. Before anything else, the two shorter sides must sum to more than the longest; if they only equal it, the three corners lie on one straight line. Side type comes from equality checks — all three sides equal, exactly two equal, or none — and the perimeter is a + b + c. Because no angle is ever computed, the right-angle case is detected exactly rather than through an approximate cosine.

A worked example.

Example

Take sides of 3, 4 and 5. Sorted, the longest is 5. The other two squared are 3² = 9 and 4² = 16, which add to 25, and 5² is also 25. The two totals are equal, so the angle opposite the side of 5 is exactly 90°. No two sides match, so the result is a scalene right triangle, with a perimeter of 3 + 4 + 5 = 12. Change the lengths and the balance tips. Sides of 5, 6 and 7 give 25 + 36 = 61 against 7² = 49; the shorter sides win, so the triangle is acute, its widest angle about 78.46°. Sides of 3, 4 and 6 give 25 against 36, an obtuse triangle whose widest angle is about 117.28°.

side C5
side B4
side A3

Frequently asked questions.

Is an equilateral triangle always acute?
Yes. Its three angles are equal and must add up to 180°, so each is exactly 60°. The side test agrees: with every side equal to s, the two shorter squares add to 2s², which is always larger than the longest side squared, s².
Can an isosceles triangle be obtuse?
Yes. Two equal sides say nothing about the third. Sides of 5, 5 and 6 give 25 + 25 = 50 against 36, an acute triangle, but 5, 5 and 8 give 50 against 64, which is obtuse, with the angle between the two equal sides about 106.26°.
Why does a triangle I drew as right-angled come out acute or obtuse?
Because the test is exact and measurements rarely are. A right isosceles triangle with legs of 1 needs a hypotenuse of √2, which has no exact decimal form: 1.41421356 squares to slightly under 2 and reads as acute, while 1.41421357 squares to slightly over and reads as obtuse. Whole-number triples such as 3-4-5, 5-12-13 and 8-15-17 avoid the problem.
Why is only the longest side tested?
In any triangle the largest angle sits opposite the longest side. If that angle is under 90°, the other two are smaller still and must be acute as well. So a single comparison, using the longest side as c, decides the class of the whole triangle.
How do I work out the actual angles from the sides?
Rearrange the law of cosines: C = arccos((a² + b² − c²) ÷ 2ab), and repeat with each side in turn as c. For sides 5, 6 and 7 the angle opposite 7 is arccos(12 ÷ 60), about 78.46°. Angles are not shown here, only the class they fall into.
Why are the lengths 2, 3 and 5 rejected?
They fail the triangle inequality. The two shorter sides add up to exactly 5, the length of the longest, so the three corners would sit on one straight line with no area between them. Any set where the two shorter sides total no more than the longest is refused.

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