CALCORA CALCULATOR

Heron's Formula Calculator

Calculate triangle area from three side lengths.

Enter values and calculate.

How to use

Enter the required values and calculate. Check units and assumptions before applying the result.

Formula and notes

This tool uses a standard mathematical formula with basic input validation.

Related calculators

All Calculators · Percentage Calculator · Average Calculator

Math Calculators · All Calculators

Heron’s formula

First calculate the semiperimeter: s = (a + b + c) ÷ 2. Then the triangle area is A = √[s(s − a)(s − b)(s − c)]. The three side lengths must satisfy the triangle inequality.

Worked example

For sides 3, 4 and 5, the semiperimeter is 6. The area is √[6 × 3 × 2 × 1] = 6 square units. This matches the familiar right-triangle result of (3 × 4) ÷ 2.

Invalid side lengths

If one side is at least as long as the other two combined, a triangle cannot be formed. A calculator should reject such inputs rather than return a misleading area.

Units

All three side lengths should use the same unit. If the sides are in centimetres, the resulting area is in square centimetres.

Why Heron’s formula is useful

Heron’s formula is especially useful when the three sides are known but the perpendicular height is not. It avoids constructing an altitude and works for scalene, isosceles and equilateral triangles that satisfy the triangle inequality.

Precision

Keep the side lengths at full available precision during the calculation and round the final area to the required number of decimal places.

Input validation

Check that every side is greater than zero and that the sum of any two sides is greater than the third. This condition confirms that the three measurements can form a triangle before Heron’s formula is applied.

Heron’s formula: method and worked triangle

Heron’s formula finds a triangle’s area from all three side lengths without requiring a height. For side lengths a, b and c, first calculate the semiperimeter s = (a + b + c) ÷ 2, then calculate Area = √[s(s − a)(s − b)(s − c)]. All sides must use the same unit.

Worked example: sides 13, 14 and 15

The semiperimeter is s = (13 + 14 + 15) ÷ 2 = 21. The area is √[21 × (21−13) × (21−14) × (21−15)] = √(21 × 8 × 7 × 6) = √7056 = 84 square units. If the side lengths are centimetres, the area is 84 cm².

Check the triangle before calculating

Every side must be positive, and the sum of any two sides must be greater than the third. For example, lengths 2, 3 and 6 cannot form a triangle because 2 + 3 is not greater than 6. Near-degenerate triangles can also be sensitive to rounding, so use the best available side measurements and round the final area—not the intermediate semiperimeter—at the end.

Step-by-step method and units

  1. Label the three measured sides a, b and c.
  2. Check that each side is positive and that a+b>c, a+c>b and b+c>a.
  3. Calculate the semiperimeter s by adding all three sides and dividing by two.
  4. Substitute the values into Heron’s formula and take the square root of the product.
  5. Report the result in square units: centimetres produce cm², metres produce m².

A useful reasonableness check is that the computed area must be positive for a valid, non-degenerate triangle. You can also compare it with a second method when a height is known: area = base × perpendicular height ÷ 2. The two methods should agree apart from small rounding differences. Do not multiply the three side lengths and label the result as area; the square root and semiperimeter factors are essential to the formula.

Measurement quality matters. If side lengths come from a tape measure, surveying instrument or rounded drawing, the calculated area is only as reliable as those inputs. For construction, boundaries or engineering, use professional measurement; this estimate is not an official survey.

Heron’s formula FAQs

Does Heron’s formula work for an equilateral triangle?

Yes. It works for any valid triangle, including equilateral, isosceles and scalene triangles.

Can I mix centimetres and metres for the sides?

No. Convert all three sides to one unit first, otherwise the calculation is dimensionally inconsistent.

Why does the calculator reject impossible side lengths?

Three lengths that fail the triangle inequality do not enclose a triangle, so a calculated area would be misleading.