Triangle area formula 3 sides

How triangle area formula 3 sides calculator works?

The triangle area formula 3 sides calculator works in 5 steps: it checks the 3 sides form a triangle, finds the semiperimeter s, subtracts each side from s, multiplies the 4 numbers, and takes the square root.

You enter

  • Side a (BC)
  • Side b (CA)
  • Side c (AB)
  • Length unit: mm, cm, m, km, in, ft, or yd

The calculator applies

A = √(s(s−a)(s−b)(s−c))

Heron's formula, with s = (a + b + c) ÷ 2. No height or angle is needed.

You get

  • Area in square units
  • Semiperimeter s and perimeter
  • s − a, s − b, s − c
  • All 3 angles, inradius r, and the height to side c
  1. Enter the 3 sides. Type sides a, b, and c, or drag corners B and C on the diagram. Sides a, b, and c sit opposite corners A, B, and C.
  2. Check the triangle inequality. The calculator confirms the 2 shorter sides add up to more than the longest side. Sides of 2, 3, and 8 fail the test: 2 + 3 = 5 < 8.
  3. Find the semiperimeter. The calculator adds the 3 sides and halves the total: s = (a + b + c) ÷ 2.
  4. Multiply s by (s − a), (s − b), and (s − c). The colored tangent segments on the diagram show the 3 lengths s − a, s − b, and s − c.
  5. Take the square root. The square root of the product is the area. The steps box shows every number.

Triangle area formula 3 sides formula

The triangle area formula with 3 sides is Heron's formula, A = √(s(s−a)(s−b)(s−c)), where a, b, c are the side lengths and s = (a + b + c) ÷ 2 is the semiperimeter.

Triangle with its incircle. The tangent points split side c into s − a and s − b.abcABCs − as − b
The incircle touches each side. The 2 tangent lengths from corner A both equal s − a, from B both equal s − b, and from C both equal s − c.

Heron's formula: key facts

Formula
A = √(s(s−a)(s−b)(s−c))
Semiperimeter
s = (a + b + c) ÷ 2
Inputs
3 side lengths, no height, no angle
Valid when
a + b > c, b + c > a, a + c > b
Other form
A = ¼√((a+b+c)(−a+b+c)(a−b+c)(a+b−c))
Named after
Heron of Alexandria, Metrica, c. 60 CE

Derivation of Heron's formula in 4 steps

  1. Start from A = ½ × a × b × sin C, the trigonometric area formula.
  2. Find cos C from the law of cosines: cos C = (a² + b² − c²) ÷ 2ab.
  3. Replace sin C with √(1 − cos² C) and factor the difference of squares twice: 16A² = (a+b+c)(−a+b+c)(a−b+c)(a+b−c).
  4. Write each bracket with s = (a + b + c) ÷ 2: the 4 brackets become 2s, 2(s−a), 2(s−b), 2(s−c), so A = √(s(s−a)(s−b)(s−c)).

Heron's formula example with 3 sides

A triangle has sides of 5 cm, 6 cm, and 7 cm (1.97 in, 2.36 in, 2.76 in).

s = (5 + 6 + 7) ÷ 2 = 9
A = √(9 × 4 × 3 × 2) = √216 = 14.7 cm² (2.28 in²)

Heron's formula for special triangles

Heron's formula simplified for 3 triangle types
Triangle typeSidesHeron's formula becomes
Equilaterala, a, aA = (√3 ÷ 4) a²
Isoscelesa, a, bA = (b ÷ 4) √(4a² − b²)
Righta, b, hypotenuse cA = ½ ab

Heron's formula in Excel, Python, and Desmos

Microsoft Excel

=SQRT(((A2+B2+C2)/2)*((B2+C2-A2)/2)*((A2+C2-B2)/2)*((A2+B2-C2)/2))

Python (math module)

s = (a + b + c) / 2 area = math.sqrt(s*(s-a)*(s-b)*(s-c))

Desmos / GeoGebra

s = (a+b+c)/2 A = sqrt(s(s-a)(s-b)(s-c))

Triangle area formula 3 sides conversion chart

The triangle area formula 3 sides conversion chart lists the semiperimeter and area for 12 common side sets, including the 3-4-5 right triangle and the 13-14-15 triangle with a whole-number area of 84.

Heron's formula results for common 3-side sets (square units)
Sides a-b-cSemiperimeter ss(s−a)(s−b)(s−c)Area
3-4-56366
5-5-6814412
5-5-8914412
5-6-7921614.7
6-6-6924315.59
6-8-101257624
7-8-91272026.83
5-12-131590030
8-15-17203,60060
13-14-15217,05684
10-10-10151,87543.3
9-10-17181,29636
Area by side set: the 13-14-15 triangle has the largest area in the chart3-4-565-5-6125-5-8125-6-714.76-6-615.596-8-10247-8-926.835-12-13308-15-176013-14-158410-10-1043.39-10-1736
Area by side set: the 13-14-15 triangle has the largest area in the chart

