Heron's Formula for Triangle Area

Heron's formula provides an elegant solution for calculating triangle area from side lengths alone. Named after the first-century mathematician Heron of Alexandria, this method bypasses the need for height or angle measurements entirely.

s = (a + b + c) ÷ 2

A = √[s(s − a)(s − b)(s − c)]

  • a, b, c — The three side lengths of the triangle
  • s — The semi-perimeter, calculated as half the perimeter
  • A — The area of the triangle

How the Calculator Works

Enter your three side measurements in any unit (metres, feet, inches), and the calculator instantly computes the area in the corresponding square unit. The computation relies on Heron's elegant reformulation:

  • First, find the semi-perimeter by adding all three sides and dividing by two.
  • Then subtract each individual side from this semi-perimeter to get three intermediate values.
  • Multiply the semi-perimeter by all three differences, take the square root, and you have your area.

The beauty of this approach is its universality—it works for any triangle, whether scalene, isosceles, or equilateral.

The Triangle Inequality Constraint

Not every set of three numbers can form a valid triangle. For three sides to create a closed triangle, a fundamental rule must hold: the sum of any two sides must be strictly greater than the third side.

For example, sides of 3, 4, and 8 cannot form a triangle because 3 + 4 = 7, which is less than 8. The longer side exceeds what the other two can span. This constraint is automatically verified when using the calculator—if an invalid triangle is entered, the calculation produces no real result.

Common Pitfalls When Measuring Triangular Spaces

Accurate area calculation depends on precise measurements. Watch for these frequent sources of error:

  1. Curved or irregular boundaries — Real-world triangular spaces—rooms, plots, roof sections—rarely have perfectly straight sides. Measure the longest straight distance between each corner. If edges curve noticeably, treat them as closer approximations rather than exact triangles.
  2. Unit consistency — Ensure all three side measurements use the same unit before entering them. Mixing metres and feet, or feet and inches, leads to nonsensical results. Convert everything to one unit first.
  3. Rounding during measurement — Avoid rounding intermediate calculations. Keep full decimal precision through to the final answer. Rounding 3.7 metres to 4 metres introduces cumulative errors that compound in the formula.
  4. Nearly degenerate triangles — Triangles where one side nearly equals the sum of the other two (very flat, acute angles) are mathematically valid but physically unstable. Small measurement errors cause large area variations. Remeasure carefully if sides are close to violating the triangle inequality.

Practical Applications

Heron's formula shines when traditional base-height measurement is impractical. Surveying an oddly-shaped parcel of land, calculating fabric needed for a triangular banner, or determining the footprint of a roof section all benefit from knowing only the perimeter distances. Builders often find it faster to measure three boundary lengths with a tape measure than to establish a height perpendicular to a base. Digital tools eliminate the manual arithmetic, making the ancient formula as useful today as it was two millennia ago.

Frequently Asked Questions

Do all three-side combinations form valid triangles?

No. Three sides form a valid triangle only if the sum of any two sides exceeds the third side. Mathematically, this means a + b > c, b + c > a, and a + c > b must all be true. If one side is greater than or equal to the sum of the other two, the three sides collapse into a line and form no enclosed triangle. Always verify this triangle inequality before assuming your measurements form a closed shape.

What is Heron's formula and why does it work?

Heron's formula expresses triangle area using only side lengths, avoiding the need for height or angles. It states that area equals the square root of the product of the semi-perimeter and the three quantities formed by subtracting each side from the semi-perimeter. This formula works because it encodes the relationship between side lengths and the resulting enclosed area. Heron, a mathematician in 1st-century Alexandria, published it, though evidence suggests Archimedes discovered it earlier without publishing.

How do I find the area of a triangle with sides 9, 6, and 5 inches?

Using Heron's formula: first calculate the semi-perimeter s = (9 + 6 + 5) ÷ 2 = 10. Then compute the area as √[10 × (10 − 9) × (10 − 6) × (10 − 5)] = √[10 × 1 × 4 × 5] = √200 ≈ 14.14 square inches. This method works regardless of whether the triangle is right-angled, acute, or obtuse.

Can I find a missing side length using area and two known sides?

Yes, if you know the area and two sides, you can work backwards to find the third side. Enter the two known sides and the area into the calculator, and it solves for the missing side using the inverted Heron formula. This is useful when you've measured two boundary distances but don't have direct access to the third, or when you know the total area and need to verify if your measurements are consistent.

What units should I use for side measurements?

Use any consistent linear unit: metres, feet, centimetres, inches, or any other length measurement. The calculator automatically returns area in the square of your chosen unit (square metres, square feet, etc.). Critically, all three sides must be in the same unit. Converting mixed units before entry eliminates errors and ensures reliable results.

How accurate is Heron's formula for real-world triangular spaces?

Heron's formula is mathematically exact for perfect geometric triangles. In real-world applications—rooms, land parcels, architectural elements—accuracy depends entirely on measurement precision. Tape measures typically have ±5 mm error at reasonable distances. For large triangular areas, this small measurement uncertainty compounds into noticeable area variation. Always remeasure if results seem unexpected, and account for slightly curved or irregular edges by treating them as approximate straight lines.

More math calculators (see all)