Skip to content

Triangle Area Calculator

Enter the three sides of a triangle to get its area with Heron's formula, plus its angles and perimeter. Switch the method for two sides and an angle, or for corner coordinates.

Calculator Details

Area:14.6969 sq unitsSee results ↓

Use when you know all three sides

Side opposite angle A

Side opposite angle B

Side opposite angle C (the hypotenuse in a right triangle)

Your Results

Area: 14.6969 sq units

Area

14.6969 sq units

Scalene acute triangle, perimeter 18 units

Perimeter

18 units

By angles

Acute Triangle

By sides

Scalene

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Sides and angles of your triangle
VertexAngleOpposite side
A44.42° (solved)a = 5 (given)
B57.12° (solved)b = 6 (given)
C78.46° (solved)c = 7 (given)
Total180°Perimeter 18

Area 14.6969 square units; semiperimeter 9.

How This Calculator Works

How It's Calculated

Your triangle (SSS)

cos A = (b² + c² − a²) / 2bc → A = 44.42°
cos B = (a² + c² − b²) / 2ac → B = 57.12°
C = 180° − A − B = 78.46°
s = (a + b + c) / 2 = 9; Area = √[s(s − a)(s − b)(s − c)] = 14.6969
  • Pythagorean theorem (right triangles): a² + b² = c², where c is the hypotenuse.
  • Law of cosines: c² = a² + b² − 2ab·cos(C). Finds a side from two sides and the angle between them (SAS), or the angles from three sides (SSS).
  • Law of sines: a/sin(A) = b/sin(B) = c/sin(C). Finds the sides once two angles are known (ASA, AAS).
  • Heron's formula: Area = √[s(s − a)(s − b)(s − c)] with s = (a + b + c)/2.
  • Shoelace formula (from coordinates): Area = |x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)| / 2; the sign of the sum shows whether the corners run counter-clockwise (+) or clockwise (−).

Frequently Asked Questions

How do I find the area from the base and height?

Multiply the base by the perpendicular height and halve it: A = b × h ÷ 2. A triangle with a base of 10 and a height of 4 has an area of 20. The height must be measured at a right angle to the base, not along a sloping side.

How do I find the area from two sides and the angle between them?

Use A = ½ × a × b × sin C, where C is the angle between sides a and b. Sides 5 and 7 with a 49° angle between them give ½ × 5 × 7 × 0.7547 ≈ 13.21. Choose the SAS method in the calculator.

Why does Heron's formula sometimes give an error?

Three lengths only make a triangle if each one is shorter than the other two added together. With sides 2, 3 and 6, the semi-perimeter is 5.5 and 5.5 − 6 is negative, so there is no real square root: those lengths cannot close into a triangle.

How do I find the area of a right triangle?

Its two legs are a base and a perpendicular height, so the area is half their product. Legs of 6 and 8 give 24 square units. The hypotenuse is not needed.

Solves flat (Euclidean) triangles from two sides of a right triangle, SSS, SAS, ASA or AAS, or the coordinates of the three corners (shoelace formula), with angles in degrees. Results are rounded to 10 significant digits. Not included: the ambiguous SSA case (two sides and a non-included angle), spherical triangles, radians, and units (sides are in whatever unit you use).

Triangle Area Calculator: Base × Height ÷ 2 or Heron's Formula

By FindMySum · Last reviewed

A triangle area calculator finds the space inside any triangle, whatever you happen to know about it. With a base and its perpendicular height, the area is half their product. With only the three side lengths, Heron's formula gives the area without needing any height or angle, and this page uses it as the default method.

Worked example

A triangle has sides of 5, 6 and 7 units.

  1. Semi-perimeter: s = (5 + 6 + 7) ÷ 2 = 9.
  2. Heron's formula: A = √(s(s − a)(s − b)(s − c)) = √(9 × 4 × 3 × 2) = √216.
  3. Area: √216 = 6√6 ≈ 14.70 square units.

The same triangle's height to the side of 7 is 2 × 14.70 ÷ 7 ≈ 4.20, so the base-times-height method gives the same answer: 7 × 4.20 ÷ 2 ≈ 14.70. Its perimeter is 18, and its angles are about 44.4°, 57.1° and 78.5°.

Choosing a method

Use base and height when you can measure a perpendicular height, as on a plan or a gable end. Use Heron's formula when you can measure only the edges, as with a garden bed or a sail. Use two sides and the included angle when the angle is known, and coordinates when the corners are points on a grid or a map.

For any triangle problem, including missing sides and angles, use the triangle calculator; for right triangles, the right triangle calculator; and for three equal sides, the equilateral triangle calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy