Skip to content

Heron’s Formula: Area of a Triangle From Three Sides

7 formulasCalculatorUpdated 22 Oct 2026

Heron's formula gives a triangle's area when all you know are its three sides: A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)}, where s=a+b+c2s = \dfrac{a+b+c}{2} is the semi-perimeter. You need no height and no angle, which is why it works for any triangle, including oddly shaped plots of land.

This page covers the class 9 chapter in full: what s stands for, a proof you can write in an exam, solved examples for scalene, isosceles and equilateral triangles, finding a missing side, areas of quadrilaterals by splitting them along a diagonal, and practice questions with answers. Enter any three sides in the calculator below to see each step.

Heron's formula

Key formulas

  • Heron's formula

    A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)}

    a, b, c are the three sides

  • Semi-perimeter

    s=a+b+c2s = \dfrac{a+b+c}{2}

    half the perimeter of the triangle

  • Equilateral triangle (side a)

    A=34 a2A = \dfrac{\sqrt{3}}{4}\,a^2
  • Isosceles triangle (equal sides a, base b)

    A=b44a2−b2A = \dfrac{b}{4}\sqrt{4a^2 - b^2}
  • Expanded form (no s)

    A=14(a+b+c)(−a+b+c)(a−b+c)(a+b−c)A = \tfrac{1}{4}\sqrt{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)}
  • Triangle inequality check

    Each side must be less than the sum of the other two, so s−as-a, s−bs-b and s−cs-c are all positive.
  • Quadrilateral with diagonal

    Area = area of the two triangles formed by a diagonal, each found by Heron's formula.

What is s in Heron's formula

The letter s stands for the semi-perimeter, which simply means half the perimeter. Add the three sides and divide by 2. For a triangle with sides 7 cm, 8 cm and 9 cm, the perimeter is 24 cm, so s=12s = 12 cm.

The three brackets s−as-a, s−bs-b and s−cs-c tell you how much bigger s is than each side. They add up to s again, since 3s−(a+b+c)=3s−2s=s3s - (a+b+c) = 3s - 2s = s. That gives you a quick check on your arithmetic: 5+4+3=125 + 4 + 3 = 12 for our example.

If one bracket comes out zero or negative, the three lengths cannot form a triangle. For example, 3, 4 and 8 give s=7.5s = 7.5 and s−c=−0.5s - c = -0.5. The calculator above flags this for you. Perimeter itself is covered on the perimeter formulas page.

Heron's formula in class 9 maths

NCERT teaches Heron's formula in class 9 in a chapter of the same name. Chapter and exercise numbers have changed between editions, so find it by name in your own book. Many students spell it herons formula without the apostrophe, so a search for class 9 maths herons formula notes or MCQ practice on this chapter leads to the same topic. Questions are usually about triangular parks, sign boards, walls and flower beds, and some ask for the cost of painting or fencing as a final step.

Heron of Alexandria, a Greek mathematician and engineer, wrote the formula in his book Metrica about two thousand years ago. In class 9 you meet it right after the basic 12×base×height\tfrac{1}{2} \times \text{base} \times \text{height} rule. The difference is that Heron's method needs no height. For all other area rules (circle, trapezium, rhombus and more) see the area formulas page.

Proof and derivation of Heron's formula

This algebraic proof uses only the Pythagoras theorem. Take triangle ABC with BC=aBC = a, CA=bCA = b, AB=cAB = c. Drop a perpendicular AD of length h onto BC, and let BD=xBD = x, so DC=a−xDC = a - x.

Step 1. Pythagoras in the two right triangles:

c2=x2+h2,b2=(a−x)2+h2c^2 = x^2 + h^2, \qquad b^2 = (a-x)^2 + h^2

Step 2. Subtract to remove h, then solve for x:

c2−b2=2ax−a2  ⇒  x=a2+c2−b22ac^2 - b^2 = 2ax - a^2 \;\Rightarrow\; x = \dfrac{a^2 + c^2 - b^2}{2a}

Step 3. Write h2=c2−x2h^2 = c^2 - x^2 and use A=12ahA = \tfrac{1}{2}ah, so 16A2=4a2h216A^2 = 4a^2h^2:

