Calcamaze

Triangle Area Calculator

Find the area of any triangle from base and height, two sides and the angle between them, or all three sides.

Result

Area
30

Choose what you know about the triangle: its base and perpendicular height, two sides and the angle between them, or the lengths of all three sides. The calculator picks the right formula — half base times height, ½ab·sin γ, or Heron’s formula — and also shows the missing side and the perimeter where it can. The three methods give the same answer for the same triangle.

How do you find the area of a triangle?

The area of a triangle is the flat space inside its three sides. The best-known formula, A = ½ × base × height, comes from the fact that any triangle is exactly half of a parallelogram with the same base and height. The height must be measured at right angles to the base.

When the height is not known, two other formulas help. With two sides and the angle between them (SAS), A = ½ab·sin γ, because b·sin γ is the height on side a. With all three sides (SSS), Heron’s formula — known to Heron of Alexandria in the first century — gives the area from the semi-perimeter s = (a + b + c) ÷ 2 alone: A = √(s(s − a)(s − b)(s − c)).

How to use the triangle area calculator

  1. Choose what you know: base and height, two sides and the angle, or three sides.
  2. Enter the measurements in one unit.
  3. Read the area in that unit squared.

Formula

A = ½ × b × h · A = ½ × a × b × sin γ · A = √(s(s − a)(s − b)(s − c))

b is the base and h the height measured at right angles to it. In the SAS formula, γ is the angle between sides a and b. In Heron’s formula, s is the semi-perimeter, (a + b + c) ÷ 2.

Areas come out in the square of whatever length unit you use.

Worked examples

Base and height

What do you know?
Base and height
Base (b)
14
Height (h)
9
Area
63

A triangular garden bed 14 ft along the fence and 9 ft deep covers ½ × 14 × 9 = 63 square feet.

Two sides and the included angle

What do you know?
Two sides and the angle between them (SAS)
Side a
8
Side b
11
Angle between a and b (γ)
55 °
Area
36.0427
Third side (c)
9.1679
Perimeter
28.1679

Sides of 8 m and 11 m meeting at 55° enclose ½ × 8 × 11 × sin 55° ≈ 36.04 m².

Three sides with Heron’s formula

What do you know?
All three sides (SSS)
Side a
13
Side b
14
Side c
15
Area
84
Perimeter
42
Semi-perimeter (s)
21

s = (13 + 14 + 15) ÷ 2 = 21, so A = √(21 × 8 × 7 × 6) = √7,056 = 84.

Which triangle area formula to use

You knowFormulaExampleArea
Base b and height hA = ½bhb = 10, h = 630
Two legs of a right triangleA = ½aba = 3, b = 46
Two sides and the angle betweenA = ½ab·sin γa = 7, b = 9, γ = 40°20.2478
Three sidesHeron’s formulaa = 5, b = 6, c = 714.6969
Side of an equilateral triangleA = (√3 ÷ 4)a²a = 1043.3013

Heron’s formula, worked through

With only the three sides, start with half the perimeter, s. For sides 13, 14 and 15, s = 21, and the area is √(s(s − a)(s − b)(s − c)) = √(21 × 8 × 7 × 6) = √7,056 = 84. It is handy for land plots and roof sections where measuring a height is awkward.

Common mistakes

  • Using a slanted side as the height. The height is always perpendicular to the base you chose.
  • Forgetting the ½ — base × height alone is the area of a parallelogram, twice the triangle.
  • In the SAS formula, using an angle that is not between the two sides you entered.
  • Entering three sides that cannot form a triangle: each side must be shorter than the sum of the other two.
  • Using a slanted side as the height. The height must be perpendicular to the base.

Frequently asked questions

How do I find the area of a triangle with three sides?

Use Heron’s formula: find 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 ≈ 14.70.

Does the height have to be inside the triangle?

No. For an obtuse triangle the height can fall outside it, measured to the extended base line. Half base times height still works.

What is the area of an equilateral triangle?

(√3 ÷ 4) × side². A triangle with 10 cm sides has an area of about 43.3 cm².

How do I find the area of a right triangle?

Half the product of the two shorter sides, since one is the height of the other: legs of 6 and 8 give 24.

Sources

  1. Triangle Area, Wolfram MathWorld
  2. Heron’s Formula, Wolfram MathWorld
  3. Algebra and Trigonometry 2e, 10.1 Non-right Triangles: Law of Sines, OpenStax, Rice University
  4. Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines, OpenStax, Rice University

Last updated · Calculations checked by automated tests· Editorial policy