Heron's Formula Calculator

Find the area of any triangle from its three side lengths — no angles required. Also returns altitudes, angles, and the semiperimeter.

Enter Three Sides

Heron's Formula

A = √[s(s-a)(s-b)(s-c)]

where s = (a + b + c) / 2

Results

Enter three sides to compute the area

About Heron's Formula

Heron's formula is one of the most elegant results in classical geometry: it lets you compute the area of any triangle using only the three side lengths — no angles, no heights, no coordinates. It's named for Heron of Alexandria, who proved it around the 1st century CE.

The formula

Area = √[ s × (s − a) × (s − b) × (s − c) ]

where s = (a + b + c) / 2 is the semiperimeter

Worked example

Take a triangle with sides 3, 4, 5 (the classic right triangle):

s = (3 + 4 + 5) / 2 = 6
Area = √[6 × (6−3) × (6−4) × (6−5)]
Area = √[6 × 3 × 2 × 1] = √36 = 6

That matches the simple ½ × base × height calculation: ½ × 3 × 4 = 6. ✓

When to use it

Heron's formula shines whenever you have SSS data — three side lengths but no angles or heights. Common scenarios include surveying (where you measure distances between three points), land area calculations from a property survey, and geometry problems that give you only sides.

Related calculators

Frequently Asked Questions

What is Heron's formula?

Heron's formula calculates the area of any triangle from just its three side lengths — no angles or heights required. The formula is: Area = √[s(s-a)(s-b)(s-c)], where a, b, c are the side lengths and s is the semiperimeter (half the perimeter).

Who was Heron and when was the formula discovered?

Heron of Alexandria was a Greek mathematician and engineer who lived around 10–70 CE. He proved the formula in his work "Metrica," though there's evidence Archimedes knew it earlier. It's one of the oldest non-trivial geometry results still in everyday use.

When should I use Heron's formula vs base × height?

Use base × height when you already know one side and the perpendicular height to it — it's simpler. Use Heron's formula when you only know the three side lengths and don't have any heights or angles to work with. It's the go-to method for SSS triangle area.

What is the semiperimeter?

The semiperimeter (s) is half the triangle's perimeter: s = (a + b + c) / 2. It appears in Heron's formula and in formulas for the inradius, exradii, and other geometric quantities. It's a useful shortcut to keep the formula compact.

Does Heron's formula work for all triangles?

Yes — for any valid triangle (one that satisfies the triangle inequality: each side must be less than the sum of the other two). It works for acute, right, obtuse, scalene, isosceles, and equilateral triangles alike.

Is Heron's formula accurate for very thin triangles?

It can lose precision for nearly-degenerate "needle" triangles where one side is almost equal to the sum of the other two. For those cases, a numerically-stable variant (Kahan's reformulation) is preferred. For typical inputs the standard formula is plenty accurate.

Learn More About Trigonometry

View all articles

Deepen your understanding of triangles and trigonometry with our guides and tutorials: