Triangle Area Calculator

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.

Step 1: Choose Your Method

Base × Height

When you know the base and perpendicular height

Three Sides (Heron's Formula)

When you know all three side lengths

Two Sides and Angle (SAS)

When you know two sides and the angle between them

Results

Select a method and enter values to calculate

Understanding Triangle Area Calculations

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.

Method 1: Base × Height

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

Method 2: Heron's Formula (Three Sides)

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

Method 3: SAS Trigonometric Formula

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

Real-World Applications

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.

Common Mistakes to Avoid

  • Forgetting the ½ factor: The base×height formula requires multiplying by ½ (or dividing by 2). This is because the triangle is half of a parallelogram with the same base and height. Forgetting this factor will give you double the correct area.
  • Using slant height instead of perpendicular height: The height must be perpendicular to the base. Using a slanted measurement along one of the triangle's sides will produce incorrect results. This is a common error with non-right triangles.
  • Violating triangle inequality with Heron's formula: Before using Heron's formula, verify that the three sides can actually form a triangle (sum of any two sides must exceed the third side). Invalid inputs will produce nonsensical results or mathematical errors.
  • Degrees vs. radians in trigonometric calculations: When using the SAS formula, ensure your calculator is in degree mode if your angle is in degrees (or convert to radians first). This is one of the most common sources of error in trigonometric calculations.
  • Unit inconsistency: All length measurements must use the same units. If base is in meters and height is in feet, you must convert to a common unit. The resulting area will be in square units of whatever measurement system you used.

Related Tools

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.

Frequently Asked Questions

Which method should I use to calculate triangle area?

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.

Do all three methods give the same result?

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.

Why does my triangle area calculation show an error?

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.

What units should I use?

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.

Can this calculator handle right triangles?

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.

How accurate is Heron's formula for very flat triangles?

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.

Learn More About Trigonometry

View all articles

Deepen your understanding of triangles and trigonometry with our guides and tutorials:

Formulas and results last reviewed . How we check accuracy · Corrections log · Report an error

Related Calculators

All calculators