Herons Formula for Triangle Area with Examples

#Formula
TL;DR
Herons formula gives a triangle's area from its three sides as s(s−a)(s−b)(s−c)\sqrt{s(s-a)(s-b)(s-c)}, where ss is the semi-perimeter. This article gives five worked examples.
BT
Bhanzu TeamLast updated on November 7, 20266 min read

Key Points

  • Heron's formula is A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)}, where s=a+b+c2s = \frac{a+b+c}{2} is the semi-perimeter.

  • The formula needs only the three side lengths, which is why it works when no height is known.

  • MacTutor records that Heron proves the formula in Book I of his work Metrica, and that it is his best known mathematical result.

  • The semi-perimeter is half the perimeter, so dividing by 2 is part of the formula rather than an optional step.

  • If the three lengths cannot form a triangle, one bracket turns negative and the square root has no real value, so the formula detects impossible triangles.

What Is the Herons Formula?

Heron's formula computes the area of any triangle from its three side lengths:

A=s(s−a)(s−b)(s−c),s=a+b+c2A = \sqrt{s(s-a)(s-b)(s-c)}, \qquad s = \frac{a+b+c}{2}

No angle and no height is required. The MacTutor History of Mathematics Archive records that Heron of Alexandria proves this result in Book I of Metrica, and describes it as his best known mathematical work.

Why the Semi-Perimeter Appears

The familiar area formula, half base times height, needs a height, and a height is not given when only three sides are known. Dropping a perpendicular to find one requires work that Herons formula skips entirely.

The semi-perimeter is what makes the expression symmetric. Each of the three sides appears once in a bracket of the form s−as - a, so no side is privileged and the answer does not depend on which side is called the base.

Those brackets have a geometric reading too. Each s−as - a is the distance from a vertex to where the incircle touches an adjacent side, which is why the formula also connects to the triangle's inradius.

Variable Key

Symbol

Meaning

Unit or type

Notes

aa, bb, cc

the three side lengths

length

order does not matter

ss

semi-perimeter

length

a+b+c2\frac{a+b+c}{2}, never the full perimeter

s−as-a etc.

bracket terms

length

each must be positive for a real triangle

AA

area

square units

the quantity being computed

Examples of Herons Formula

Example 1

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

s=13+14+152=21s = \frac{13+14+15}{2} = 21 A=21(21−13)(21−14)(21−15)=21×8×7×6=7056=84A = \sqrt{21(21-13)(21-14)(21-15)} = \sqrt{21 \times 8 \times 7 \times 6} = \sqrt{7056} = 84

Final answer: A=84A = 84 square units

Example 2

Find the area of a triangle with sides 3, 4 and 5, using the full perimeter instead of the semi-perimeter.

The perimeter is 3+4+5=123+4+5 = 12, and using that directly looks reasonable:

12(12−3)(12−4)(12−5)=12×9×8×7=6048≈77.8\sqrt{12(12-3)(12-4)(12-5)} = \sqrt{12 \times 9 \times 8 \times 7} = \sqrt{6048} \approx 77.8

That cannot be right. A triangle with sides 3, 4 and 5 is right-angled, so its area is 12×3×4=6\frac{1}{2} \times 3 \times 4 = 6, and 77.8 is more than twelve times too large.

The formula requires the semi-perimeter, half the total:

s=6,A=6×3×2×1=36=6s = 6, \qquad A = \sqrt{6 \times 3 \times 2 \times 1} = \sqrt{36} = 6

Final answer: A=6A = 6 square units, matching the right-angled calculation exactly.

Example 3

Find the area of an equilateral triangle of side 6.

s=9,A=9×3×3×3=243=93≈15.59s = 9, \qquad A = \sqrt{9 \times 3 \times 3 \times 3} = \sqrt{243} = 9\sqrt{3} \approx 15.59

Final answer: 93≈15.599\sqrt{3} \approx 15.59 square units

This agrees with the standard equilateral result 34a2=34(36)=93\frac{\sqrt{3}}{4}a^2 = \frac{\sqrt{3}}{4}(36) = 9\sqrt{3}.

