Heron’s Formula Calculator

Heron’s formula gives a triangle’s area from its three sides alone, with no height or angle needed. It is part of the Class 9 syllabus.

Results update as you type.

Area

84

Semi-perimeter (s)
21
Perimeter
42
Type
scalene, acute

About this calculator

The calculator first checks the sides can form a triangle.

How to use it

  1. Enter the three sides.
  2. Read the area and type.

The formula

Area = √(s(s − a)(s − b)(s − c)), s = (a + b + c) ÷ 2
s
semi-perimeter

Worked example

Sides 13, 14 and 15

  1. s = 21.
  2. Area = √(21 × 8 × 7 × 6) = 84.

What the result means

Each side must be shorter than the other two added together.

Worked example: area of a four-sided plot

Heron’s formula is how many plots are measured in practice: split a four-sided plot along a diagonal into two triangles and find each area from its sides.

Plot ABCD has AB = 9 m, BC = 40 m, CD = 28 m and DA = 15 m, with diagonal AC = 41 m. Triangle ABC has sides 9, 40 and 41: s = 45 and the area is 180 m². Triangle ACD has sides 41, 28 and 15: s = 42 and the area is 126 m². The plot is 180 + 126 = 306 m².

Triangles with whole-number areas

These side sets give an exact whole-number area, so they are handy for checking your working.

Integer-sided triangles with whole-number area (Heronian triangles)
SidesSemi-perimeter sArea
3, 4, 566
5, 5, 6812
5, 5, 8912
5, 12, 131530
10, 13, 131860
9, 10, 171836
13, 14, 152184
13, 20, 2127126
17, 25, 2835210

Tips for accurate results

  • Measure all three sides in the same unit. The area comes out in that unit squared.
  • Check that s − a, s − b and s − c are all positive. If one is zero, the ‘triangle’ is a flat line with no area.
  • For land, measure the diagonal carefully: an error there affects both triangles.

Assumptions

  • All lengths in the same unit.

Limitations

  • Results are rounded to 10 significant figures.

Frequently asked questions

What is Heron’s formula?

Area = √(s(s − a)(s − b)(s − c)) with s the semi-perimeter.

Why does it fail for some sides?

They cannot form a triangle.

Does it work for right triangles?

Yes, for any triangle.

Can I use Heron’s formula for a quadrilateral?

Yes, by splitting it along a diagonal into two triangles and adding their areas. You need the four sides and the length of one diagonal.

Why do sides 3, 4 and 7 give an error?

Because 3 + 4 is not more than 7, the three lengths would lie flat in a straight line and cannot enclose an area.

Last reviewed on 12 October 2026. How we calculate and check. Found a mistake? Tell us.