Triangle Area Calculator

Find the area of a triangle from its base and height, or from all three sides with Heron's formula.

Inputs

What do you know?
Base and height

At a right angle to the base.

Try an example

Area

30 cm²

Base and height give the area only. Choose three sides to get the perimeter as well.

Rectangle with the same base and height
60 cm²

height = 6 cmbase = 10 cm

Step-by-step solution

  1. Write the formula. A triangle is half of a rectangle with the same base and height.

    A = base × height / 2

  2. Substitute the base and the height.

    A = 10 × 6 / 2

  3. Multiply, then halve.

    A = 60 / 2 = 30 cm²

Formulas used

A = base × height / 2 when the height is known

s = (a + b + c) / 2 semi-perimeter

A = √(s(s − a)(s − b)(s − c)) Heron's formula, from the three sides

P = a + b + c perimeter, when all three sides are known

a, b, c
the three sides
s
the semi-perimeter, half of the perimeter

A triangle is half of a rectangle with the same base and height, so base times height, halved, gives its area. Heron's formula reaches the same number from the sides alone, without needing a height.

Base and height cannot give a perimeter, because many triangles share the same base and height but have different slanted sides. That is why the perimeter appears only in the three-sides mode. For angles and classification, use the triangle calculator.

Worked example: sides of 7, 8 and 9

Sides a = 7, b = 8, c = 9, all in centimetres.

s = (7 + 8 + 9) / 2 = 12

A = √(12 × (12 − 7) × (12 − 8) × (12 − 9))

A = √(12 × 5 × 4 × 3) = √720 ≈ 26.8328 cm²

P = 7 + 8 + 9 = 24 cm

The result is not a whole number, which is typical. Triangles with whole-number sides and a whole-number area, such as 13, 14, 15 with area 84, are the exception.

As a check, the base-and-height route with a base of 9 needs a height of 2 × 26.8328 / 9 ≈ 5.963. Put base 9 and height 5.963 into the first mode and the area comes back as 26.8335, which matches to within the rounding of that height.

Areas from a base and a height

A triangle always has exactly half the area of the rectangle that shares its base and height, whatever shape the triangle is, as long as the height is measured at a right angle to the base.

BaseHeightTriangle areaRectangle with the same base and height
4 cm3 cm6 cm²12 cm²
10 cm6 cm30 cm²60 cm²
8 cm5 cm20 cm²40 cm²
12 cm9 cm54 cm²108 cm²
7 cm7 cm24.5 cm²49 cm²

Areas from three sides (Heron’s formula)

The first two rows are right triangles, so their areas also equal half the product of the two shorter sides: 3 × 4 / 2 = 6 and 5 × 12 / 2 = 30. The 13, 14, 15 triangle is a well-known case with a whole-number area of 84.

SidesAreaPerimeter
3, 4, 5 cm6 cm²12 cm
5, 12, 13 cm30 cm²30 cm
13, 14, 15 cm84 cm²42 cm
6, 6, 6 cm15.5885 cm²18 cm
7, 8, 9 cm26.8328 cm²24 cm
10, 10, 12 cm48 cm²32 cm

Frequently asked questions

Which method should I use?

Use base and height when you can measure the height straight down from the top corner to the base. Use three sides when you only have the side lengths, for example from a survey or a drawing. Both give the same area for the same triangle.

What counts as the height?

The perpendicular distance from the base to the opposite corner, at a right angle to the base. It is not the length of a slanted side. In an obtuse triangle the height can fall outside the triangle, on an extension of the base, and the formula still works.

Can I pick any side as the base?

Yes, as long as the height is measured to that same side. Every side with its own height gives the same area.

What is Heron's formula?

It finds the area from the three sides alone. Find the semi-perimeter s = (a + b + c) / 2, then A = √(s(s − a)(s − b)(s − c)). The calculator checks the triangle inequality first, because three lengths that cannot close into a triangle have no area.

What is the area of an equilateral triangle?

For side s it is A = (√3 / 4) × s². With a side of 6, that is 0.4330 × 36 ≈ 15.5885, the same value the three-sides mode returns for 6, 6, 6.

I have the coordinates of the corners.

Enter them as a polygon in the irregular shape area calculator, which uses the shoelace formula, or find each side with the distance calculator and use the three-sides mode here.