Calculate triangle area using base & height, Heron's formula, or two sides and an angle.
The base-and-height formula (½ × b × h) is the simplest but requires knowing the perpendicular height — the distance from the base to the opposite vertex measured at a right angle. This height is sometimes called the altitude, and it is not the same as the length of a slanted side.
Heron's formula is elegant because it only needs the three side lengths — no angles, no heights. Given sides a, b, and c, compute the semi-perimeter s = (a+b+c)/2, then area = √(s(s-a)(s-b)(s-c)). It works for any triangle and is particularly useful in surveying and construction where side lengths are easier to measure than heights.
The SAS (Side-Angle-Side) formula uses two sides and the included angle: A = ½ × a × b × sin(C). This is powerful in navigation, physics, and engineering where angles are measured directly. All three formulas give identical results for the same triangle — choose based on what information you have.
Not every combination of three lengths can form a triangle. The triangle inequality requires that each side must be strictly less than the sum of the other two sides. Sides 3, 4, 8 cannot form a triangle because 3 + 4 = 7 < 8. If you enter three sides that violate this rule, Heron's formula will attempt to take the square root of a negative number — which signals an invalid triangle.
This rule has a useful geometric interpretation: if you try to construct a triangle where one side is longer than the combined length of the other two, the shorter sides simply cannot reach each other to close the triangle.