Example 4

A triangular plot has sides 40 m, 24 m and 32 m. Find its area.

s=40+24+322=48s = \frac{40+24+32}{2} = 48 A=48×8×24×16=147456=384A = \sqrt{48 \times 8 \times 24 \times 16} = \sqrt{147456} = 384

Final answer: 384 square metres

Example 5

Test whether sides 2, 3 and 7 form a triangle, using the formula.

s=6,s−c=6−7=−1s = 6, \qquad s - c = 6 - 7 = -1 A=6×4×3×(−1)=−72A = \sqrt{6 \times 4 \times 3 \times (-1)} = \sqrt{-72}

Final answer: No real area exists, so the three lengths cannot form a triangle.

The negative bracket is the formula reporting a violated triangle inequality, since 2+3<72 + 3 < 7. The square root failing is a feature, not an arithmetic accident.

Don't Confuse Herons Formula With These Three

Method

Needs

Use when

Heron's formula

three sides

no height or angle is known

Half base times height

a base and its height

a perpendicular height is given

12absin⁡C\frac{1}{2}ab\sin C

two sides and the included angle

an angle is known

Shoelace formula

vertex coordinates

the triangle sits on axes

Heron's formula is the one to reach for when only lengths are available. When a height is given, half base times height is faster and involves no square root.

Where Do Students Trip Up on Herons Formula?

Mistake 1: Using the perimeter instead of the semi-perimeter

Where it slips in: The sum of the sides is the natural first computation, and the division by 2 is easy to skip.

Don't do this: s=a+b+cs = a+b+c

The correct way: s=a+b+c2s = \frac{a+b+c}{2}. The clue is in the name: semi means half.

Students who sanity-check one answer against a triangle they can compute another way, such as the 3, 4, 5 right triangle, catch this on the first attempt. Checking a new formula against a case you already know is the fastest way to find a structural error rather than an arithmetic one.

Mistake 2: Subtracting the wrong quantity in the brackets

Where it slips in: The brackets are written as s−as - a, and it is easy to reverse them to a−sa - s.

Don't do this: s(a−s)(b−s)(c−s)\sqrt{s(a-s)(b-s)(c-s)}

The correct way: Each bracket is ss minus a side. Since ss is larger than every individual side in a real triangle, all three brackets come out positive.

Mistake 3: Taking the square root too early

Where it slips in: The expression contains four factors, so roots get applied factor by factor.

Don't do this: s×s−a×s−b×s−c\sqrt{s} \times \sqrt{s-a} \times \sqrt{s-b} \times \sqrt{s-c} computed with rounded intermediate roots.

The correct way: Multiply all four factors first, then take one square root. Rounding each root separately moves error into the final digits, and in Example 1 the exact product 7056 gives the clean answer 84.

Key Takeaways

  • Heron's formula is A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)} with ss the semi-perimeter, half the perimeter.

  • It needs only the three sides, which makes it the method of choice when no height or angle is available.

  • Every bracket is ss minus a side, and all three are positive for any genuine triangle.

  • A negative value under the root is the formula detecting an impossible triangle, not a mistake.

  • To work through triangle geometry with a teacher, explore a geometry tutor or math classes online.

A Practical Next Step

Find the area of a triangle with sides 7, 8 and 9. Then try sides 5, 12 and 13, and check your answer against half base times height, since that triangle is right-angled.

Want a live Bhanzu trainer to walk through more geometry problems? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is herons formula?
A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)}, where s=a+b+c2s = \frac{a+b+c}{2} and aa, bb, cc are the three sides.
When should I use herons formula instead of half base times height?
When no height is known. If a perpendicular height is given, half base times height is quicker and avoids a square root.
What does it mean if herons formula gives a negative value under the root?
The three lengths cannot form a triangle. A negative bracket means one side is at least as long as the other two combined, violating the triangle inequality.
Who was Heron and where does the formula appear?
Heron of Alexandria, who lived from about AD 10 to about AD 75. MacTutor records that he proves the formula in Book I of Metrica.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →