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
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.
- 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.
- 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.
- Read the area in square units of whatever you measured in, and the perimeter in the original unit.
- For a four-sided shape, also measure one diagonal, run each of the two resulting triangles separately and add the areas.
The formula.
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.
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.
Frequently asked questions.
Does it matter which side I call a, b or c?
Why were my three measurements rejected?
How do I find the area of a triangular plot of land?
Can I get the angles as well?
Why can a triangle with a longer perimeter have a smaller area?
References& sources.
- [1]OpenStax, Rice University. Precalculus 2e, 2021. Trigonometry and analytic geometry chapters. Retrieved 2026-08-06.
- [2]OpenStax, Rice University. College Algebra 2e, 2021. Algebra and function chapters. Retrieved 2026-08-06.
- [3]NIST/SEMATECH. e-Handbook of Statistical Methods, 2012. Chapter 1.3 and Chapter 4. Retrieved 2026-08-06.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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