Understanding the triangle area calculator — concept and principle
The area of a triangle is the amount of flat surface it covers. This calculator uses the most basic rule, half of base times height, which works for every triangle: acute, right or obtuse. It is also the building block for any polygon, since every polygon can be cut into triangles.
How it is calculated
Area = ½ × b × h
- b (base): any one side of the triangle, chosen as the bottom.
- h (height): the perpendicular distance from the opposite vertex to the line containing the base. It is not the length of a slanted side.
Use the same unit for both. If b and h are in metres, the area is in square metres (m²); in centimetres, the area is in cm². Doubling the base or the height doubles the area; doubling both multiplies it by four.
The principle
Take two identical copies of the triangle and place them together so they form a parallelogram with the same base and height. A parallelogram can be rearranged into a rectangle of area b × h by cutting off a triangle from one end and moving it to the other, so each triangle is exactly half: ½bh. This is why any of the three sides can serve as the base, as long as you pair it with its own height. Because the height is measured perpendicular to the base, sliding the top vertex parallel to the base does not change the area at all; all triangles with the same base between the same two parallel lines have equal area.
Worked example
- Inputs: base b = 10, height h = 6.
- Multiply: b × h = 10 × 6 = 60 (the area of the surrounding rectangle or parallelogram).
- Take half: 60 ÷ 2 = 30.
| Base | Area |
|---|---|
| 2.5 | 7.5 |
| 5 | 15 |
| 7.5 | 22.5 |
| 10 | 30 |
| 12.5 | 37.5 |
| 15 | 45 |
| 20 | 60 |
How to read the result
The result is always half of the rectangle b × h that encloses the triangle, so it is a quick plausibility check: a triangle with base 10 and height 6 can never have an area above 60 or equal to it. For an obtuse triangle the height may fall outside the triangle, on the extension of the base, but the formula still holds. When you need to convert units, remember that areas scale with the square: 1 m² = 10,000 cm².
Common mistakes
- Using a slanted side length instead of the perpendicular height.
- Forgetting the ½ and reporting the rectangle area.
- Mixing units, such as a base in metres and a height in centimetres.
Frequently asked questions
How do I find the area if I only know the three sides?
Use Heron’s formula: with s = (a + b + c) ÷ 2, the area is √(s(s − a)(s − b)(s − c)).
How do I find the area from two sides and the angle between them?
Area = ½ab sin C. For a = 5, b = 8 and C = 30°, the area is ½ × 5 × 8 × 0.5 = 10.
What if I know the coordinates of the three vertices?
Use the coordinate formula Area = ½|x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|, which is the shoelace formula for three points.
Sources: Euclid, Elements, Book I, Proposition 41 (a triangle is half a parallelogram with the same base and between the same parallels) · Heron of Alexandria, Metrica, Book I (Heron’s formula)