Skip to content
One hour with George, then a written plan the next working day. Book yours.

Heron's formula for triangle area

When you know all three sides of a triangle and no height, Heron's formula gives the area directly. Add the sides, halve the total to get the semiperimeter s, then the area is the square root of s times (s minus a) times (s minus b) times (s minus c). No angle is needed and no height has to be drawn.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Our own practice item
Find the area of the 13, 14, 15 triangle, then confirm it a second way

A triangle has sides 13, 14 and 15 centimeters. Find its area with Heron's formula and check it with base times height.

  1. Add the sides: 13 + 14 + 15 = 42, so the semiperimeter is s = 21.
  2. Subtract each side from s: 21 - 13 = 8, 21 - 14 = 7, 21 - 15 = 6.
  3. Multiply s by those three numbers: 21 x 8 x 7 x 6 = 7,056.
  4. Take the square root: 84, because 84 x 84 = 7,056.
  5. Check: draw the height to the side of length 14. It splits that side into 5 and 9, and the height is 12, since 5 squared plus 12 squared is 13 squared and 9 squared plus 12 squared is 15 squared. Then half of 14 times 12 is 84.

Answer the area is 84 square centimeters.

Original problem by George Li Tutoring; the formula is Heron's, as stated in the references above

What is the formula, and what does each symbol mean?

Call the side lengths a, b and c. The semiperimeter is s = (a + b + c) / 2, which is half the distance around the triangle. The area is

A = the square root of [ (s - c)(s - b)(s - a) times s ]. The order of the four factors does not matter, because multiplication can be done in any order.

Each factor s - a, s - b and s - c is a positive number when the three lengths really can form a triangle. If the sides are in centimeters, the area is in square centimeters.

When is it the right tool?

Use it when a problem hands you three sides and nothing else. If a right angle or a height is given, half of base times height is quicker. If two sides and the angle between them are given, half of a times b times the sine of that angle is quicker. Heron's formula is the one for the case in between, where the shape of the triangle is fixed by its sides but no angle appears.

When is it the right tool?
What you are givenFastest area method
A base and its heightOne half of base times height
Two sides and the angle between themOne half of a times b times sin C
All three sides, no anglesHeron's formula
Coordinates of the three cornersDistance formula for the sides, then Heron's, or the coordinate area method

How do you avoid the common slips?

Work in the same order every time and write each stage down.

  • Halve the perimeter before you subtract. Subtracting from the full perimeter gives the wrong factors.
  • Subtract each side from s, not from the sum of the other two sides.
  • Keep the multiplication exact until the end. Rounding s - a early shifts the final area.
  • Check the triangle exists first. The two shorter sides must add to more than the longest. For sides 2, 3 and 5, s is 5, and one factor is 5 - 5 = 0, so the area is 0: no triangle exists.

A second case worth knowing is the isosceles triangle with sides 5, 5 and 6. Here s = 8 and the product is 8 x 3 x 3 x 2 = 144, so the area is 12. The base-height check agrees: the height to the side of length 6 is 4, and half of 6 times 4 is 12.

Does it work with big or awkward numbers?

Yes, and it often helps to factor first. Take the right triangle with sides 9, 40 and 41. Then s = 45, and the product is 45 x 36 x 5 x 4 = 32,400, whose square root is 180. For a right triangle you can test the result against half of the two shorter sides multiplied: half of 9 times 40 is 180. When a square root is not a whole number, leave it in radical form or round once, at the end, to the place the question asks for.

Where does a tutor fit in?

Heron's formula is one of several triangle tools that students mix up under time pressure. If you want a session built around the shape problems you actually miss, see the math tutoring page for the admission tests or start with a first session. For the right-triangle methods that pair with this one, read the guide to right triangle trigonometry.

Common questions

Do I need the height to use Heron's formula?

No. It uses only the three side lengths, which is why it is handy when a figure gives sides and no height.

Why is it called the semiperimeter?

Because it is half the perimeter. The formula is written with it since each factor, s minus a side, is then simple to compute.

Can the formula give a negative number under the root?

Not for a real triangle. If a factor comes out zero or negative, the three lengths cannot make a triangle.

Is it more accurate than base times height?

Both are exact. Heron's formula just needs different information, so choose by what the problem gives you.

Sources