16A2=4a2c2−(a2+c2−b2)2=(2ac−a2−c2+b2)(2ac+a2+c2−b2)=(b2−(a−c)2)((a+c)2−b2)=(b−a+c)(b+a−c)(a+c−b)(a+c+b)\begin{aligned} 16A^2 &= 4a^2c^2 - (a^2 + c^2 - b^2)^2 \\ &= (2ac - a^2 - c^2 + b^2)(2ac + a^2 + c^2 - b^2) \\ &= \big(b^2 - (a-c)^2\big)\big((a+c)^2 - b^2\big) \\ &= (b-a+c)(b+a-c)(a+c-b)(a+c+b) \end{aligned}

Step 4. Put a+b+c=2sa+b+c = 2s. Then b+c−a=2(s−a)b+c-a = 2(s-a), a+c−b=2(s−b)a+c-b = 2(s-b) and a+b−c=2(s−c)a+b-c = 2(s-c), so 16A2=16 s(s−a)(s−b)(s−c)16A^2 = 16\,s(s-a)(s-b)(s-c). Taking the square root gives Heron's formula.

You can also prove it with the law of cosines: find cos⁡C\cos C from the three sides, get sin⁡C=1−cos⁡2C\sin C = \sqrt{1 - \cos^2 C}, and substitute into A=12absin⁡CA = \tfrac{1}{2}ab\sin C. The same factorising steps follow. The trigonometry formulas page lists the cosine rule. For a class 9 project, verify the formula by drawing a triangle on graph paper, measuring a height, and comparing 12bh\tfrac{1}{2}bh with the Heron answer.

Solved examples using Heron's formula

Example 1: scalene triangle

The sides are 7 cm, 8 cm and 9 cm. Work out the area.

s=7+8+92=12s = \dfrac{7+8+9}{2} = 12. Then s−a=5s-a = 5, s−b=4s-b = 4, s−c=3s-c = 3.

A=12×5×4×3=720=125A = \sqrt{12 \times 5 \times 4 \times 3} = \sqrt{720} = 12\sqrt{5}.

Answer: 125≈26.83 cm212\sqrt{5} \approx 26.83\ \mathrm{cm^2}.

Example 2: isosceles triangle

Equal sides 10 cm each, base 12 cm.

s=16s = 16, so A=16×6×6×4=2304=48A = \sqrt{16 \times 6 \times 6 \times 4} = \sqrt{2304} = 48.

Check with base and height: the height splits the base into 6 and 6, so h=102−62=8h = \sqrt{10^2 - 6^2} = 8 and 12×12×8=48\tfrac{1}{2} \times 12 \times 8 = 48.

Answer: 48 cm248\ \mathrm{cm^2}.

Example 3: equilateral triangle

Side 6 cm. Here s=9s = 9 and each bracket is 3.

A=9×3×3×3=243=93A = \sqrt{9 \times 3 \times 3 \times 3} = \sqrt{243} = 9\sqrt{3}. The shortcut 34×36\tfrac{\sqrt{3}}{4} \times 36 gives the same value.

Answer: 93≈15.59 cm29\sqrt{3} \approx 15.59\ \mathrm{cm^2}.

Example 4: find the missing side first

A triangle has two sides of 8 cm and 11 cm, with a perimeter of 32 cm. Work out the area.

Third side =32−8−11=13= 32 - 8 - 11 = 13 cm, and s=16s = 16. Brackets: 16−8=816 - 8 = 8, 16−11=516 - 11 = 5, 16−13=316 - 13 = 3.

A=16×8×5×3=1920=830A = \sqrt{16 \times 8 \times 5 \times 3} = \sqrt{1920} = 8\sqrt{30}.

Answer: 830≈43.82 cm28\sqrt{30} \approx 43.82\ \mathrm{cm^2}.

Going the other way, if an equilateral triangle has area 163 cm216\sqrt{3}\ \mathrm{cm^2}, then 34a2=163\tfrac{\sqrt{3}}{4}a^2 = 16\sqrt{3}, so a2=64a^2 = 64 and each side is 8 cm.

Area of a quadrilateral by splitting into triangles

Any quadrilateral splits into two triangles along a diagonal. If you know the four sides and that diagonal, apply Heron's formula to each triangle and add.

A four-sided field

ABCD has AB=9AB = 9 m, BC=40BC = 40 m, CD=28CD = 28 m, DA=15DA = 15 m and diagonal AC=41AC = 41 m.

Triangle ABC (9, 40, 41): s=45s = 45, area =45×36×5×4=32400=180 m2= \sqrt{45 \times 36 \times 5 \times 4} = \sqrt{32400} = 180\ \mathrm{m^2}. (It is right-angled at B, since 92+402=4129^2 + 40^2 = 41^2.)

