Heron's formula: interpretation pitfalls
Feeding in measurements where one side exceeds the other two combined. No such triangle exists, and the formula fails at the square root , not warning you the input was impossible.
Heron's formula: comparisons with other measurements
Heron's formula is not the same as half base times height, though both give the area; the base-height version needs a perpendicular height, which is often hard to measure. Heron's formula uses only side lengths. It also differs from the law of cosines and the law of sines, which relate sides and angles, and from Brahmagupta's formula for cyclic quadrilaterals, which extends the idea.
For a nondegenerate triangle, any two side lengths must add to more than the third. Equality gives a zero-area degenerate case; violating the inequality does not describe a real triangle.
Heron's formula: limits of the definition
Numerical accuracy suffers for very thin triangles, where the terms nearly cancel, and stable versions of the formula are used in software. Measurement errors in the sides carry through to the area. It applies to flat triangles on a plane.
On curved surfaces, such as large areas of the earth, spherical formulas are needed. For real land measurements, official surveys should be used for legal purposes.
Understanding Heron's formula
Every nondegenerate triangle has perpendicular heights, but a side-length survey need not supply one. Heron’s formula obtains area from three side lengths and their semiperimeter without a separately measured height. The lengths must satisfy the triangle inequality; a longer boundary measurement cannot substitute for a perpendicular altitude.
A land parcel with more than three sides needs a valid decomposition or additional geometry before this triangle formula applies.
Using Heron's formula
Surveyors use it to find the area of a triangular lot from measured sides. Builders and landscapers use it to estimate materials for triangular sections; students use it in geometry. Computer graphics and mapping software use versions of it to compute areas of triangles on a mesh; it turns a physical measurement task, walking the three edges, into a straightforward calculation without any need to establish a right angle.
Heron's formula: calculation reference
Heron's formula: s = (a+b+c)/2; area = √(s(s−a)(s−b)(s−c))
| Quantity | Entered or calculated amount | Meaning |
|---|---|---|
| Side A | 5 | Explicit example input. |
| Side B | 6 | Explicit example input. |
| Side C | 7 | Explicit example input. |
| Area | 14.7 | Result under the listed assumptions. |
| Perimeter | 18 | Result under the listed assumptions. |
Triangle Area (Heron's Formula) Calculator: change the inputs and compare the resulting cases
Does it work for any triangle?
Yes, as long as the three sides can form a triangle. Any two sides must add up to more than the third.
What if the triangle is very thin?
Rounding errors can grow because two terms nearly cancel. Software uses a rearranged version that is more stable.
Check the three lengths can form a triangle.