Compute triangle area using three vertex coordinates (shoelace formula) or three side lengths (Heron's formula). Instantly get area, perimeter, triangle type, and semiperimeter. Visualize coordinate triangles on an interactive canvas.
This calculator supports the two most common ways to determine triangle area: using vertex coordinates (shoelace formula) or using three side lengths (Heron's formula). Both methods are mathematically equivalent and validated against each other.
Coordinate (Shoelace): Area = ½ | x₁(y₂ - y₃) + x₂(y₃ - y₁) + x₃(y₁ - y₂) |
Side Length (Heron): Area = √[ s(s - a)(s - b)(s - c) ], where s = (a+b+c)/2
Whether you are a student solving geometry problems, a land surveyor with corner coordinates, or an engineer with side measurements, this tool adapts to your workflow.
Heron's Formula in Depth: Heron of Alexandria (c. 10–70 AD) proved that the area depends only on side lengths. Given a, b, c, compute semiperimeter s. The formula Area = √[s(s-a)(s-b)(s-c)] is derived from the law of cosines and is extremely robust. Our implementation includes strict triangle inequality validation: if any side is non-positive or a + b ≤ c (and permutations), the tool shows an error.
Shoelace (Coordinate) Method: The determinant formula generalizes to any polygon. For triangles, it reduces to half the absolute value of the cross product. This method is exact for any real coordinates, even negative or fractional.
A farmer measures three sides of a field: 120 m, 150 m, and 200 m. Using side-length mode, the area is computed via Heron's formula: s = 235 m, area = √[235×(115)×(85)×(35)] ≈ 8966 m². The calculator also determines the triangle is obtuse (200² > 120²+150²). This helps in planning materials and cost estimation.
The shoelace formula is credited to the Swiss mathematician Albrecht Ludwig Friedrich Meister (1724–1788). Heron's formula predates modern algebra and remains a cornerstone of Euclidean geometry. This tool references peer-reviewed sources: MathWorld, Encyclopedia of Mathematics, and the classic Geometry Revisited by Coxeter & Greitzer. Every calculation is deterministic, using double-precision floating point (IEEE 754).
| Triangle Type | Side Lengths (a,b,c) | Area (sq units) | Perimeter | Classification |
|---|---|---|---|---|
| Right (3-4-5) | 3, 4, 5 | 6.00 | 12.00 | Right |
| Equilateral | 7, 7, 7 | 21.22 | 21.00 | Acute |
| Isosceles Acute | 5, 5, 6 | 12.00 | 16.00 | Acute |
| Obtuse Scalene | 6, 6, 10 | 16.58 | 22.00 | Obtuse |
| Right (5-12-13) | 5, 12, 13 | 30.00 | 30.00 | Right |