anındahesapla

Triangle area calculator with Heron's formula

Enter three side lengths to get the area, perimeter and semi-perimeter of a triangle.

· Updated:

WhatsApp X Facebook

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.

u
u
u

Result

24 sq units

Triangle area: 24 u²

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.

  1. Type the three lengths into Side a, Side b and Side c, all in one unit.
  2. Add the sides to give the perimeter, then halve that total to get s.
  3. Subtract each side from s and multiply the three differences together with s.
  4. Take the root of that product and read it as the area in square units.
OutputValue
Area24 u²
Perimeter24 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.

Frequently Asked Questions

What is Heron's formula used for?
It finds triangle area from three side lengths when height is unknown. No angle measurement or drawn height is required.
How do you find the semi-perimeter of a triangle?
Add all sides and divide the total by two. In the default example the perimeter is 24, so the semi-perimeter is 12.
Can any three side lengths make a triangle?
No. Each side has to be shorter than the other two combined, a rule known as the triangle inequality. If that condition fails, the value under the radical cannot produce a valid area.
Can I enter the sides in different units?
All sides should use one unit. Mixing metres and centimetres gives a wrong output, so convert everything first. Metres then become square metres, while feet become square feet.
Can side lengths include decimals?
Yes, they can. Fractional entries such as tenths of a metre are accepted in every field, and precision of the output follows how carefully each edge was taped on site.

Related calculations