Boneyard Tools

Triangle Area Calculator

Find the area of any triangle from whatever you happen to know. Pick base and height for the classic half-base-times-height formula, three side lengths for Heron's formula, or two sides and the angle between them for the SAS method. The two side-based methods also report the perimeter, and every result is rounded to six decimal places.

How to find the area of a triangle

  1. Under "Which values do you know?" choose Base & height, Three sides, or Two sides + angle.
  2. For Base & height, enter the base and its perpendicular height.
  3. For Three sides, enter sides a, b, and c that satisfy the triangle inequality.
  4. For Two sides + angle, enter sides a and b plus the included angle in degrees.
  5. Read the Area card, plus a Perimeter card whenever all three sides are known, then Copy result.

Examples

Base and height

base = 10, height = 4
Area = 20

Heron's formula (3-4-5 triangle)

a = 3, b = 4, c = 5
Area = 6, Perimeter = 12

Two sides and the included angle (SAS)

sides 5 and 7, angle 30 degrees
Area = 8.75, Perimeter = 15.657625

Frequently asked questions

What is the formula for the area of a triangle?

The most common is one half times base times perpendicular height. This tool also offers Heron's formula from three sides and the SAS formula from two sides and their included angle, and all three return the same area for the same triangle.

What is Heron's formula?

With sides a, b, and c, let s be half the perimeter, so s equals (a plus b plus c) divided by 2. The area is the square root of s times (s minus a) times (s minus b) times (s minus c). It needs no height, only the three side lengths.

How does the SAS method work?

When you know two sides and the angle between them, the area equals one half times side a times side b times the sine of the included angle. The tool also finds the third side with the law of cosines so it can report the perimeter.

Why does the perimeter only appear for some methods?

The perimeter needs all three side lengths. The three-sides and SAS methods know or can derive every side, so they show a perimeter, while the base-and-height method knows only the base and cannot.

Why does it reject some side lengths?

Three lengths only form a real triangle if each pair of sides adds up to more than the third side. Values that break this triangle inequality, such as 1, 2, and 5, are rejected with a message instead of a wrong answer.

Do angles use degrees or radians?

The SAS method takes the included angle in degrees, so 30 means 30 degrees. It is converted to radians internally before the sine and cosine are taken, and it must be strictly between 0 and 180 degrees.

How are the results rounded?

The engine rounds the area and perimeter to six decimal places. The 3-4-5 triangle gives a clean area of 6, while irrational results like the SAS perimeter above are shown to six places.

Can it handle decimals and large values?

Yes. Each field accepts decimals down to steps of 0.1 and values up to 1000, so you can mix whole numbers and fractional measurements freely. All inputs must be greater than zero.

Is my input sent anywhere?

No. The calculation runs in your browser, so the numbers you type never leave your device and nothing is stored on a server.

Learn more

Related tools