What does this triangle calculator solve?
A triangle is fixed by its three sides: once you know all three lengths, everything else — the area, the perimeter, and the type — is already decided. This triangle calculator takes the three side lengths and returns the area, the perimeter, and the type of triangle, all in one step.
The defaults are the most famous triangle in maths: sides 3, 4, and 5. Its perimeter is 12, its area is 6, and it is a scalene right-angled triangle — scalene because all three sides are different, right-angled because 3² + 4² = 5². Type the sides in and the answers update live.
Students use it for geometry homework, surveyors use it for triangular plots measured along their edges, and builders use it to check right angles on site. If you can measure the three edges, you can know the whole triangle without measuring a single angle.
How Heron's formula finds the area
The area comes from Heron's formula: area = √(s(s−a)(s−b)(s−c)), where s is half the perimeter. For sides 3, 4, and 5, the perimeter is 12, so s is 6. The area is √(6 × 3 × 2 × 1) = √36 = 6. No height is needed — the sides alone are enough.
Heron's formula works for every triangle, not just right-angled ones. That is its strength: the base-and-height formula needs a height you may not have, while Heron only asks for the three edges. The trade-off is the arithmetic, which is why a calculator earns its keep here — four subtractions, one multiplication chain, and a square root.
The perimeter is the simple part: add the three sides. For the defaults, 3 + 4 + 5 = 12. The square root calculator does the final step of Heron's formula if you are working it out by hand.
The three sides: the input people get wrong
The three sides cannot be any three numbers. They must pass the triangle inequality: the sum of any two sides must be greater than the third side. Sides 1, 2, and 10 fail, because 1 + 2 = 3 is less than 10 — those three lengths cannot meet to form a triangle, and the calculator says so instead of giving a made-up area.
The most common slip is measuring the wrong thing: a side is the straight distance between two corners, not the path along a curve or a fence that bends. On a plot of land, measure corner to corner in a straight line, or the sides will not close into a triangle at all.
Zero and negative sides are not sides. A side of 0 collapses the triangle into a line, and a negative length means nothing. The calculator treats any side of zero or less, or any failing inequality, as not a valid triangle and shows dashes for the area and perimeter.
A worked example: the 3-4-5 triangle and an equilateral triangle
Start with the defaults, 3, 4, and 5. The perimeter is 3 + 4 + 5 = 12, so s, half the perimeter, is 6. Heron's formula gives √(6 × (6−3) × (6−4) × (6−5)) = √(6 × 3 × 2 × 1) = √36 = 6. The area is 6 square units, and the type is scalene right-angled, because 9 + 16 = 25.
Now an equilateral triangle with all sides 5. The perimeter is 15, so s is 7.5. The area is √(7.5 × 2.5 × 2.5 × 2.5) = √117.19, which is about 10.83. All three sides are equal, so the type is equilateral. An equilateral triangle with side 5 covers nearly twice the area of the 3-4-5 triangle.
And an impossible one: sides 1, 2, and 10. The two short sides add to 3, far short of 10, so no triangle exists. The calculator shows dashes and the type reads not a valid triangle. That check is the point — a wrong measurement should be caught, not hidden behind a number.
Where a triangle calculator gets used
In school, this is the Heron chapter: area from sides, triangle types, and the triangle inequality. It is also the tool for checking whether a set of three lengths can form a triangle at all, which is a common exam question in itself.
In surveying, triangular plots are measured along their edges because edges are what a tape measure follows. Three edge lengths give the area directly through Heron, with no need to set up a right angle in the field. Splitting a four-sided plot into two triangles and adding the areas is the standard way to measure irregular land.
In building, the 3-4-5 triangle is the classic right-angle check: mark 3 units along one wall and 4 along the other, and if the diagonal is 5, the corner is square. The triangle area calculator covers the same ground when the base and height are known instead of the sides.
Triangle calculator vs triangle area calculator
The difference is what you know. This calculator needs the three sides and uses Heron's formula. The triangle area calculator needs the base and the height and uses ½ × base × height. Both give the same area when both sets of numbers are known — a 3-4-5 triangle has area 6 either way.
Use this one when the sides are what you measured, which is the usual case on a plot or a construction site. Use the area calculator when the height is marked on a diagram, which is the usual case in a textbook. If you have both, run both and confirm they agree.
For the type, only this calculator helps: base and height cannot tell you whether a triangle is equilateral, isosceles, or scalene. A ratio calculator is handy alongside it when the sides are given as a ratio, such as 3:4:5, and the actual lengths must be found first. If you know an angle as well as a side, a sine calculator turns that angle into the ratio of opposite side to hypotenuse, which is how most triangle problems are actually solved.
Common triangle mistakes
The first mistake is skipping the triangle inequality check. Sides that cannot form a triangle still produce numbers if you force them through a formula, and those numbers mean nothing. Check that the two short sides add to more than the longest side before trusting any area.
The second mistake is calling a triangle right-angled on a guess. A triangle is right-angled only when the squares of the two shorter sides add to the square of the longest: 3² + 4² = 5² for the defaults. A triangle that looks right-angled in a sketch may not be — measure, then check.
The third mistake is mixing up area and perimeter: 12 is the perimeter of the 3-4-5 triangle, 6 is its area, and they are different kinds of numbers. And the fourth is using the wrong half-perimeter in Heron's formula — s is half the perimeter, 6, not the perimeter itself.
How to use this triangle calculator
Type the three side lengths into the a, b, and c boxes. The area, the perimeter, and the triangle type update live. Use the same unit for all three sides — centimetres, metres, or inches — and the area comes out in the square of that unit.
Check the type first: if it says not a valid triangle, re-measure the sides, because two of them do not reach across the third. If the type is right-angled, you can confirm the area with the base-and-height formula using the two short sides. A right-angled result is easy to confirm: square the two shorter sides, add them, and compare with the square of the longest side, which is 25 for the 3-4-5 triangle. If the type says scalene but the sides look equal, re-measure, because a millimetre of error can hide an isosceles triangle.
Everything runs in your browser — no account, no upload, and your numbers never leave your device. Use it for homework, land measurement, or right-angle checks, and switch to the triangle area calculator when a height is marked instead of a side.