ThisCalculator

Everyday

Heron’s Formula: Find a Triangle’s Area

Updated · Standard formula, shown below

Triangle area 6.00 square units
Semiperimeter
6.00 units
Result
Side a
3 units
You entered
Side b
4 units
You entered

Heron's Formula: Find a Triangle's Area

Heron’s formula finds the area of a triangle when you know the lengths of all three sides, even if you do not know its height. Enter the side lengths in the calculator to get the area in square units, along with the triangle’s semiperimeter.

Formula

Heron’s formula is A = √[s(s − a)(s − b)(s − c)], where A is the triangle’s area in square units, a, b, and c are the three side lengths in a shared unit, and s is the semiperimeter in that unit. The semiperimeter is half the perimeter: s = (a + b + c) / 2.

The calculator first finds s, then multiplies the four terms inside the square root. Because each term represents a length, their product has units of length to the fourth power; taking the square root leaves an area, or length squared. For example, measurements in centimeters give an answer in square centimeters; measurements in inches give square inches.

Worked Example

Using the calculator’s default side lengths, a = 3 units, b = 4 units, and c = 5 units:

  1. Find the semiperimeter: s = (3 + 4 + 5) / 2 = 6 units.
  2. Substitute into Heron’s formula: A = √[6(6 − 3)(6 − 4)(6 − 5)].
  3. Multiply inside the root: A = √(6 × 3 × 2 × 1) = √36.
  4. Take the square root: A = 6 square units.

The calculator displays the area as 6.00 square units and the semiperimeter as 6.00 units, rounding both outputs to two decimal places.

When to Use Heron’s Formula

Use Heron’s formula when all three sides are known and the height is not. It is particularly useful for surveying, geometry problems, and finding the area of a triangle formed by three measured distances. It works for scalene, isosceles, and equilateral triangles; no right angle or special side relationship is required.

If you know a base and the perpendicular height, the familiar formula A = base × height / 2 is usually simpler. If you know two sides and the angle between them, you can use A = ab sin(C) / 2. Heron’s method is the direct option when the available information is the three side lengths alone.

Area units are squared. A triangle measured in feet has an area in square feet, not feet. To convert square units, square the length-conversion factor: for instance, since one foot is 12 inches, one square foot is 144 square inches. Metric and US customary measurements both work, but do not mix them within one calculation.

Check That the Sides Form a Triangle

Three positive lengths form a non-degenerate triangle only when the sum of any two sides is greater than the third. Equivalently, the longest side must be shorter than the sum of the other two. For example, lengths 2, 3, and 6 cannot form a triangle because 2 + 3 is less than 6.

This condition is also reflected in Heron’s formula: for valid sides, the factors s − a, s − b, and s − c are positive. If the side lengths fail the triangle inequality, the expression under the square root may be negative, so there is no real triangle area to calculate. If one side equals the sum of the other two, the shape is flat and its area is zero.

Accuracy and Common Mistakes

  • Use consistent units: Convert every side to the same unit before calculating. A mix of centimeters and meters produces a meaningless result.
  • Do not confuse perimeter and semiperimeter: Heron’s formula uses s, which is half the perimeter, not the full sum.
  • Keep precision during the calculation: Avoid rounding the semiperimeter or intermediate products too early. Round the final area to a sensible precision for the measurements.
  • Check measurement quality: A small error in a side measurement can affect the calculated area, especially for a triangle close to being flat. The result cannot be more reliable than its input measurements.

For sides close to the triangle inequality limit, the formula’s factors can be small, making the result sensitive to rounding or measurement error. In routine hand calculations, retain extra digits until the final step. For highly precise numerical work, a rearranged version of Heron’s formula can reduce rounding error, but the standard form is appropriate for most classroom and everyday calculations.

Frequently Asked Questions

Can Heron’s formula find the area without the height?
Yes. It needs the lengths of all three sides, and it calculates the area without requiring a height or angle.

What is the semiperimeter in Heron’s formula?
It is half the triangle’s perimeter: add the three side lengths and divide by two. It is written as s.

Can I use Heron’s formula for a right triangle?
Yes. A right triangle is still a triangle, so the formula works when all three side lengths are known. Using its perpendicular legs as base and height may be quicker.

What if the expression under the square root is negative?
Check for a side-length or unit error and verify the triangle inequality. Three lengths that cannot form a triangle do not have a real triangle area.

Does Heron’s formula work with decimal side lengths?
Yes. Positive decimal measurements work as long as they use the same unit and satisfy the triangle inequality. Keep sufficient precision during the calculation.

Related

Formula used
in a | Side a | units | 3 | 0
in b | Side b | units | 4 | 0
in c | Side c | units | 5 | 0
out area | Triangle area | square units | sqrt((a+b+c)/2*((a+b+c)/2-a)*((a+b+c)/2-b)*((a+b+c)/2-c)) | 2
out s | Semiperimeter | units | (a+b+c)/2 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.