Area of a Triangle Calculator
The area of a triangle is half the base times the height: A = ½ × base × height. A base of 6 and a height of 8 give an area of 24. If you only know the three sides, use Heron's formula. With two sides and the angle between them, use ½ × a × b × sin C.
Last updated by Ultra Calculator
Triangle Area
How to calculate it
A = ½ × base × height A = √(s × (s − a) × (s − b) × (s − c)), where s = (a + b + c) ÷ 2 A = ½ × a × b × sin C A = ½ × |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|
- A
- area, in square units
- base
- the side you measure the height from
- height
- perpendicular height from the base to the opposite corner
- a, b, c
- the three side lengths
- s
- half the perimeter (semi-perimeter)
- C
- the angle between sides a and b
- x₁, y₁
- coordinates of the first corner
- x₂, y₂
- coordinates of the second corner
- x₃, y₃
- coordinates of the third corner
For the perimeter, the two-sides method finds the third side with the cosine rule, c = √(a² + b² − 2ab cos C).
Worked example
Base 6, height 8
A triangle with a 6 cm base and an 8 cm height has an area of 24 cm². A base and height don't fix the other two sides, so this method gives no perimeter.
| Method | Base and height |
|---|---|
| Base | 6 |
| Height | 8 |
| Area | 24 |
|---|---|
| Method used | Base and height |
How to use this calculator
- Choose the Method that matches what you know.
- Base and height: enter Base and Height.
- Three sides: enter Side a, Side b and Side c. Two sides and an angle: enter Side a, Side b and Angle C, the angle between them.
- Coordinates: enter x and y for each of the three corners.
- Read the Area, in your unit squared. The other three methods also give the perimeter. If the values can't form a triangle, a message says what to change.
Frequently asked questions
How do you find the area of a triangle?
Multiply the base by the perpendicular height and halve it: A = ½ × base × height. A triangle with a 10 cm base and a 7 cm height has an area of 35 cm².
How do you find the area of a triangle with 3 sides?
Use Heron's formula. Work out half the perimeter, s = (a + b + c) ÷ 2, then A = √(s(s − a)(s − b)(s − c)). For sides 5, 6 and 7, s = 9 and A = √(9 × 4 × 3 × 2) = √216, about 14.70.
How do you find the area from two sides and an angle?
Use A = ½ × a × b × sin C, where C is the angle between sides a and b. Sides of 5 and 7 with 60° between them give about 15.16.
What is the area of a right-angled triangle?
Half the product of the two shorter sides, because one is the base and the other is the height. A right-angled triangle with shorter sides of 3 and 4 has an area of 6.
Why does the calculator say the sides do not form a triangle?
Any two sides must add up to more than the third. Sides of 2, 3 and 6 fail because 2 + 3 is less than 6, so the sides cannot meet.
Learn more
Perpendicular height
The height is measured at right angles to the base, from the base (or the base extended) to the opposite corner. In an obtuse triangle it can fall outside the shape.
Heron's formula
Heron's formula gives the area from the three sides alone, with no height or angle needed. That makes it handy for plots of land or garden beds where you can measure the edges but not the height.
The triangle inequality
Each side must be shorter than the other two added together. If not, the sides cannot meet, and the calculator says so instead of giving an area.
- Working out the area of a triangular garden bed or plot from its three sides
- Finding the area of a gable end wall for paint or cladding
- GCSE maths questions using ½ab sin C or base and height
- Finding the area of a triangle drawn on a grid from its corners
Using a sloping side as the height
The height must be at right angles to the base. A sloping side is longer, so using it overstates the area.
Forgetting to halve
A triangle is half of a rectangle with the same base and height. Base × height on its own gives double the area.
Using the wrong angle in ½ab sin C
The angle must be the one between sides a and b. Any other angle gives the wrong area.
Mixing units
Enter every length in the same unit. A base in metres and a height in centimetres gives an area that is 100 times too big or too small.
Methodology and sources
Base and height mode uses ½ × base × height. It gives no perimeter, because a base and height don't fix the other two sides. Three-sides mode checks the triangle inequality, then applies Heron's formula. Two-sides mode uses ½ab sin C and finds the third side with the cosine rule for the perimeter. Coordinates mode uses the shoelace formula and the distance between each pair of corners. Area, perimeter and third side are rounded to four decimal places. Values that can't form a triangle (sides that break the triangle inequality, an angle of 0° or 180°, or three corners in a line, allowing only for the rounding of decimals) give a message instead of a result. The calculator works in your units and does not convert them.