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

Abc Triangle Calculator

Find a triangle's area and perimeter from its three side lengths a, b and c using Heron's formula — no height or angles needed, any consistent unit.

Abc Triangle Calculator

Triangle area
6
The area enclosed by the three sides, from Heron's formula, in square units of the length unit you entered.
Perimeter
12

Background.

The textbook area formula, half the base times the height, assumes you know the height. In practice you rarely do. Stand in a triangular garden bed, a sloping attic gable or a wedge-shaped plot of land with a tape measure and the three sides are easy to measure; the perpendicular height from one corner to the opposite side is not, and neither are the angles.

Three sides are enough. Any three lengths that can close into a triangle fix its shape completely — this is the side-side-side rule from congruence — so the area must follow from them alone. Heron of Alexandria, writing in the first century AD, gave the recipe: take half the perimeter, called the semiperimeter s, multiply it by how far it exceeds each side in turn, and take the square root. No trigonometry is involved, only arithmetic.

The same idea extends to awkward shapes. A four-sided field with no right angles can be split along a diagonal into two triangles; measure the four sides and the diagonal, find each triangle's area from its three sides, and add them. Surveyors broke land into triangles for centuries for exactly this reason.

The sides must actually make a triangle. Each one has to be shorter than the other two together: 3, 4 and 8 cannot meet at the corners, and 3, 4 and 7 collapse into a flat line with no area at all. Lengths that fail this test are refused rather than producing a meaningless number. Any unit works as long as all three sides use the same one; the perimeter comes back in that unit and the area in its square.

What is abc triangle calculator?

An SSS triangle is one specified by its three side lengths, conventionally labelled a, b and c. Because three valid sides determine a unique triangle, both its perimeter and its area follow directly: the perimeter is the sum of the sides, and the area comes from Heron's formula, which uses only those lengths. Angles and heights are not needed and are not reported here.

How to use this calculator.

  1. Measure the three sides in the same unit — all metres, all feet or all centimetres — and enter them as side a, side b and side c. The order does not matter.
  2. Check that the longest side is shorter than the other two added together; if it is equal or longer, the lengths cannot form a triangle and will be refused.
  3. Read the area in square units of whatever you measured in, and the perimeter in the original unit.
  4. For a four-sided shape, also measure one diagonal, run each of the two resulting triangles separately and add the areas.

The formula.

s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)]

First the semiperimeter: s = (a + b + c) ÷ 2. Then Heron's formula, A = √[s(s − a)(s − b)(s − c)]. Each bracket, s minus a side, is how much half the perimeter exceeds that side, and the triangle inequality guarantees all three are positive for a real triangle. When the longest side approaches the sum of the other two, its bracket shrinks toward zero and so does the area, which is why a long, thin triangle can have a large perimeter and very little area. Scaling all three sides by a factor k multiplies the perimeter by k and the area by k², so doubling every side quadruples the area. The perimeter output is simply a + b + c, which equals 2s.

A worked example.

Example

Take the classic triangle with sides 3, 4 and 5. The perimeter is 3 + 4 + 5 = 12, so the semiperimeter is s = 12 ÷ 2 = 6. The three brackets are 6 − 3 = 3, 6 − 4 = 2 and 6 − 5 = 1. Multiplying everything gives 6 × 3 × 2 × 1 = 36, and √36 = 6, so the area is 6 square units. Because 3² + 4² = 5², this is a right triangle, and half the base times the height, ½ × 3 × 4, agrees at 6. Now stretch the long side from 5 to 6.9 while keeping the others. The perimeter rises to 13.9, but s = 6.95 and the brackets become 3.95, 2.95 and 0.05; the area falls to about 2.01. Almost flat, the triangle has gained length and lost two-thirds of its area.

side C5
side B4
side A3

Frequently asked questions.

Does it matter which side I call a, b or c?
No. Heron's formula treats the three sides symmetrically, so any order gives the same area and perimeter. The labels only matter if you go on to find angles, where the convention is that angle A sits opposite side a, angle B opposite b, and angle C opposite c.
Why were my three measurements rejected?
They fail the triangle inequality: the longest side is as long as, or longer than, the other two combined. Such sides either lie flat in a straight line or cannot meet at all. With measured lengths, recheck the longest one first — a misread tape or a mixed-up unit is the usual cause.
How do I find the area of a triangular plot of land?
Measure the three boundaries in metres and enter them. A plot with sides of 12, 15 and 20 metres has s = 23.5 and an area of about 89.67 square metres. Treat the result as approximate if the boundaries curve or the ground slopes, since the formula assumes straight sides on a flat plane.
Can I get the angles as well?
Not from this page, which reports area and perimeter only. The law of cosines gives each angle from the same three sides: cos C = (a² + b² − c²) ÷ (2ab), and likewise for the other two by swapping the letters. Take the inverse cosine to get the angle.
Why can a triangle with a longer perimeter have a smaller area?
Perimeter does not fix area. As a triangle flattens, its longest side approaches the sum of the other two, one of the brackets in Heron's formula approaches zero, and the area collapses even while the perimeter grows. For a given perimeter, the equilateral triangle encloses the most area.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
s=(a+b+c)/2; A=√[s(s−a)(s−b)(s−c)]
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