Heron's formula
The area of a triangle from its three side lengths alone, with no height or angle needed.
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- s = (a + b + c)/2 = 12
- Area = √(s(s − a)(s − b)(s − c)) = 26.833
What the symbols mean
- the area of the triangle
- the first side
- the second side
- the third side
- the semi-perimeter: half of
When to use it
Use it when you know all three sides but no height or angle: a triangular plot of land measured with a tape, a roof panel, a triangle given on a map. The sides must satisfy the triangle inequality (the longest side shorter than the other two together) or there is no triangle. The calculator can also work backwards from the area and two sides; there are usually two triangles that fit.
Worked example
A triangular plot has sides of 7 m, 8 m and 9 m. What is its area? (a = 7, b = 8, c = 9)
Heron's formula, where s is the semi-perimeter (half the perimeter):
Find the semi-perimeter.
Substitute s and the three sides.
Answer s = 12, so A ≈ 26.83 m²
Why it works
Write the area as , get from the law of cosines and use . After factorising with the difference of two squares, everything collapses into the product . It is named after Heron of Alexandria, who gave a proof in the first century AD.
Common mistakes
- Using the full perimeter instead of half of it for s.
- Trying it on sides that cannot form a triangle (such as 1, 2 and 3). One of the brackets becomes 0 or negative.
- Rounding s before substituting. Keep it exact; it is often a whole number or a half.