Triangle Area Formulas: Heron's Formula & 5 Other Methods
Triangle area formula: A = ½ × base × height. Without the height, use Heron's formula for three sides, ½ab sin C or vertex coordinates. Worked examples.
Calculate triangle area using three different methods: base×height, Heron's formula, or SAS trigonometric formula. Choose the method based on what information you have available.
When you know the base and perpendicular height
When you know all three side lengths
When you know two sides and the angle between them
Select a method and enter values to calculate
Area
-
Method Used
-
Perimeter
-
The area of a triangle is the flat space enclosed by its three sides, measured in square units. Which formula to use depends on what you know about the triangle. The calculator supports three methods: base and height, three sides, or two sides and the angle between them.
The most intuitive method for calculating triangle area is the classic base times height formula: Area = ½ × base × height. This method requires knowing the length of any side (the base) and the perpendicular distance from that side to the opposite vertex (the height). This formula works for all triangle types—acute, obtuse, and right triangles.
For right triangles this is the easiest method, because the two legs are already perpendicular and serve as base and height. However, for other triangle types, finding the height may require additional calculations or measurements. The height is also called the altitude, and every triangle has three different altitudes, one from each vertex perpendicular to the opposite side (or side extension for obtuse triangles).
Formula:
Area = ½ × base × height
Where height is measured perpendicular to the base
Heron's formula, named after Hero (Heron) of Alexandria, who gave a proof of it in the 1st century AD, calculates triangle area when all three side lengths are known. It needs no angles or heights, which suits surveying and construction, where distances are easier to measure than angles. The formula first calculates the semi-perimeter (half the perimeter), then uses it in a square root expression. For worked examples, see Heron's Formula at Math is Fun.
If the three sides are a, b, and c, first find s = (a + b + c)/2, then Area = √[s(s-a)(s-b)(s-c)]. Math Open Reference has an interactive Heron's formula demonstration that shows how the area changes as the side lengths change.
Heron's Formula:
s = (a + b + c) / 2
Area = √[s(s-a)(s-b)(s-c)]
Where s is the semi-perimeter and a, b, c are the three sides
When you know two sides and the angle between them (SAS - Side-Angle-Side), the trigonometric formula Area = ½ × a × b × sin(C) gives the area directly. It is base × height in another form: if a is the base, the height measured from it is b × sin(C), so ½ × a × (b × sin(C)) is the familiar half base times height.
It needs two sides and the angle between them, so you never have to find the height separately. The same product of two lengths and a sine appears in physics as the magnitude of a cross product, for example torque: τ = r × F × sin(θ). The formula works for any included angle between 0° and 180°, so it covers acute, right, and obtuse triangles.
SAS Trigonometric Formula:
Area = ½ × a × b × sin(C)
Where a and b are two sides, and C is the angle between them
Construction and Architecture: Calculating land areas, roof surfaces, and triangular structural elements. Architects use area calculations to estimate materials needed, compute costs, and ensure structural loads are properly distributed. Triangular trusses and support structures are fundamental to building design.
Surveying and Land Management: Surveyors divide irregular land parcels into triangles to calculate total areas. This triangulation method has been used for centuries and remains relevant in modern GPS-based surveying. Triangle area calculations help determine property values, plan developments, and resolve boundary disputes.
Computer Graphics and Gaming: Every 3D model is composed of thousands or millions of triangular polygons. Calculating triangle areas helps determine surface properties, lighting calculations, collision detection, and rendering optimizations. Game engines constantly perform these calculations in real-time for realistic graphics.
Physics and Engineering: Triangle areas appear in stress analysis, moment of inertia calculations, center of mass determinations, and vector cross products. Engineers use these calculations when analyzing forces, designing mechanical systems, and modeling physical phenomena.
The Heron's formula calculator shows each step of the three-sides method. If you have the area and need the height, use the triangle height calculator. Every triangle area formula, including the one for corner coordinates, is written out with examples in the guide.
Use base×height if you know the base and perpendicular height (simplest method). Use Heron's formula if you know all three sides but no angles or heights. Use the SAS trigonometric formula if you know two sides and the angle between them. Choose based on what information is available.
Yes, for the same triangle, all three methods produce the same area (within rounding errors). They're just different approaches based on available information. You can verify this by calculating the same triangle using multiple methods—the results should match.
Common causes include: three sides that don't satisfy the triangle inequality (sum of two sides must exceed the third), negative values, angles ≥180°, or providing incomplete information. The calculator validates inputs to ensure only geometrically valid triangles are calculated.
Use any consistent unit (meters, feet, centimeters, etc.) for all length inputs. The result will be in square units of whatever measurement you used. For example, if you enter sides in meters, the area will be in square meters (m²). Mixed units will produce incorrect results.
Yes. All three methods work for right triangles. The base × height method is the quickest, because the two legs are already the base and the height. Right triangles are a special case that all these formulas handle correctly.
Heron's formula can have numerical instability with very flat or needle-like triangles due to subtracting nearly equal large numbers. For triangles where one side is nearly equal to the sum of the other two, alternative formulations or the SAS method may provide better numerical accuracy.
Deepen your understanding of triangles and trigonometry with our guides and tutorials:
Triangle area formula: A = ½ × base × height. Without the height, use Heron's formula for three sides, ½ab sin C or vertex coordinates. Worked examples.
Perpendicular lines and area: the height in ½ × base × height must meet the base at 90°. Why, how to find it in any triangle, and measuring examples.
How to find missing angles in a right triangle: subtract the known angle from 90°, or apply inverse sin, cos or tan to two sides. Legs 6 and 8 give 36.87°.
3D geometry from right triangles: 3D distance is √(Δx² + Δy² + Δz²) and a box diagonal is √(l² + w² + h²), plus direction angles and vectors.
The Law of Cosines, c² = a² + b² - 2ab·cos(C), solves non-right triangles from SAS or SSS. Worked examples for sides and angles, plus navigation problems.
Pythagorean triples are right triangles with whole-number sides, like 3-4-5 and 5-12-13. A list of common triples, Euclid's formula, scaling and patterns.
Formulas and results last reviewed . How we check accuracy · Corrections log · Report an error