Article
Area of a Triangle: Formula and Worked Examples
You can find the area of a triangle with A = ½ · a · h, where a is the base and h is the height dropped onto that base. Below you will find an explanation of where the one half comes from, four worked examples and tips for what to do when you do not know the height. You can test your own dimensions in the triangle area calculator.
Last updated:
When you know all three sides, use Heron’s formula. For an equilateral triangle there is a dedicated calculator.
The formula for the area of a triangle
The area of a triangle equals half the product of the base and the height dropped onto that base. Any side can serve as the base, but the height must be perpendicular to it and reach the opposite vertex.
A = ½ · a · h
example: a = 10, h = 6 → A = ½ · 10 · 6 = 30
| Base a | Height h | Area A |
|---|---|---|
| 10 | 6 | 30 |
| 8 | 5 | 20 |
| 20 | 5 | 50 |
| 4 | 3 | 6 |
| 7.5 | 4 | 15 |
The height h is not the length of a slanted side. It is the distance from the vertex to the line containing the base, measured at a right angle.
Try it with an example
Example: a triangle with base 12 and height 7. Both values are already stored in the link to the calculator.
- Base a
- 12
- Height h
- 7
- Result
- A = ½ · 12 · 7 = 42
Open the calculator with these numbers
The calculator reads the values from the page address and shows the result right away. You can change them freely.
How the calculator works
The calculator computes A = ½ · a · h from the base a and the height h, which must be greater than zero. The height must be perpendicular to the chosen base. Next to the result it shows the product a · h and the area of a rectangle with the same dimensions, which is twice the area of the triangle. The calculator does not use Heron’s formula or the sine formula.
Where the one half in the formula comes from
Two identical triangles can be put together into a parallelogram with the same base and height. The area of the parallelogram is a · h, so one triangle has half of that. For a rectangle with sides 10 and 6 the area is 60, and a triangle with the same base and height has an area of 30.
The areas of a rectangle, a trapezoid and other shapes are available in the rectangle area calculator and the trapezoid area calculator.
How to find the area of a triangle step by step
Choose a side as the base and measure the height perpendicular to it. Multiply the base by the height and divide the result by 2. Both dimensions must use the same unit, and the area comes out in square units, such as cm² or m².
In the calculator you enter the base and the height, and the result appears immediately. The height of an obtuse triangle may lie outside the figure, which does not change the formula.
Right triangles and triangles without a known height
In a right triangle one leg is the base and the other is the height. For a 3-4-5 triangle the area is ½ · 3 · 4 = 6. You can find a missing side first with the Pythagorean theorem, which we cover in the article Pythagorean Theorem: Formula, Examples and Calculator.
If you know all three sides but not the height, use Heron’s formula. For an equilateral triangle with side a the area is a² · √3 ÷ 4, which you can compute in the equilateral triangle area calculator, and the height itself in the equilateral triangle height calculator.
If you know two sides and the angle between them, the area is ½ · a · b · sin γ.
Which formula to use: a guide by the data you have
The formula you need depends on which measurements you know. The table below shows the most common cases with worked examples.
| Known data | Formula | Example |
|---|---|---|
| base and height | A = ½ · a · h | a = 12, h = 7 → 42 |
| three sides | Heron’s formula: √(s · (s − a) · (s − b) · (s − c)), where s = (a + b + c) ÷ 2 | 3, 4, 5 → 6 |
| two sides and the angle between them | A = ½ · a · b · sin γ | 7, 10, 30° → 17.5 |
| side of an equilateral triangle | A = a² · √3 ÷ 4 | a = 6 → 15.5885 |
| base and leg of an isosceles triangle | A = ½ · b · √(l² − (b ÷ 2)²) | b = 6, l = 5 → 12 |
Area of an equilateral and an isosceles triangle
In an equilateral triangle with side a the height is h = a · √3 ÷ 2, so the area is ½ · a · h = a² · √3 ÷ 4. For a = 6 the height is 5.1962 and the area is 15.5885. You can check the result in the equilateral triangle area calculator.
In an isosceles triangle the height dropped onto the base splits it into two equal parts, so the Pythagorean theorem gives h = √(l² − (b ÷ 2)²). For a base b = 6 and a leg l = 5 we get h = √(25 − 9) = 4, and the area is ½ · 6 · 4 = 12. Once you have the height, you can enter the base 6 and the height 4 in the triangle area calculator.
Where the area of a triangle is useful
Gable wall of a house. The triangular wall under the roof has a base equal to the span of the house and a height equal to the ridge height. You can check the roof angle in the roof pitch angle calculator.
Plots and gardens. A triangular corner of a plot with a base of 20 m and a height of 5 m covers 50 m², which helps you estimate the amount of soil, grass or fencing.
Painting and cladding. Knowing the surface area helps you estimate paint or tile use. The area of round elements is covered in the article Area of a circle.
Coordinate geometry. The side lengths of a triangle with given vertices can be found with the distance between two points calculator.
Four worked examples
You can check each example in the triangle area calculator.
1. Base 10 cm and height 6 cm
A classic school problem.
- Enter a = 10 and h = 6.
- Multiply the base by the height: 10 · 6 = 60.
- Divide by 2: 60 ÷ 2 = 30.
- The area is 30 cm².
2. Gable wall with a span of 8 m and a height of 5 m
The surface of the triangular wall under the roof.
- Enter a = 8 and h = 5.
- The product is 40.
- Half of the product is 20.
- The area is 20 m².
3. Plot corner: base 20 m and height 5 m
Estimating the size of a piece of land.
- Enter a = 20 and h = 5.
- The product is 100.
- Half of the product is 50.
- The area is 50 m².
4. Right triangle with legs 3 and 4
One leg is the base and the other is the height.
- Enter a = 4 and h = 3.
- The product is 12.
- Half of the product is 6.
- The area is 6 square units.
Common mistakes when finding the area of a triangle
- Using a slanted side instead of the height — the height must be perpendicular to the base. The length of a slanted side overstates the area.
- Leaving out the one half — the product a · h is the area of a rectangle or parallelogram, not of a triangle.
- Mixing units — a base in meters and a height in centimeters give a wrong result. Convert both to one unit.
- Writing the area in length units — area is always expressed in square units, such as cm² or m².
- Using Heron’s formula when the height is known — the base-and-height formula is simpler and less prone to rounding errors.
- A height outside the triangle — in an obtuse triangle the height lies outside, but the formula still holds.
- Rounding dimensions before calculating — round only the final result.
Frequently asked questions
What is the formula for the area of a triangle?
The area is A = ½ · a · h, where a is the base and h is the height dropped onto that base.
How do you find the area of a triangle when you know all three sides?
Use Heron’s formula. First compute the semi-perimeter, then take the square root of the product of the semi-perimeter and its three differences with the sides.
How do you find the area of a right triangle?
The legs are the base and the height, so the area is half their product. For legs 3 and 4 it is 6.
Why is there a one half in the formula?
A triangle is half of a parallelogram with the same base and height, and the area of a parallelogram is a · h.
Which side can be the base?
Any side. The height must be perpendicular to the chosen base. The area is the same for every base–height pair.
What units are used for the area of a triangle?
Square units. For dimensions in centimeters the result is in cm², and for dimensions in meters it is in m².
How do you find the height of a triangle from its area?
Rearrange the formula: h = 2A ÷ a. For an area of 30 and a base of 10 the height is 6.
How do you find the area of an equilateral triangle?
The area of an equilateral triangle with side a is A = a² · √3 ÷ 4. For a = 6 you get 36 · √3 ÷ 4 ≈ 15.5885.
Find the area of your own triangle
Enter the base and the height in the triangle area calculator and read the result. If you have only the side lengths, go to the Heron’s formula calculator.
For more complex tasks you may need the Pythagorean theorem calculator, the trapezoid area or the sum of angles in a triangle.