Triangle area calculator with Heron's formula
Enter three side lengths to get the area, perimeter and semi-perimeter of a triangle.
anındahesapla Editör Ekibi · Updated:
Three sides of 6 u, 8 u and 10 u produce an area of 24 u² under Heron's formula. This calculator reads those lengths, works out half the perimeter first and then returns the enclosed surface without any height or angle being supplied by whoever took the measurements. Measured edges are enough.
Alongside the area, a results panel lists perimeter and semi-perimeter. For the default triangle those figures are 24 and 12. Neither one disappears. Anyone checking a hand calculation can follow what each stage of the formula produces and compare paper working with the displayed output, one line at a time, until every line agrees.
Result
24 sq units
Triangle area: 24 u²
Result in all units
Step-by-step solution
Area = √(s(s−a)(s−b)(s−c))
What is Heron's formula?
Heron's formula gives triangle area using nothing but three side lengths. A familiar approach multiplies base by height and halves the product, but a height is not always something that can be measured on site or read from a drawing. Here height never enters the calculation. Written out, it reads Area = √(s(s−a)(s−b)(s−c)), where s stands for the semi-perimeter. Acute, right and obtuse triangles are all handled by this one expression without any change to the steps.
Inputs are labelled a, b and c. They are measured in a generic length unit (shown as u), so metres, centimetres, feet or inches all work. One condition applies: all three sides must share a single unit. Sides in metres yield square metres. Centimetre sides yield square centimetres, and the same pattern holds for any other unit chosen. Half the sum of the sides gives the semi-perimeter, found with s = (a+b+c) ÷ 2.
On a building site or in a workshop, the method suits shapes where corner-to-corner distances are easy to measure but a height cannot be drawn. Think of a triangular plot of land, a sloped roof panel, or a sheet of fabric or metal waiting to be cut. Students check geometry and trigonometry homework with it. Irregular polygons can be split into triangles, each piece found this way, and the pieces added together to reach the total surface of the whole outline. Surveyors often prefer this route because tape lengths are easier to collect than angles.
How to calculate area with Heron's formula
Two stages make up the calculation. First comes the semi-perimeter, then that value and the sides go into the product under the radical sign. Both stages run automatically in the background. Each intermediate result is listed beside the final answer, and figures refresh as soon as any field changes.
- Type the three lengths into Side a, Side b and Side c, all in one unit.
- Add the sides to give the perimeter, then halve that total to get s.
- Subtract each side from s and multiply the three differences together with s.
- Take the root of that product and read it as the area in square units.
| Output | Value |
|---|---|
| Area | 24 u² |
| Perimeter | 24 u |
| Semi-perimeter (s) | 12 |
Typing a long edge that exceeds the other two combined is a frequent slip. When that happens, one factor under the radical turns negative and no real result exists, so an error message appears instead of a figure. Collinear points form a flat shape covering nothing. Rounded field measurements can shift outputs slightly, which is why measuring each edge twice before entry pays off on large plots.