Basic level

Area and perimeter of a triangle

The area of a triangle is half the product of a base and its height: A = ½ · a · h. See where the half comes from, which height goes with which side, how to work out the perimeter, and why the right triangle is the easiest case of all.

Before you start

This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:

All formulas

  • Area of a triangle

    A=12ahA = \frac{1}{2} \cdot a \cdot h

    a is the base, h is the height dropped onto that base

  • Perimeter of a triangle

    P=a+b+cP = a + b + c

    the sum of the three side lengths

  • Area of a right triangle

    A=12abA = \frac{1}{2} \cdot a \cdot b

    the legs are each other’s base and height

  • Height from the area

    h=2Aah = \frac{2A}{a}

    the area formula, the other way round

  • The triangle inequality

    ab<c<a+b|a - b| < c < a + b

    not every three segments make a triangle

The area of a triangle is worked out almost exactly like the area of a rectangle — you just halve the result at the end. Where that half comes from is clearest once you draw the triangle's missing other half.

ah
The diagonal cuts the rectangle into two identical triangles. Each one has half its area.

A rectangle with sides aa and hh has area aha \cdot h. The diagonal cuts it into two congruent triangles — one is the other rotated — so their areas are equal. Hence:

A=12ahA = \frac{1}{2} \cdot a \cdot h

The letter aa is the base, the side the triangle "stands on", and hh is the height dropped onto that base — the perpendicular segment from the opposite vertex.

ha
A triangle with base a and height h. The little square at the foot of the height marks the right angle.

Example: base 8 cm, height 5 cm

Find the area of a triangle with a base of 8 cm and a height of 5 cm.

The height is not "the other side"

This is the most common mistake in the topic. The height has to be perpendicular to the base — in an obtuse triangle it can even fall outside the figure, and the formula still takes its length, not the length of a side.

A triangle has three bases and three matching heights. All three pairs give the same answer, so use the pair you actually know:

A=12aha=12bhb=12chcA = \frac{1}{2} a h_a = \frac{1}{2} b h_b = \frac{1}{2} c h_c

The right triangle: the easiest case

In a right triangle the two legs are already perpendicular to each other. One of them is the base and the other is a ready-made height, with nothing to draw in.

abc
A right triangle: the legs a and b are each other’s base and height, c is the hypotenuse.
A=12abA = \frac{1}{2} \cdot a \cdot b

For legs of 3cm3\,\text{cm} and 4cm4\,\text{cm} the area is 1234=6cm2\tfrac{1}{2} \cdot 3 \cdot 4 = 6\,\text{cm}^2. The hypotenuse takes no part in it — its moment comes with the Pythagorean theorem.

Perimeter: simply the sum of the sides

The perimeter is the length of the line all the way round the triangle, so we add the three sides:

P=a+b+cP = a + b + c
Find the perimeter of a triangle with sides of 5 cm, 6 cm and 7 cm.

Not every three segments make a triangle. The triangle inequality has to hold: each side is shorter than the sum of the other two.

ab<c<a+b|a - b| < c < a + b

Sticks of length 22, 33 and 99 will never form one — the two shorter ones simply do not meet.

Units: square for area, linear for perimeter

An area comes from multiplying two lengths, so we measure it in cm2\text{cm}^2 and m2\text{m}^2; a perimeter comes from adding lengths, so it stays in cm\text{cm} and m\text{m}. When converting units of area, the length factor is squared1m2=10,000cm21\,\text{m}^2 = 10{,}000\,\text{cm}^2 — and if you need actual values converted, our area converter will do it.

Before you compute anything, check one more thing: every measurement has to be in the same unit. A triangle with a base of 1m1\,\text{m} and a height of 40cm40\,\text{cm} can only be worked out once they match — 100cm×40cm100\,\text{cm} \times 40\,\text{cm} gives A=2000cm2A = 2000\,\text{cm}^2.

Exercises

Type the answer together with its unit, e.g. 20 cm² or 18 cm.

Practice

Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.

Exercise 1 of 8Score: 0
Area of a triangle: a = 12 cm, h = 2 cm

Common mistakes

  • Forgetting the halfaha \cdot h is the area of a rectangle; a triangle has half of that.
  • Confusing the height with a side — the height is perpendicular to the base; a side usually is not.
  • Pairing a height with the wrong basehah_a goes with aa, hbh_b with bb; the pair has to match.
  • Area instead of perimeter (and back) — areas are multiplied and written in cm2\text{cm}^2, perimeters are added and written in cm\text{cm}.
  • Using the hypotenuse in the area of a right triangle — you multiply the two legs.
  • A triangle that does not exist — check the triangle inequality before you start.

Formula card

Topic: Area and perimeter of a triangle

  • Area of a triangle

    A=12ahA = \frac{1}{2} \cdot a \cdot h

    a is the base, h is the height dropped onto that base

  • Perimeter of a triangle

    P=a+b+cP = a + b + c

    the sum of the three side lengths

  • Area of a right triangle

    A=12abA = \frac{1}{2} \cdot a \cdot b

    the legs are each other’s base and height

  • Height from the area

    h=2Aah = \frac{2A}{a}

    the area formula, the other way round

  • The triangle inequality

    ab<c<a+b|a - b| < c < a + b

    not every three segments make a triangle

ha
A triangle with base a and height h. The height is perpendicular to the base — hence the right-angle mark at its foot.

Frequently asked questions

Related articles