Triangle Area Calculator
Calculate the exact area of any triangle using base and height ($A = \frac12bh$), Heron's formula for 3 sides, side-angle-side (SAS) trigonometry, or coordinate vertices with an interactive 2D geometry canvas.
Enter Base and Height
Step-by-Step Area Calculation Derivation
How to Calculate the Area of a Triangle
The area of a triangle can be calculated using several methods depending on available measurements: 1. Base and Height: Area = ½ × base × height. 2. Three Sides (SSS): Area = √[s(s − a)(s − b)(s − c)] where s = (a + b + c)/2. 3. Side-Angle-Side (SAS): Area = ½ · a · b · sin(γ). 4. Equilateral: Area = (√3 / 4) · s².
The Base-Height Formula (A = ½bh) & Parallelogram Halving Proof
The most universally taught area formula calculates the enclosed two-dimensional space of any planar triangle given a known base length $b$ and its corresponding perpendicular altitude (height) $h$:
Geometric Proof: Duplicating any arbitrary triangle and rotating the copy 180° forms a complete parallelogram of base b and height h. Since the area of the parallelogram is Area = b × h, each individual triangle holds precisely half that area (½bh).
Heron’s Formula for Three Known Sides (SSS)
When the perpendicular height is unknown but all three side lengths ($a, b, c$) are measured, Heron of Alexandria’s Formula (c. 60 CE) calculates area directly via the semi-perimeter $s$:
Triangle Inequality Rule: Heron’s radical is strictly positive if and only if the side lengths satisfy the triangle inequalities (a + b > c, a + c > b, and b + c > a). If a + b = c, the three points are collinear (degenerate triangle of area 0).
Trigonometric Area Formulas (SAS & Equilateral)
Since perpendicular height h = b · sin(γ), substituting into ½ah yields the trigonometric area.
Derived from SAS with a = b = s and interior angle γ = 60° (where sin 60° = √3 / 2).
Coordinate Geometry & Shoelace Determinant
For triangles plotted on a 2D Cartesian coordinate plane with vertices $A(x_1, y_1)$, $B(x_2, y_2)$, and $C(x_3, y_3)$, Gauss's Shoelace Formula computes the area from the matrix determinant:
The absolute value bars ensure a positive area result regardless of whether vertices are traversed clockwise or counter-clockwise.
Real-World Applications of Triangle Area
Land Surveying & Triangulation
Geodetic surveyors decompose irregular real estate plots into adjacent triangular parcels to calculate exact total land acreages using Heron's formula.
Architecture & Roof Truss Sizing
Roofing contractors and structural engineers compute triangular gable areas to determine required plywood decking, shingles, and insulation volumes.
Computer Graphics (Polygon Meshes)
3D game engines render complex surfaces as collections of triangular planar polygons (triangulation meshes), computing rasterized surface areas for lighting shaders.
Step-by-Step Worked Numerical Solutions
Problem: Find the area of a triangle with side lengths a = 7, b = 8, c = 9.
Common Pitfalls & Altitude Mistakes
Using Slant Side as Height
The height h must be perpendicular (forming a 90° angle) to the base. Using the slant side length produces an incorrect, inflated area.
Degrees vs. Radians in SAS
When using the SAS formula ½ab sin(γ), ensure your calculator angle mode is set to degrees (not radians).
Violating Triangle Inequalities
If three lengths cannot physically meet (e.g. sides 2, 3, 10 where 2 + 3 < 10), Heron's formula encounters a negative square root.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.