Triangle Area Calculator
Test cases replayed : 5 of 5 match · Methodology · No outside source listed
Choose what you know about the triangle and enter the values in one length unit.
Result
Area (square units)
Perimeter (three sides and SAS)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- You know: choose Base and height, Three sides (Heron) or Two sides and the angle between them.
- Base, or side a: enter 0 or more.
- Height to that base, or side b (same unit): enter 0 or more.
- Side c (three sides), or the angle between a and b in degrees (SAS): enter 0 or more.
- Read the result: Area (square units); the panel also shows Perimeter (three sides and SAS).
How this calculator works
Base and height: area = ½ × base × height, where the height is measured at a right angle from the base to the opposite corner.
Three sides: Heron's formula, area = √(s(s − a)(s − b)(s − c)) with s = (a + b + c)/2, written here in the equivalent form ¼√((a + b + c)(−a + b + c)(a − b + c)(a + b − c)). If the sides break the triangle inequality, no triangle exists and the area shows —.
Two sides and the included angle C: area = ½ab sin C. The perimeter then uses the third side from the law of cosines, c = √(a² + b² − 2ab cos C).
Worked example
| You know | Base and height |
|---|---|
| Base, or side a | 8 |
| Height to that base, or side b (same unit) | 5 |
| Side c (three sides), or the angle between a and b in degrees (SAS) | 7 |
| Area (square units) | 20 |
|---|
Frequently asked questions
What is the area of a triangle with base 8 and height 5?
½ × 8 × 5 = 20 square units.
What is the area of a 3-4-5 triangle?
Heron's formula gives 6 square units, the same as ½ × 3 × 4 for this right triangle.
What is the area with sides 8 and 5 and a 30° angle between them?
½ × 8 × 5 × sin 30° = 10 square units.