Math

Triangle area calculator

Work out the area of a triangle from whatever you know about it. Pick base and height, three sides (Heron’s formula), two sides and the angle between them, or the coordinates of the three corners. The triangle area calculator shows the formula it used, the perimeter, the height onto the first side and an error if the sides cannot form a triangle.

Runs in your browser. Nothing you type is sent to us.

Area

30

A = ½ × 10 × 6

Rectangle with the same base and height
60

Key facts

  • Base and height: A = ½ × b × h. A base of 10 and height of 6 gives 30 square units.
  • Three sides (Heron): A = √(s(s − a)(s − b)(s − c)) with s = (a + b + c) ÷ 2. Sides 5, 6, 7 give 6√6 ≈ 14.697.
  • Two sides and the included angle: A = ½ × a × b × sin C. Sides 5 and 6 at 60° give about 12.99.
  • Three points: A = ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|, the shoelace formula.
  • Any two sides must add up to more than the third (triangle inequality), or there is no triangle.

Choosing a method

Every triangle is half of a parallelogram, so its area is always half the base times the perpendicular height. The other methods are ways of getting that answer when the height is not given directly. Use whichever matches the measurements you have.

You knowMethodFormula
A side and the height to itBase and heightA = ½ b h
All three sidesHeron’s formulaA = √(s(s − a)(s − b)(s − c))
Two sides and the angle between themSASA = ½ a b sin C
Coordinates of the cornersShoelaceA = ½x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)

How to use the triangle area calculator

  1. Pick a unit if you want one shown in the answer (optional).
  2. Choose the method that matches what you know.
  3. Enter the values. Angles are in degrees.
  4. Read the area, the formula used, the perimeter and the height onto side a.

Step-by-step examples: triangle area

Example 1: base and height

A triangle with base 10 cm and height 6 cm has area ½ × 10 × 6 = 30 cm². The height must be perpendicular to the base; for an obtuse triangle it may fall outside the shape.

Example 2: Heron’s formula

Sides 5, 6 and 7. The semi-perimeter is s = 18 ÷ 2 = 9. A = √(9 × 4 × 3 × 2) = √216 = 6√6 ≈ 14.697. The height onto the side of 5 is 2A ÷ 5 ≈ 5.879.

Example 3: two sides and an angle

Sides 5 and 6 with a 60° angle between them: A = ½ × 5 × 6 × sin 60° = 15 × 0.8660 ≈ 12.990.

Example 4: coordinates

Corners at (0, 0), (4, 0) and (1, 3). A = ½ |0(0 − 3) + 4(3 − 0) + 1(0 − 0)| = ½ × 12 = 6.

Example 5: a 3-4-5 right triangle

The two legs are a base and a height, so the area is ½ × 3 × 4 = 6. Heron agrees: s = 6 and √(6 × 3 × 2 × 1) = 6.

Special triangles

TriangleArea formula
Right triangle with legs a, b½ a b
Equilateral with side s(√3 ÷ 4) s² ≈ 0.433 s²
Isosceles with equal sides a and base b(b ÷ 4) √(4a² − b²)

The triangle inequality

For three lengths to form a triangle, each pair must add up to more than the third. Sides 1, 2 and 5 fail because 1 + 2 is less than 5, and the calculator tells you so instead of returning a meaningless answer. When the sum exactly equals the third side, the triangle is flat and its area is zero.

Tips and common mistakes

  • Use the perpendicular height, not a slanted side, in the base and height formula.
  • The angle must be between the two sides you enter for the SAS method. If you know a different angle, use the law of sines calculator or the law of cosines calculator first.
  • Square units: an area in cm² cannot be compared directly with an area in m²; 1 m² is 10,000 cm².
  • Very thin triangles: Heron’s formula can lose precision when one side is almost the sum of the other two. The calculator works in full double precision, which is enough for everyday measurements.

To solve for missing sides and angles as well as the area, use the triangle calculator. For a right triangle, the right triangle calculator is quicker.

Three ways to find a triangle’s area

The familiar formula, half the base times the height, comes from fitting two copies of a triangle into a parallelogram, an argument in Euclid’s *Elements* (Book I, Proposition 41). When the height is unknown, Heron of Alexandria’s formula uses only the three sides, and when two sides and the angle between them are known, area = ½ab sin C, a result that follows from trigonometry developed by Hipparchus and later astronomers.

With coordinates, the shoelace formula gives the area of any polygon from its vertices by cross-multiplying coordinates in a zigzag; it is sometimes called Gauss’s area formula, although it was described by A. L. F. Meister in 1769. Surveyors use it to compute land areas from boundary points, and geographic information systems such as QGIS use it for polygons on maps. In 3D graphics, every surface is split into triangles, so triangle areas and normals are computed billions of times a second by GPUs. In US schools, Common Core standard 6.G.A.1 asks students to find the area of triangles by composing and decomposing shapes. To solve the whole triangle, use the triangle calculator; for area from vectors, the cross product calculator; and for other shapes, the area calculator.

How this calculator works

  • Base and height: A = ½ × base × height.
  • Three sides (SSS): Heron’s formula A = √(s(s − a)(s − b)(s − c)) with s = (a + b + c) ÷ 2.
  • Two sides and included angle (SAS): A = ½ab sin C. Coordinates: the shoelace formula ½|x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|.
  • Shows the perimeter and the height on each side where the sides are known.

Frequently asked questions

What is the formula for the area of a triangle?

Half the base times the height: A = ½ × b × h, where h is measured at right angles to the base.

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

Use Heron’s formula. Work out s = (a + b + c) ÷ 2, then A = √(s(s − a)(s − b)(s − c)).

How do I find the area with two sides and an angle?

If the angle is between the two sides, A = ½ × a × b × sin C.

What is the area of a triangle with base 10 and height 6?

½ × 10 × 6 = 30 square units.

How do I find the area from coordinates?

Use the shoelace formula: A = ½ |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)|.

What is the area of an equilateral triangle?

(√3 ÷ 4) × side². A side of 10 gives about 43.30.

Why does the calculator say my triangle is impossible?

The sides break the triangle inequality: one side is as long as, or longer than, the other two combined.

Can the height be outside the triangle?

Yes. In an obtuse triangle, the height onto one of the shorter sides falls outside the shape, but the formula still works.

Sources

  1. Wolfram MathWorld: Triangle area
  2. Wolfram MathWorld: Heron’s formula
  3. Math is Fun: Area of a triangle

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Triangle area calculator." calcroster.com/triangle-area-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.