Heron's Formula Calculator

Enter the three side lengths of a triangle to find its area using Heron's formula, along with the perimeter, semi-perimeter, and the height measured from one side.

Quick Facts

Semi-perimeter
s = (a + b + c) / 2
Half the triangle's perimeter, used inside Heron's formula.
Heron's formula
A = √(s(s−a)(s−b)(s−c))
Gives the area directly from the three side lengths — no angle needed.
Triangle inequality
a + b > c (and the other two pairings)
Each side must be shorter than the sum of the other two, or no triangle exists.

Your Results

Calculated
Area
-
A = √(s(s−a)(s−b)(s−c))
Semi-perimeter (s)
-
s = (a + b + c) / 2
Perimeter
-
a + b + c
Height from side a
-
h = 2 × Area / a

Ready

Enter three side lengths and a unit, then press Calculate.

How Heron's Formula works

Heron's formula finds the area of any triangle directly from the lengths of its three sides — a, b, and c — with no need to measure an angle or drop a height line first. It was named after Hero of Alexandria, who documented a proof of it in the first century AD. Given only three side lengths, first compute the semi-perimeter, then plug it into the square-root expression to get the area.

Formula and method

Step one: find the semi-perimeter, s = (a + b + c) / 2 — half the triangle's total perimeter. Step two: apply Heron's formula, A = √(s(s − a)(s − b)(s − c)). Each of the three factors (s − a), (s − b), and (s − c) must be positive for a real triangle to exist; that is exactly the triangle inequality in disguise. Once you have the area, you can back out the height relative to any side using the familiar A = ½ × base × height relationship, so height = 2A / base.

Common sources of error

  • Sides that don't form a triangle: if one side is longer than or equal to the sum of the other two (for example 2, 3, 10), the expression under the square root becomes negative and there is no valid triangle.
  • Unit mismatch: enter all three sides in the same unit — mixing feet and inches, or meters and centimeters, will silently produce a wrong area.
  • Confusing perimeter with semi-perimeter: s is half the perimeter, not the full perimeter — using the full sum in the formula roughly doubles the area incorrectly.

Checking your result

A quick sanity check: the area should always be less than half the product of any two sides (½ × a × b is the maximum possible area for a right angle between them). For a near-equilateral triangle, compare against the equilateral area formula (√3/4)a² as a rough benchmark. If your computed area comes out larger than that bound, recheck the side lengths for a data-entry mistake.

Applications

Heron's formula is used whenever you know the three side lengths of a triangular plot, panel, or truss but not its angles — land surveying, roof and gusset framing, sail and fabric cutting, and geometry problems where only distances (not angles) were measured. Because it needs no trigonometry, it's also a common way to check whether three measured lengths could plausibly bound a real triangle before committing to a cut or a build.

Frequently Asked Questions

What is Heron's formula?
Heron's formula finds the area of a triangle from its three side lengths a, b, and c, with no need to know an angle or height. First compute the semi-perimeter s = (a + b + c) / 2, then the area A = √(s(s − a)(s − b)(s − c)).
Does Heron's formula work for any triangle?
Yes, it works for any triangle — right, acute, or obtuse — as long as the three side lengths actually form a valid triangle. The side lengths must satisfy the triangle inequality: the sum of any two sides must be greater than the third side.
How do you find the height of a triangle using Heron's formula?
Once you have the area from Heron's formula, the height relative to any side is height = (2 × Area) / that side's length, since Area = ½ × base × height.
What happens if the side lengths do not form a valid triangle?
If one side is longer than or equal to the sum of the other two, the three lengths cannot form a triangle and Heron's formula would require the square root of a negative number, which is undefined for a real area.