Triangle Area Calculator

Find a triangle's area from its base and height, from three sides, or from two sides and the angle between them.

Enter your numbers

What do you know?

Area

20 square units

A = ½ × b × h = ½ × 8 × 5 = 20

The height is the straight-line distance from the base to the opposite corner, measured at a right angle to the base.

How to use the triangle area calculator

  1. Under What do you know?, pick Base and height, Three sides or Two sides and angle.
  2. Optionally pick a Unit of length. With No unit you get plain numbers and the words "square units".
  3. Type your numbers: Base (b) and Height (h); or Side a, Side b and Side c; or Side a, Side b and Angle C between them in degrees.
  4. Read the Area and the working. Three sides, and two sides with an angle, also show the perimeter, angles and triangle type.

The formulas

Worked example

The calculator opens on Base and height with b = 8 and h = 5, so A = ½ × 8 × 5 = 20 square units. Three sides starts at 3, 4 and 5: s = 6 and A = √(6 × 3 × 2 × 1) = √36 = 6, a right scalene triangle with angles 36.8699°, 53.1301° and 90°. Two sides and angle starts at 5, 7 and 60°: A = ½ × 5 × 7 × 0.866025 = 15.1554.

Limits and edge cases

Triangle area FAQ

How do I find the area of a triangle with only three sides?

Use Heron's formula: halve the perimeter to get s, then A = √(s(s − a)(s − b)(s − c)). Sides of 7, 8 and 9 give s = 12 and A = √(12 × 5 × 4 × 3) = √720 = 26.8328.

How do I find the area of a triangle with two sides and an angle?

Multiply the two sides, multiply by the sine of the angle between them, and halve it: A = ½ × a × b × sin(C). Sides of 5 and 7 with a 60° angle give 15.1554. The angle must sit between those two sides.

What is the area of a right triangle?

Half the product of the two legs, since one leg is the base and the other is the height. Legs of 3 and 4 give ½ × 3 × 4 = 6. The hypotenuse is not used.

Does the height have to be at a right angle to the base?

Yes. The height is the perpendicular distance from the base to the opposite corner, not the length of a slanted side. In an obtuse triangle it falls outside the triangle, but A = ½ × b × h still works.

Why does the calculator say my sides cannot make a triangle?

The longest side must be shorter than the other two added together. Sides of 3, 4 and 10 fail because 3 + 4 = 7 is less than 10, and sides of 2, 3 and 5 only lie flat because 2 + 3 = 5.

Sources: Wolfram MathWorld, Triangle Area; Wolfram MathWorld, Heron's Formula; W. Kahan, Miscalculating Area and Angles of a Needle-like Triangle.