Triangle Area (Heron's Formula)

Last updated: 2026-08-10

The Triangle Area (Heron's Formula) is a free online math calculator. Triangle Area (Heron's Formula). Free online calculator with formula, examples and step-by-step guide. Get instant results with the detailed formula and step-by-step examples.
Inputs
Technical Parameters
Dimensions
Result
Enter values and press Calculate
Common Sizes — Click to Fill
base Height lado_c
Triangle 3m side 2.0 2.4 2.8
Square 5m side 3.5 4.2 4.9
Pentagon 6m side 5.0 6.0 7.0
Hexagon 8m side 7.5 9.0 10.5
Octagon 10m side 12.5 15.0 17.5

The Triangle Area (Heron's Formula) calculator is a practical tool for finding the area of any triangle when you only know the lengths of its three sides. Unlike the standard base-times-height method, this formula works for all triangles—equilateral, isosceles, scalene, acute, right, or obtuse—without needing to measure angles or heights.

What This Calculator Does and When to Use It

This calculator computes the area of a triangle using Heron's formula, which requires three inputs: side lengths a, b, and c. It is especially valuable in real-world situations where measuring the height of a triangle is impractical—for example, when surveying an irregular plot of land, designing a triangular roof truss, or cutting fabric for a sail. The formula also serves as a quick check to see if three given lengths can actually form a valid triangle: if the calculation produces a positive number inside the square root, the sides are valid; if the result is zero or negative, the sides are collinear or cannot close into a triangle.

Common use cases include land surveying (calculating acreage for triangular parcels), construction (estimating materials for triangular walls or gables), engineering (determining load-bearing surfaces in truss structures), and even hobbyist projects like making a kite or a triangular garden bed. The calculator eliminates guesswork and ensures accuracy in seconds.

Heron's Formula: Variable by Variable

Heron's formula is named after Heron of Alexandria, a Greek mathematician and engineer from the 1st century AD. It consists of two steps:

Why does this work? Heron cleverly rearranged the relationship between side lengths and area so that no angle or height is needed—only side differences. The formula is elegant and universal, making it a staple in geometry education and applied math.

Worked Example 1: A 5-6-9 Triangle

Problem: A triangular garden plot has sides measuring 5 meters (about 16.4 feet), 6 meters (19.7 feet), and 9 meters (29.5 feet). What is its area in square meters?

  1. Step 1: Find the semiperimeter.
    s = (5 + 6 + 9) ÷ 2 = 20 ÷ 2 = 10 meters.
  2. Step 2: Apply Heron's formula.
    A = √[ 10 × (10 − 5) × (10 − 6) × (10 − 9) ]
    = √[ 10 × 5 × 4 × 1 ] = √200 ≈ 14.14 square meters.

Answer: The plot covers about 14.14 m² (roughly 152 square feet).

Check: The sides 5, 6, and 9 satisfy the triangle inequality (5+6 > 9, 5+9 > 6, and 6+9 > 5), so this is a valid scalene triangle.

Worked Example 2: A 7-8-12 Triangle

Problem: An engineering team needs to calculate the area of a triangular steel plate with sides 7 inches (17.8 cm), 8 inches (20.3 cm), and 12 inches (30.5 cm). What is the area in square inches?

  1. Step 1: Find the semiperimeter.
    s = (7 + 8 + 12) ÷ 2 = 27 ÷ 2 = 13.5 inches.
  2. Step 2: Apply Heron's formula.
    A = √[ 13.5 × (13.5 − 7) × (13.5 − 8) × (13.5 − 12) ]
    = √[ 13.5 × 6.5 × 5.5 × 1.5 ]
    First, multiply: 13.5 × 6.5 = 87.75; then 87.75 × 5.5 = 482.625; then 482.625 × 1.5 = 723.9375.
    Finally, A = √723.9375 ≈ 26.91 square inches (about 173.6 cm²).

Answer: The steel plate has an area of approximately 26.91 in².

Check: Verify the triangle inequality: 7+8 = 15 > 12, so the sides do form a valid triangle. However, note that the longest side (12) is only slightly smaller than the sum of the other two (15), meaning the triangle is somewhat elongated—but still valid.

Common Mistakes with Heron's Formula

Frequently Asked Questions

Does Heron's formula work for right triangles?

Yes, it works for any triangle type, including right triangles. For a 3-4-5 right triangle, the formula yields the same area (6 square units) as the base-height method, confirming its reliability.

What if I get a zero inside the square root?

A zero result means the three sides are collinear—they lie on a straight line and do not form a triangle. For instance, sides 5, 10, and 15 produce a zero because 5+10 = 15. The area is exactly 0.

Can I use Heron's formula for triangles with decimal side lengths?

Absolutely. Heron's formula handles decimals, fractions, and irrational numbers without issue. Just compute the semiperimeter and the product carefully, then take the square root. For example, sides of 4.5, 6.2, and 8.9 meters yield a positive area if they satisfy the triangle inequality.

Are there alternatives to Heron's formula?

Yes. If you know the base and height, use A = (base × height) ÷ 2. If you know two sides and the included angle (C), use A = 0.5 × a × b × sin(C). Heron's formula is the best choice when you only have the three side lengths.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-08-10.