Triangle Area (Heron's Formula)
Last updated: 2026-08-10
Enter your email and download a PDF report with your results.
| 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:
- Semiperimeter (s): This is half the triangle's perimeter. Calculate it as s = (a + b + c) ÷ 2. The semiperimeter flattens the side lengths into a single value that scales the area calculation.
- Area (A): Once you have s, the area is A = √[ s × (s − a) × (s − b) × (s − c) ]. Every variable inside the square root must be positive for a valid triangle. If any term equals zero, the triangle is degenerate (a flat line). If any term is negative, the three sides cannot form a triangle.
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?
- Step 1: Find the semiperimeter.
s = (5 + 6 + 9) ÷ 2 = 20 ÷ 2 = 10 meters. - 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?
- Step 1: Find the semiperimeter.
s = (7 + 8 + 12) ÷ 2 = 27 ÷ 2 = 13.5 inches. - 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
- Forgetting to divide by 2 for the semiperimeter: Some users mistakenly add the three sides and use that sum directly in the formula. Always compute s = (a+b+c) ÷ 2 first.
- Using invalid side lengths: If the triangle inequality fails (e.g., sides of length 2, 3, and 6 because 2+3 < 6), the result inside the square root becomes negative, and the formula produces an error. Always test the inequality before calculating.
- Mixing units without converting: If one side is in meters and another in centimeters, you must convert all sides to the same unit before applying the formula. Otherwise, the area will be wildly inaccurate.
- Forgetting to take the square root: Some stop after multiplying s × (s−a) × (s−b) × (s−c). The final step is always the square root of that product.
- Rounding too early: In the second example, rounding 723.9375 to 724 before taking the square root would change the result by about 0.02 square inches. Keep full precision until the final step.
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.