Convert the Heron's formula area to other units

Heron's formula gives the area in the square of the side unit. Sides in cm give cm². The table converts the 5-6-7 cm example.

Heron's formula area for sides 5, 6, 7 cm = 14.7 cm², converted to 6 area units
Area unitValueFrom cm²
Square millimetres (mm²)1,469.69× 100
Square centimetres (cm²)14.7× 1
Square metres (m²)0.00147÷ 10,000
Square inches (in²)2.28÷ 6.4516
Square feet (ft²)0.0158÷ 929.03
Square yards (yd²)0.001758÷ 8,361.27

Triangle area formula without height

To find a triangle area without the height, use Heron's formula A = √(s(s − a)(s − b)(s − c)) with the 3 side lengths. No height and no angle is needed.

Once you know the area, the height to any side follows from h = 2A ÷ side. The example finds the area of a 5, 6, 7 triangle and then its 3 heights.

Triangle area with no height example

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

  1. s = (5 + 6 + 7) ÷ 2 = 9
  2. A = √(9 × 4 × 3 × 2) = √216 = 14.7 cm²
  3. Height to side 7: h = 2 × 14.7 ÷ 7 = 4.2 cm
  4. Height to side 6: 4.9 cm, height to side 5: 5.88 cm

2 other formulas work without a height: ½ab sin C for 2 sides and the angle between them, and the coordinate formula for 3 vertices.

Triangle area formula using cos (cosine rule)

The triangle area formula using cos finds an angle with the cosine rule, cos C = (a² + b² − c²) ⁄ (2ab), and puts it into A = ½ × a × b × sin C. It gives the same area as Heron's formula.

Skip the angle with the identity sin C = √(1 − cos² C): A = ½ × a × b × √(1 − cos² C).

Cosine rule area example

Sides a = 5, b = 6, and c = 7, with angle C opposite side c.

  1. cos C = (25 + 36 − 49) ⁄ (2 × 5 × 6) = 12 ⁄ 60 = 0.2
  2. C = 78.46°, sin C = √(1 − 0.04) = 0.9798
  3. A = ½ × 5 × 6 × 0.9798 = 14.7
  4. Heron's formula gives √216 = 14.7, the same area

Scalene triangle area formula

The scalene triangle area formula is Heron's formula, A = √(s(s − a)(s − b)(s − c)), where a, b, and c are the 3 different sides and s is the semiperimeter. A scalene triangle has no equal sides and no equal angles.

When you know a base and its perpendicular height, A = ½ × b × h works too. Class 9 NCERT teaches Heron's formula for scalene triangles in the Heron's Formula chapter.

Scalene triangle area example

A scalene triangle has sides of 8 m, 11 m, and 13 m.

  1. s = (8 + 11 + 13) ÷ 2 = 16
  2. s − a = 8, s − b = 5, s − c = 3
  3. A = √(16 × 8 × 5 × 3) = √1,920
  4. A = 43.82 m²

Triangle area formula 3 sides FAQs

What is the formula for the area of a triangle with 3 sides?

The formula for the area of a triangle with 3 sides is Heron's formula, A = √(s(s−a)(s−b)(s−c)), where s = (a + b + c) ÷ 2. Sides of 5, 6, and 7 cm give s = 9 and A = √216 = 14.70 cm² (2.28 in²).

How do you find the area of a triangle without the height?

You find the area of a triangle without the height with Heron's formula, using only the 3 side lengths. Sides of 13, 14, and 15 m give s = 21 and A = √(21 × 8 × 7 × 6) = 84 m² (904.17 ft²).

What is the semiperimeter in Heron's formula?

The semiperimeter is half of the triangle's perimeter, s = (a + b + c) ÷ 2. A 3-4-5 triangle has a perimeter of 12 and a semiperimeter of 6.

Why does Heron's formula give an error for some side lengths?

Heron's formula gives an error when the 3 sides fail the triangle inequality: the 2 shorter sides must add up to more than the longest side. Sides of 2, 3, and 8 give 2 + 3 = 5 < 8, so the product under the square root is negative and no triangle exists.

Who discovered Heron's formula?

Heron of Alexandria wrote the first known proof of Heron's formula in Metrica, around 60 CE. Arab scholars credit Archimedes (c. 287–212 BCE) with an earlier version, and Qin Jiushao published an equal formula in China in 1247.

Does Heron's formula work for right and obtuse triangles?

Yes, Heron's formula works for every triangle, including right, obtuse, acute, scalene, isosceles, and equilateral triangles. A 3-4-5 right triangle gives s = 6 and A = √(6 × 3 × 2 × 1) = 6, the same as ½ × 3 × 4.

Which class teaches the triangle area formula with 3 sides?

Class 9 teaches the triangle area formula with 3 sides in the NCERT mathematics book, in the chapter on Heron's formula. GCSE and Common Core courses cover Heron's formula as an extension topic.