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
- 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.
- 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.
- Find the semiperimeter. The calculator adds the 3 sides and halves the total: s = (a + b + c) ÷ 2.
- 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.
- 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.
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
- Start from A = ½ × a × b × sin C, the trigonometric area formula.
- Find cos C from the law of cosines: cos C = (a² + b² − c²) ÷ 2ab.
- 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).
- 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
| Triangle type | Sides | Heron's formula becomes |
|---|---|---|
| Equilateral | a, a, a | A = (√3 ÷ 4) a² |
| Isosceles | a, a, b | A = (b ÷ 4) √(4a² − b²) |
| Right | a, b, hypotenuse c | A = ½ 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.
| Sides a-b-c | Semiperimeter s | s(s−a)(s−b)(s−c) | Area |
|---|---|---|---|
| 3-4-5 | 6 | 36 | 6 |
| 5-5-6 | 8 | 144 | 12 |
| 5-5-8 | 9 | 144 | 12 |
| 5-6-7 | 9 | 216 | 14.7 |
| 6-6-6 | 9 | 243 | 15.59 |
| 6-8-10 | 12 | 576 | 24 |
| 7-8-9 | 12 | 720 | 26.83 |
| 5-12-13 | 15 | 900 | 30 |
| 8-15-17 | 20 | 3,600 | 60 |
| 13-14-15 | 21 | 7,056 | 84 |
| 10-10-10 | 15 | 1,875 | 43.3 |
| 9-10-17 | 18 | 1,296 | 36 |
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.
| Area unit | Value | From 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.
- s = (5 + 6 + 7) ÷ 2 = 9
- A = √(9 × 4 × 3 × 2) = √216 = 14.7 cm²
- Height to side 7: h = 2 × 14.7 ÷ 7 = 4.2 cm
- 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.
- cos C = (25 + 36 − 49) ⁄ (2 × 5 × 6) = 12 ⁄ 60 = 0.2
- C = 78.46°, sin C = √(1 − 0.04) = 0.9798
- A = ½ × 5 × 6 × 0.9798 = 14.7
- 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.
- s = (8 + 11 + 13) ÷ 2 = 16
- s − a = 8, s − b = 5, s − c = 3
- A = √(16 × 8 × 5 × 3) = √1,920
- 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.