Skip to content

Heron's Formula

Triangle area from its three side lengths.

Variables

a, b, c
Side lengths
s
Semi-perimeter

Explanation

Useful when no height is known. If the value under the root is negative, the sides cannot form a triangle.

Example

Sides 3, 4, 5: , .

How to use it

  1. Add the three sides and halve the total to get the semi-perimeter .
  2. Work out , and .
  3. Multiply by those three numbers and take the square root.

Another worked example

Find the area of a triangle with sides 13, 14 and 15.

A built-in triangle check

Each of , and must be positive. If one is zero or negative, the three lengths fail the triangle inequality and can't form a triangle. Sides 2, 3 and 6 give and , so no triangle exists.

Where it comes from

Start from , find from the law of cosines, use , and factor the result as a difference of squares twice. Everything collapses into the product . Hero of Alexandria wrote it down around 60 AD.

Tips for accuracy

  • With decimal sides, keep full precision until the final square root.
  • For very thin triangles, rounding can make the product slightly negative. Use the equivalent form .
  • Once you have the area, any height follows from . For the 13-14-15 triangle, the height to the side of 14 is .

Common mistakes

  • Using the full perimeter instead of half of it.
  • Forgetting the square root at the end.

Where it's used

  • Surveying: measuring a triangular field by its three edge lengths.
  • Irregular shapes: splitting a polygon into triangles with known sides and adding their areas.
  • Engineering: checking areas of triangular plates or trusses from their side lengths.
  • Navigation: finding areas from distances alone, when angles are hard to measure.

Key takeaways

  • Start with the semi-perimeter .
  • Multiply by and take the square root.
  • A non-positive factor means the sides can't form a triangle.

Try it: Triangle Calculator

Solve any triangle from SSS, SAS or ASA: all sides, angles, area, perimeter and type using the laws of sines and cosines.

Open calculator

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Find the area of a triangle with sides 5, 5, 6.

    Show answer

    , .

  2. 2.Find the area with sides 7, 8, 9.

    Show answer

    , .

  3. 3.Find the area with sides 6, 8, 10.

    Show answer

    24.

  4. 4.Can sides 4, 5, 10 form a triangle?

    Show answer

    No. and .

  5. 5.Find the area of an equilateral triangle with side 4.

    Show answer

    , .

Key terms

Semi-perimeter
Half the perimeter, .
Perimeter
The total length around the shape.
Triangle inequality
Any two sides must add to more than the third.
Scalene triangle
A triangle with three different side lengths.
Inradius
The radius of the circle inside the triangle touching all three sides.

Frequently asked questions

When should I use Heron's formula?

When you know all three sides but no angles or heights, such as measuring a triangular plot of land by pacing its edges.

What is the semi-perimeter?

Half the perimeter: . It's also used in the formula for the radius of the inscribed circle, .

Does it work for right triangles?

Yes, it works for every triangle. For a right triangle, is quicker.

Is there a version for four-sided shapes?

Brahmagupta's formula, , works for quadrilaterals whose vertices lie on a circle.

How do I find an angle once I have the area?

Use and solve for , or use the law of cosines directly from the three sides.

Can Heron's formula give a decimal answer?

Yes, often. Sides 4, 5, 6 give .

How do I find the area of a quadrilateral with Heron's formula?

Split it into two triangles along a diagonal, measure the diagonal, and use Heron's formula on each triangle. Add the two areas.

What's the largest-area triangle for a fixed perimeter?

The equilateral triangle. Heron's formula shows the product is largest when the three factors are equal.

Is there a 3D version?

For a tetrahedron, a related formula gives the volume from its six edge lengths, using a Cayley–Menger determinant.

Related formulas

More geometry formulas