Skip to content
Sumetrio

Triangle area calculator

Pick the method that matches what you can actually measure. On a building site that is usually the three sides; in a textbook it is usually base and height.

What do you know?

Result

Area
6
Perimeter
12

How this is calculated

base × height ÷ 2
Heron: s = (a+b+c) ÷ 2, area = √(s(s−a)(s−b)(s−c))
two sides and angle: area = a × b × sin(angle) ÷ 2

Heron's formula finds the area from the sides alone, with no angle and no height needed — which is why it is the practical choice when all you have is a tape measure. The third method uses the sine of the included angle, and the third side follows from the law of cosines.

s
— the semi-perimeter, half the sum of the three sides
height
— the perpendicular distance from the base to the opposite corner
included angle
— the angle between the two known sides

Worked example

A 3-4-5 triangle has a semi-perimeter of 6, so Heron gives √(6 × 3 × 2 × 1) = √36 = 6. The same triangle is right-angled, so base times height over two is 3 × 4 ÷ 2 = 6 as well — the methods agree, as they must. The third method confirms it from the other direction: sides 3 and 4 with a 90° angle between them give 3 × 4 × sin 90° ÷ 2 = 6, and the law of cosines returns the third side as exactly 5.

How to use it

  1. Choose the method that matches your measurements.
  2. For base and height, make sure the height is perpendicular to the base — using a slanted side instead overstates the area.
  3. For three sides, the tool checks they can actually form a triangle before computing anything.

Limitations and assumptions

  • Three sides can only form a triangle if any two of them together exceed the third. Sides of 1, 2 and 10 cannot meet, and the tool says so rather than returning a meaningless number.
  • Sides that just touch — 1, 2 and 3 — form a flat line with zero area. These are refused too, since they are not a triangle.
  • Angles are in degrees, not radians.
  • The height must be the perpendicular height. On a sloping roof or an embankment that is not the same as the measured slope length.

Questions

How do I find the area without knowing the height?

Use Heron's formula, which needs only the three side lengths. Measure all three sides and select the three-sides method.

What is the triangle inequality?

The rule that any two sides added together must be longer than the third. If they are not, the sides cannot close into a shape — the two shorter ones simply never reach each other.

Is the height the same as the sloping side?

No, and confusing them is the most common error. The height is measured at right angles to the base. For a triangle that leans, the perpendicular height is shorter than the slanted side.

Related calculators

This page has not yet had an editorial review.