Introduction 🎉

Welcome to Calculate Area of Triangles! In the first lesson, you learned how to calculate the area of rectangles and squares by multiplying their dimensions. This lesson focuses on finding the area of triangles. You will now use what you know about rectangles to understand why a triangle’s area is half of a related rectangle’s area.

By the end of this lesson, you have learned how to:

  • Identify the base and matching perpendicular height of a triangle.
  • Explain why the area of a triangle is half the area of a rectangle with the same base and height.
  • Calculate the area of right, acute, and obtuse triangles using A=12bhA = \frac{1}{2}bh.
  • Write triangle area answers with correct square units, including when dimensions are decimals.

Before introducing a new formula, let's build some intuition using what you already know. Imagine taking a rectangle and drawing a straight line from one corner to the opposite corner. That diagonal splits the rectangle into two triangles of equal size. Each triangle covers exactly half of the rectangle's surface.

Rectangle divided by a diagonal into two equal triangles, each labeled as half the rectangle's area

This simple picture is the starting point for why the triangle area formula works the way it does. Since a rectangle's area is l×wl \times w, each triangle that results from the diagonal cut must have an area of 12×l×w\frac{1}{2} \times l \times w. The rectangle’s length and width become the triangle’s base and height, so the same two measurements are still important. While this specific diagonal cut forms a right triangle, any acute or obtuse triangle can also be enclosed in or rearranged into a related rectangle or parallelogram. In every case, the triangle uses exactly half of that related area. Keep this "half of a rectangle" image in your mind — it is the key insight for everything that follows.

📐 Identifying the Base and Perpendicular Height

To calculate a triangle's area, you need two measurements: the base and the height. Let's be precise about what each one means.

  • The base (bb) is any side of the triangle we choose to measure from. All three sides can serve as a base.
  • The height (hh) is the perpendicular distance from the chosen base to the opposite vertex (the corner across from it). Perpendicular means the height meets the base at a 90°90° angle, forming a square corner like the corner of a piece of paper or a book. This angle shows that the height goes straight away from the base, not along a slanted side.

A very common mistake is treating one of the triangle's slanted sides as the height. Unless that side meets the base at exactly 90°90°, it is not the height. Always look for the small square symbol that marks this angle. That symbol confirms where the true perpendicular height is. In some triangles the height line falls inside the shape, and in others it extends outside, but it always forms that angle with the base.

🧮 The Triangle Area Formula

With the base and perpendicular height identified, the formula follows directly from the rectangle connection you explored:

Area of a triangle=12×b×h\text{Area of a triangle} = \frac{1}{2} \times b \times h

Here, bb is the length of the base and is the perpendicular height to that base. The is there because any triangle can be enclosed by or rearranged into a rectangle that shares the same base and height, and the triangle will fill exactly half of it. And just as with rectangles, area is always expressed in (, , , etc.) because you are measuring surface coverage.

🖋️ Applying the Formula with Decimals

Real-world measurements rarely come out to whole numbers, but the triangle area formula handles decimals without any extra steps.

Suppose you are calculating the area of a triangular garden bed with a base of 5.4m5.4\,\text{m} and a perpendicular height of 3.2m3.2\,\text{m}:

Area=12×5.4×3.2=12×17.28=8.64m2\text{Area} = \frac{1}{2} \times 5.4 \times 3.2 = \frac{1}{2} \times 17.28 = 8.64\,\text{m}^2
🛑 Common Mistakes to Watch For

Here are a few pitfalls to keep in mind as you practice with triangles:

  • Using a slanted side as the height. The height must be perpendicular to the base. A slanted side will give the wrong answer unless it happens to meet the base at exactly 90°90°.
  • Forgetting the 12\frac{1}{2} factor. Without it, you are calculating the area of the full rectangle, not the triangle. If your answer seems too large, check whether you included the half.
  • Dropping the square units. Your area answer needs a squared label (e.g., m2\text{m}^2, not ) to clearly show you are measuring surface coverage, not length.
Conclusion and Next Steps

The area of any triangle is 12×b×h\frac{1}{2} \times b \times h, and this single formula works for right, acute, and obtuse triangles alike. The critical step is always pairing the correct base with its matching perpendicular height — the one that meets the base at a 90°90° angle — and expressing the result in . The process stays the same whether you are working with whole numbers or decimals.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal