Area of a Triangle: Formulas for Every Type (With Examples)
Triangles come up in roofs, gables, garden beds, sails and maths homework. The basic formula works for every triangle, as long as you know the base and the height.
Quick answer
Area = ½ × base × height
The height is measured at right angles to the base, not along a sloping side. Example: base 10 cm, height 6 cm → ½ × 10 × 6 = 30 cm².
Formulas for different triangles
| Triangle | Formula | Example | Area |
|---|---|---|---|
| Any (base and height known) | ½ × b × h | b 12, h 5 | 30 |
| Right triangle | ½ × leg × leg | legs 6 and 8 | 24 |
| Equilateral (side s) | (√3 ÷ 4) × s² | s = 10 | 43.30 |
| Three sides known (Heron) | √(s(s−a)(s−b)(s−c)) | 7, 8, 9 | 26.83 |
| Two sides and the angle between | ½ × a × b × sin C | 5, 7, angle 30° | 8.75 |
Heron’s formula, step by step
When you know all three sides but not the height, use Heron’s formula. For sides 7, 8 and 9:
- First, find the semi-perimeter: s = (7 + 8 + 9) ÷ 2 = 12.
- Then multiply: 12 × (12 − 7) × (12 − 8) × (12 − 9) = 12 × 5 × 4 × 3 = 720.
- Finally, take the square root: √720 ≈ 26.83.
Finding the height
In a right triangle, the two legs are the base and height. In other triangles you may need the Pythagorean theorem: an isosceles triangle with sides 10, 10 and base 12 has height √(10² − 6²) = 8, so its area is ½ × 12 × 8 = 48. See the Pythagorean theorem.
Real-world example: a gable wall
A gable end 24 ft wide and 8 ft tall at the peak has an area of ½ × 24 × 8 = 96 sq ft. Add it to the rectangular wall area below when estimating siding or paint; see how to calculate square footage.
Frequently asked questions
What is the formula for the area of a triangle?
½ × base × height.
How do I find the area with three sides?
Use Heron’s formula: √(s(s−a)(s−b)(s−c)), where s is half the perimeter.
What is the area of a right triangle with legs 3 and 4?
6.
Does the height have to be inside the triangle?
No. For obtuse triangles, the height can fall outside, measured to the extended base.
