Logo

MonoCalc

/

Heron's Formula Calculator

Geometry

Triangle Sides

Side a (m)

Side b (m)

Side c (m)

Length Unit

Area Unit

Decimal Places (0–10)

Triangle Type (by sides):

Scalene

Area

14.6969

Area14.6969 m²
Semi-perimeter (s)9.0000 m
Perimeter18.0000 m
Triangle TypeScalene

Step-by-step Calculation

s = (a + b + c) / 2

s = (5.0000 + 6.0000 + 7.0000) / 2 = 9.0000 m

Area = √(s × (s−a) × (s−b) × (s−c))

Area = √(9.0000 × 4.0000 × 3.0000 × 2.0000)

Area ≈ 14.6969

Triangle Diagram

ABCa=5.0000 mb=6.0000 mc=7.0000 m

About This Tool

Heron's Formula Calculator – Triangle Area from Three Side Lengths

Heron's Formula is a classical geometry result that computes the area of any triangle knowing only its three side lengths — no angles, no altitude, and no coordinate system required. It is one of the oldest algorithms in mathematics, attributed to Heron of Alexandria around 60 AD, and remains one of the most practical tools for real-world measurement problems where distances are easier to measure than heights.

The Formula

Given a triangle with sides a, b, and c, the area is:

s = (a + b + c) / 2 (semi-perimeter)

Area = √( s × (s − a) × (s − b) × (s − c) )

The semi-perimeter s is an elegant intermediate quantity: the four factors inside the square root — s, s−a, s−b, and s−c — each measure how much larger the full semi-perimeter is compared to one side. When all four factors are positive the triangle is valid; if any factor is zero or negative the sides violate the triangle inequality and no real triangle exists.

Triangle Validity Check

Before computing the area, the calculator verifies the triangle inequality: every side must be strictly less than the sum of the other two.

  • a + b > c
  • a + c > b
  • b + c > a

Sides that fail any of these checks — such as 1, 2, and 10 — produce an error message rather than a nonsensical area. Degenerate triangles where one side exactly equals the sum of the others also fail, since the area would be zero and the shape is a straight line.

What the Calculator Returns

Beyond the area, each calculation also provides:

  • Semi-perimeter — the value of s, shown for educational reference and to make the intermediate step transparent.
  • Perimeter — the total length of all three sides combined, useful for fencing, framing, and border calculations.
  • Triangle type (by sides) — classified as Equilateral (all three sides equal), Isosceles (exactly two sides equal), or Scalene (all sides different).
  • Step-by-step derivation — the substituted values at each stage so you can follow or verify the calculation by hand.

Unit Conversion

All three sides must share the same length unit, but the area output can be in any compatible area unit. For example, you can input sides in feet and receive the area in square meters. The calculator converts each side to meters, applies Heron's formula in SI base units, then converts the resulting m² to your chosen output unit using standard conversion factors.

Supported length units: mm, cm, m, km, in, ft, yd, mi. Supported area output units: mm², cm², , km², in², ft², yd², mi².

Practical Applications

Heron's Formula is especially useful in scenarios where measuring the height of a triangle is impractical or impossible:

  • Land surveying — when a plot boundary is measured by three points, the enclosing triangular area can be computed from the three boundary-to-boundary distances alone.
  • Construction and carpentry — calculating the area of a triangular roof section, floor tile, or gable end from measured rafter and ridge lengths.
  • Navigation — estimating the area of a triangular region formed by three waypoints whose mutual distances are known from GPS data.
  • Woodworking — laying out and computing the area of irregular triangular panels or gussets when measuring angles is difficult.
  • Education — a standard result in secondary and undergraduate geometry courses, demonstrating how area emerges purely from metric information without trigonometric functions.

Connection to Other Formulas

Heron's Formula is algebraically equivalent to the trigonometric area formula ½ab sin(C). When you know two sides and the included angle, that formula is more direct. When you know only the three sides — the SSS case — Heron's Formula is the natural choice. For right triangles, ½ × base × height gives the same result with less computation, but Heron's Formula works equally well without needing to identify which side is the base.

The formula also underlies several derived quantities. The inradius of a triangle is r = Area / s, and the circumradius is R = (abc) / (4 × Area). If you need these additional properties, the Inradius of Triangle Calculator and Circumradius of Triangle Calculator build directly on the same Heron's Formula foundation.

Precision and Numerical Notes

Heron's Formula can suffer from catastrophic cancellation when the triangle is very flat (one side nearly equal to the sum of the other two). In such cases, the four factors inside the square root become very small numbers near zero, and floating-point subtraction loses significant digits. For classroom and most engineering purposes this is not a concern, but for near-degenerate triangles with extreme precision requirements, an alternative numerically stable formulation is recommended. The decimal precision selector (0–10 places) lets you match the displayed output to the accuracy of your measurements.

Frequently Asked Questions

Is the Heron's Formula Calculator free?

Yes, Heron's Formula Calculator is totally free :)

Can I use the Heron's Formula Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Heron's Formula Calculator?

Yes, any data related to Heron's Formula Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is Heron's Formula?

Heron's Formula calculates the area of any triangle when all three side lengths are known, without needing angles or height. The formula is: Area = √(s × (s−a) × (s−b) × (s−c)), where s = (a + b + c) / 2 is the semi-perimeter. It is named after the ancient Greek mathematician Heron of Alexandria.

When should I use Heron's Formula instead of ½ × base × height?

Use Heron's Formula when you know all three side lengths but do not have or cannot easily measure the height of the triangle. This is common in surveying, construction, and navigation where distances are measured between markers but no perpendicular height is available. The ½ × base × height formula requires the altitude to one side, which must be computed separately or measured directly.

What happens if my three sides don't form a valid triangle?

If any side is greater than or equal to the sum of the other two (violating the triangle inequality), no triangle can be formed and the area is undefined. For example, sides 1, 2, and 10 are invalid because 1 + 2 = 3 < 10. The calculator detects this and displays a clear error message rather than producing a meaningless result.

Does Heron's Formula work for right triangles?

Yes. Heron's Formula works for any triangle — acute, right, or obtuse — as long as all three side lengths are known and form a valid triangle. For a right triangle with legs 3 and 4 and hypotenuse 5, the formula gives s = 6 and Area = √(6 × 3 × 2 × 1) = √36 = 6, which matches the result from ½ × base × height = ½ × 3 × 4 = 6.

Can I use different units for each side?

All three sides must use the same length unit for the calculation to be valid — you cannot mix meters for one side and feet for another. However, you can choose the area output unit independently. For example, you can input sides in feet and display the area in square meters. The calculator handles the conversion automatically.

What is the semi-perimeter and why does it appear in the formula?

The semi-perimeter s is simply half the total perimeter: s = (a + b + c) / 2. Heron's original proof factored the area expression through the semi-perimeter as an elegant algebraic shorthand. The quantity (s−a) represents how much the remaining two sides (b + c) exceed side a when halved, providing the symmetric structure that makes the formula work for all triangle types.