Math

Heron's Formula Calculator

Calculate the area of a triangle from three sides using Heron's formula with step-by-step solutions.

CALCULATOR

Enter your numbers

Instant results
6.0000
Area
6.0000
Semi-perimeter
Given sides: a = 3, b = 4, c = 5
Triangle inequality: 3 + 4 > 5? true
Triangle inequality: 3 + 5 > 4? true
Triangle inequality: 4 + 5 > 3? true
Valid triangle: true
Semi-perimeter s = (a + b + c) / 2 = (3 + 4 + 5) / 2 = 6.0000
Area = √[s(s-a)(s-b)(s-c)] = √[6.0000 × 3.0000 × 2.0000 × 1.0000] = 6.0000

THE NUMORIX GUIDE

How to use the Heron's Formula Calculator

Last reviewed September 14, 2026

What this calculator does

First check all three triangle inequalities.

Formula and method

First check all three triangle inequalities. For valid sides a,b,c, calculate semiperimeter s=(a+b+c)/2 and area = sqrt(s(s-a)(s-b)(s-c)).

Variables and inputs

Side a, b, and c default to 3, 4, and 5. The engine returns isValid, semiperimeter, and area; side values are lengths in a common unit.

Worked example

For 3,4,5: all triangle inequalities hold; s=(3+4+5)/2=6; area=sqrt(6*3*2*1)=sqrt(36)=6 square units.

How to interpret the result

Heron's formula finds area from the three side lengths without requiring an angle or height.

Common mistakes to avoid

Check the triangle inequality before taking the square root, and do not use a diameter or perimeter as a side input.

Assumptions and limitations

The formula assumes a Euclidean triangle and positive side lengths. For invalid sides the engine returns area zero and a false validity flag rather than throwing.

Practical use and checks

Heron's Formula calculates triangle area from all three side lengths without requiring an angle. Enter sides 3, 4, and 5 as a check; the semiperimeter should be 6 and the area should be 6 square units. The result can be verified by the right-triangle formula one-half times 3 times 4, but Heron's method remains useful when no angle is available. It is also a practical way to split a measured polygon into triangles and add their areas. Check the triangle inequality before interpreting the area: every pair of sides must sum to more than the third. Inputs 2, 3, and 5 fail because the shape would be flat rather than a positive-area triangle, and the calculator should mark it invalid and return an area of zero. Use consistent side units; the area is in square units even though the inputs are linear. Nearly degenerate triangles are sensitive to measurement rounding, so a tiny positive area may not be reliable in a field measurement. The formula assumes a flat triangle and does not account for thickness, curvature, or a side that represents an arc. Keep the validity flag and semiperimeter with the numerical area when the result supports a construction, surveying, or fabrication decision.

Sources and references

COMMON QUESTIONS

Frequently asked questions

What is the triangle inequality?

Each pair of sides must sum to more than the third side; otherwise the three lengths cannot close into a nondegenerate triangle.

Why does Heron's formula need no angle?

The three sides determine the triangle up to congruence, and the semiperimeter expression encodes the corresponding height and angle information.