Izračunajte površino trikotnika iz dolžin stranic
Using Heron's Formula Calculator is very simple:
Enter values. Results display in real-time.
Heron's formula was first proven by Hero of Alexandria (c. 10-70 AD) in his mathematical treatise 'Metrica'. However, it was later discovered that this formula was known to Archimedes several centuries earlier. This formula is remarkable because it can calculate the area of a triangle using only the lengths of its sides, without needing to know angles or heights.
Heron's formula consists of two main steps:
Where a, b, and c are the lengths of the three sides of the triangle.
To use Heron's formula, the following conditions must be met:
Heron's formula is used in various real-world applications:
In surveying and real estate, when measuring triangular plots of land, Heron's formula allows area calculation from only distance measurements, without needing angle measurements.
In GPS systems and navigation calculations, when determining positions from distances to multiple points, Heron's formula is used to calculate areas and verify positional accuracy.
In civil engineering and architectural design, when calculating the areas of triangular structural elements and panels, Heron's formula provides quick area calculations.
In 3D modeling and game development, triangular polygons are fundamental elements, and Heron's formula is used to calculate surface areas and for lighting calculations.
In geometry education, Heron's formula is taught as an important theorem that provides insight into the relationship between triangle sides and area.
Side lengths: a = 5, b = 5, c = 5
Semi-perimeter: s = (5 + 5 + 5) / 2 = 7.5
Area: S = √[7.5 × 2.5 × 2.5 × 2.5] = √117.1875 ≈ 10.825
Side lengths: a = 3, b = 4, c = 5
Semi-perimeter: s = (3 + 4 + 5) / 2 = 6
Area: S = √[6 × 3 × 2 × 1] = √36 = 6
For a right triangle, this matches the formula (base × height) / 2 = (3 × 4) / 2 = 6
Side lengths: a = 7, b = 8, c = 9
Semi-perimeter: s = (7 + 8 + 9) / 2 = 12
Area: S = √[12 × 5 × 4 × 3] = √720 ≈ 26.833
Unlike the standard formula (base × height / 2), Heron's formula calculates area from only side lengths, making it useful when height is difficult to measure.
Whether equilateral, isosceles, scalene, acute, right, or obtuse, Heron's formula works for all triangle types with a single formula.
Using modern calculators or computers, Heron's formula can calculate areas with very high precision.
Heron's formula is simple to implement in programming, requiring only basic arithmetic operations (addition, subtraction, multiplication, and square root).
For triangles with very small areas (nearly degenerate triangles), floating-point arithmetic can lead to significant rounding errors. In such cases, alternative formulas like Kahan's formula may be more stable.
Before calculation, you must verify that the three sides can form a valid triangle (triangle inequality: the sum of any two sides must exceed the third).
All side lengths must be positive numbers. Zero or negative values will result in invalid calculations.
Heron's formula is a mathematical formula for calculating the area of a triangle from the lengths of its three sides. It was proven by Hero of Alexandria in ancient times.
It's particularly useful when you know all three side lengths but not the height or angles of the triangle, such as in land surveying or when measuring triangular objects.
Yes, it works for all types of triangles (equilateral, isosceles, scalene, acute, right, and obtuse), as long as the three sides can form a valid triangle.
You can use any units (meters, centimeters, feet, etc.), but all three sides must use the same unit. The resulting area will be in square units of the input unit.
Common reasons include: entering negative or zero values, or entering side lengths that violate the triangle inequality (where the sum of two sides is not greater than the third).
For very flat triangles (nearly degenerate), floating-point rounding errors can accumulate. For such cases, numerically stable alternatives like Kahan's formula are recommended.
Heron's formula itself is for planar triangles only. For three-dimensional triangles in space, you would first need to determine if the three points are coplanar and calculate the side lengths.
For right triangles, Heron's formula gives the same result as (base × height) / 2. For triangles where you know side lengths and angles, you could also use (1/2)ab sin C, but Heron's formula doesn't require angle information.