Triangle ACD (41, 28, 15): s=42s = 42, area =42×1×14×27=15876=126 m2= \sqrt{42 \times 1 \times 14 \times 27} = \sqrt{15876} = 126\ \mathrm{m^2}.

Answer: 180+126=306 m2180 + 126 = 306\ \mathrm{m^2}.

Four sides alone do not fix the area of a quadrilateral, because the shape can flex. You always need a diagonal (or an angle). A rhombus or a parallelogram works the same way: one diagonal cuts it into two equal triangles.

Heronian triangles and quick checks

A Heronian triangle has whole-number sides and a whole-number area. Examples are 5, 5, 6 (area 12), 5, 12, 13 (area 30) and 13, 14, 15 (area 84). Exam setters like these because the square root comes out exact.

  • If the number under the root is not a perfect square, factorise it and simplify the surd, as in 720=125\sqrt{720} = 12\sqrt{5}.
  • For a right triangle, cross-check with 12×\tfrac{1}{2} \times the two shorter sides.
  • Units: sides in metres give area in square metres.

Common mistakes with Heron's formula

  • Using the full perimeter instead of the semi-perimeter. Always halve it.
  • Forgetting the square root, especially after a long multiplication.
  • Multiplying large numbers before factorising. Write s(s−a)(s−b)(s−c)s(s-a)(s-b)(s-c) as prime factors first and pair them up; it is faster and safer.
  • Not checking the triangle inequality when sides come from a ratio or a word problem.
  • In quadrilateral questions, using the wrong diagonal for one of the triangles. Draw and label the figure before you start.

Cost questions then multiply the area by the rate: if painting costs 5 rupees per square metre and the area is 306 m2306\ \mathrm{m^2}, the cost is 1530 rupees.

Practice questions on Heron's formula

These class 9 maths Heron's formula extra questions follow the style of the textbook exercises. Try each before reading the answer.

  1. A triangle has sides 5 cm, 12 cm and 13 cm. What is its area?
  2. A triangular sign board measures 18 cm, 24 cm and 30 cm along its edges. Work out the board's area.
  3. A triangular park has sides in the ratio 3 : 5 : 7, and walking once round it covers 300 m. How large is the park?
  4. A rhombus has side 13 cm and one diagonal 10 cm. Use Heron's formula to get the rhombus area.
  5. A triangular field has sides 25 m, 39 m and 56 m. How much ground does it cover, and how much fencing goes round it?

Answers: (1) s=15s = 15, area 30 cm230\ \mathrm{cm^2}. (2) s=36s = 36, area 46656=216 cm2\sqrt{46656} = 216\ \mathrm{cm^2}. (3) Sides 60, 100, 140 m; s=150s = 150; area 15003≈2598.08 m21500\sqrt{3} \approx 2598.08\ \mathrm{m^2}. (4) Each half is a triangle 13, 13, 10 with s=18s = 18 and area 60, so the rhombus is 120 cm2120\ \mathrm{cm^2}. (5) s=60s = 60, area 60×35×21×4=420 m2\sqrt{60 \times 35 \times 21 \times 4} = 420\ \mathrm{m^2}; fencing 120 m.

Download the PDF

Questions students ask

What is Heron's formula used for?

It turns three side lengths into an area, with no height or angle needed. It is also used for quadrilaterals by splitting them into two triangles along a diagonal.

What does s stand for in Heron's formula?

s is the semi-perimeter, half the perimeter: s=a+b+c2s = \tfrac{a+b+c}{2}. For sides 6, 8 and 10, s=12s = 12.

Can Heron's formula be used for a right triangle?

Yes, it works for every triangle. For a right triangle with sides 6, 8, 10 it gives 12×6×4×2=24\sqrt{12 \times 6 \times 4 \times 2} = 24, the same as 12×6×8\tfrac{1}{2} \times 6 \times 8.

How do you prove Heron's formula?

Drop an altitude onto one side, write Pythagoras for the two right triangles, eliminate the unknown segment, and factorise 16A216A^2 as a product of four brackets. Replacing a+b+ca+b+c with 2s gives A2=s(s−a)(s−b)(s−c)A^2 = s(s-a)(s-b)(s-c).

Which chapter of class 9 maths is Heron's formula?

You will find it in the class 9 NCERT book, in the chapter called Heron's Formula. The chapter number differs between editions, so look for it by name in your book. Questions often add a cost or fencing step at the end.

What happens if s minus a side is negative?

Then the three lengths do not form a triangle, because one side is longer than the other two together. Recheck the question or your arithmetic.