Sub topic 3
Triangles: Area Formulas and Heron's Formula
This chapter assumes you know the Pythagorean theorem, can simplify square roots, and can substitute values into a formula. You should also be comfortable with the rectangle area from the previous chapter. Triangle area appears in CAT questions on its own and as a building block for polygons, sectors, pyramids and inscribed figures. Choosing the right formula for the data you are given is most of the skill.
The base-height formula
Every triangle has area
Area = (1/2) × base × height
The height is the perpendicular distance from the base to the opposite vertex. It is not the length of a slanted side, unless that side is perpendicular to the base. Any side can serve as the base, as long as you pair it with the height measured to that side. This gives a useful identity: for one triangle, base₁ × height₁ = base₂ × height₂.
The formula works because two copies of a triangle fit together into a parallelogram, or into a rectangle when the triangle is right-angled. That rectangle has area base × height, so one triangle has half of it.
Two consequences matter in CAT questions:
- Triangles with the same base and the same height have equal area. Moving the apex along a line parallel to the base does not change the area.
- If two triangles share a height, their areas are in the ratio of their bases. A median splits a triangle into two triangles of equal area for this reason.
Right-angled triangles
In a right-angled triangle the two legs are perpendicular, so one leg is the base and the other is the height.
Area = (1/2) × leg₁ × leg₂
If you are given the hypotenuse and one leg, find the other leg with the Pythagorean theorem first. Memorise the common triples: 3-4-5, 5-12-13, 8-15-17, 7-24-25 and their multiples. Spotting them saves a square root.
Equilateral triangles
For an equilateral triangle of side a, the height splits the base into two halves of length a/2. The Pythagorean theorem gives the height:
height = √(a² − (a/2)²) = (√3/2)·a
Substituting into the base-height formula gives
Area = (√3/4) × a²
The perimeter is 3a. Two other results are worth remembering. The height is (√3/2)a, and the area equals (√3/4)a² only when all three sides are equal. If the area is given, you can recover the side by solving a² = 4 × Area / √3.
Heron's formula
When you know all three sides but no height, use Heron's formula. Let the sides be a, b and c, and let s be the semi-perimeter:
s = (a + b + c) / 2
Area = √( s(s − a)(s − b)(s − c) )
Take the 13-14-15 triangle. Here s = 21, so the area is √(21 × 8 × 7 × 6) = √7056 = 84. The code below checks it.
import math
def heron_area(a, b, c):
s = (a + b + c) / 2
return math.sqrt(s * (s - a) * (s - b) * (s - c))
print(heron_area(13, 14, 15)) # 84.0Because the area is 84 and the base is 14, the height to that base is 2 × 84 / 14 = 12. This is a good example of using Heron's formula first and base-height second.
Checking that three lengths form a triangle
Heron's formula needs a valid triangle. If one side is at least as long as the sum of the other two, one of the factors (s − a), (s − b) or (s − c) is zero or negative. The area is then zero or the square root is undefined. Sides 3, 4, 8 fail this test, because 3 + 4 < 8.
The inradius formula
The incircle is the largest circle that fits inside the triangle and touches all three sides. Its radius r is the inradius. Join the incentre to the three vertices. This splits the triangle into three smaller triangles, each with height r and one of the original sides as its base. Adding their areas gives
Area = (1/2) × r × (a + b + c) = r × s
So r = Area / s. For the 13-14-15 triangle, r = 84 / 21 = 4. For a right-angled triangle with legs p, q and hypotenuse h, this simplifies to r = (p + q − h) / 2. In a 3-4-5 triangle, r = (3 + 4 − 5)/2 = 1.
The circumradius R is the radius of the circle through all three vertices. It satisfies R = abc / (4 × Area). For a right-angled triangle, R is half the hypotenuse. For an equilateral triangle, r = a/(2√3) and R = a/√3, so R = 2r.
The two-sides-and-angle form
If you know two sides and the angle between them, the area is (1/2) × a × b × sin C. Two special cases are common. At C = 90°, sin C = 1, which gives the right-angle formula. At C = 30°, sin C = 1/2, so Area = (1/4)ab. This form is also useful in sector and polygon problems later in this tutorial.
Summary table
| Given | Formula | Example |
|---|---|---|
| Base b, height h | (1/2) b h | b = 10, h = 6 gives 30 |
| Legs p, q (right angle) | (1/2) p q | 6, 8 gives 24 |
| Side a (equilateral) | (√3/4) a² | a = 4 gives 4√3 |
| Sides a, b, c | √(s(s−a)(s−b)(s−c)) | 13, 14, 15 gives 84 |
| Inradius r, semi-perimeter s | r s | r = 4, s = 21 gives 84 |
| Sides a, b, angle C | (1/2) a b sin C | 6, 8, 30° gives 12 |
Common errors
- Using a slanted side as the height. In a non-right triangle, the height is a perpendicular drawn to the base. A side is not the height.
- Forgetting the one-half. Base × height gives a parallelogram, not a triangle.
- Using s as the full perimeter in Heron's formula. It is half the perimeter.
- Applying the equilateral formula to an isosceles triangle. It holds only when all three sides are equal.
- Mixing units. If the sides are in cm and the answer must be in m², convert with the squared factor. The first chapter covers this.
A worked isosceles example
An isosceles triangle has equal sides of 10 and a base of 12. The height onto the base splits it into two right triangles with a base of 6 and a hypotenuse of 10. The height is √(100 − 36) = 8. The area is (1/2) × 12 × 8 = 48. Heron's formula agrees: s = 16, and √(16 × 6 × 6 × 4) = √2304 = 48.
Exercise
A triangle has sides 17, 25 and 26. Find its area, its inradius, and the height onto the side of length 26.
Show answer
The semi-perimeter is s = (17 + 25 + 26)/2 = 34. The area is √(34 × 17 × 9 × 8) = √(34 × 17 × 72) = √41616 = 204. The inradius is r = 204/34 = 6. The height onto the side of 26 is 2 × 204 / 26 = 408/26 = 204/13, which is about 15.69.
Exercise
An equilateral triangle has an area of 36√3 square units. Find its side and its perimeter.
Show answer
Set (√3/4)a² = 36√3. Then a² = 144, so a = 12. The perimeter is 3 × 12 = 36 units.