Heron’s Formula Calculator — Area from 3 Sides
Geometry & trigFreeNo sign-up
A Heron’s formula calculator finds a triangle’s area from its three sides. First take the semi-perimeter s = (a + b + c)/2, then Area = √[s(s − a)(s − b)(s − c)]. For sides 5, 6 and 7, s = 9 and the area is √(9 × 4 × 3 × 2) = √216 = 6√6 ≈ 14.70 square units.
Sides 5, 6, 7 · s = 9 · Scalene, acute triangle
A triangle with sides 5, 6 and 7 has semi-perimeter s = 9 and area √(9 × 4 × 3 × 2) = 6√6 ≈ 14.70 square units.
Triangle inequality check passed: each side is shorter than the sum of the other two.
Heron’s formula pieces
Angles (law of cosines)
Heights and circles
Show steps
- Check the triangle inequality: 5 + 6 > 7, 5 + 7 > 6 and 6 + 7 > 5. All true, so the triangle exists.
- Semi-perimeter: s = (a + b + c)/2 = (5 + 6 + 7)/2 = 18/2 = 9.
- Subtract each side from s: s − a = 4, s − b = 3, s − c = 2.
- Heron’s formula: Area = √[s(s − a)(s − b)(s − c)] = √(9 × 4 × 3 × 2) = √216.
- Pull out the largest square factor: 216 = 36 × 6, so √216 = 6√6 = 6√6 ≈ 14.70 square units.
- Angles from the law of cosines, cos A = (b² + c² − a²)/(2bc): cos A = 5/7, so A ≈ 44.42°; cos B = 19/35, so B ≈ 57.12°; cos C = 1/5, so C ≈ 78.46°.
- Type: Scalene, acute. No two sides are equal, and the square of the longest side is less than the sum of the squares of the other two.
Check: the three angles add up to 180°, and Area = ½ × c × h gives the same answer with h = 12√6/7 ≈ 4.20.
How to use the Heron’s formula calculator
- Choose Three sides to find the area, or Two sides & area to find the missing third side.
- Type the side lengths as whole numbers, decimals or fractions, all in the same unit. Pick the unit if you want it shown in the answer.
- Press Find area (results also update as you type). The calculator checks the triangle inequality first and tells you which side is too long if the triangle cannot exist.
- Read the area as an exact simplified radical and a decimal, then the semi-perimeter, the three angles, the triangle type, heights, inradius and circumradius. Open Show steps for the full working and check the diagram, which is drawn to scale.
Heron’s formula
For a triangle with sides a, b and c:
- Semi-perimeter: s = (a + b + c)/2, half the perimeter.
- Area: A = √[s(s − a)(s − b)(s − c)].
The formula needs no height and no angles, which makes it the natural choice when only the sides are known, such as a plot of land measured with a tape. It is named after Heron of Alexandria, who gave a proof in his book Metrica.
Multiplying everything out gives an equivalent form with no fractions: 16A² = (a + b + c)(−a + b + c)(a − b + c)(a + b − c). This version is handy when the sides are decimals.
Worked examples
Example 1: sides 7, 8 and 9 (simplifying the root)
- s = (7 + 8 + 9)/2 = 12.
- s − a = 5, s − b = 4, s − c = 3.
- A = √(12 × 5 × 4 × 3) = √720.
- 720 = 144 × 5 and 144 is a perfect square, so √720 = 12√5 ≈ 26.83 square units.
Example 2: a 3-4-5 right triangle
s = 6, so A = √(6 × 3 × 2 × 1) = √36 = 6. The usual ½ × base × height gives ½ × 3 × 4 = 6 too, a quick check that the formula works.
Example 3: an equilateral triangle with side 6
s = 9 and each s − a is 3, so A = √(9 × 3 × 3 × 3) = √243 = 9√3 ≈ 15.59. This matches the equilateral formula (√3/4)a² = 9√3.
Example 4: a triangular garden
A garden has sides 20 m, 25 m and 30 m. Then s = 37.5 and A = √(37.5 × 17.5 × 12.5 × 7.5) ≈ 248.04 m². That tells you how much soil or seed to buy without measuring any height.
The triangle inequality check
Three lengths make a triangle only if each one is shorter than the sum of the other two. If one side equals the sum of the others, such as 1, 2 and 3, the three corners lie on a straight line and the area is 0. If a side is longer, such as 2, 3 and 10, the short sides cannot meet, and Heron’s formula would ask for the square root of a negative number. The calculator runs this check before anything else and names the side that fails.
Angles, triangle type and more from the sides
Once the three sides are known, the triangle is fixed, so every other measurement follows:
- Angles come from the law of cosines: cos A = (b² + c² − a²)/(2bc). For 5, 6, 7, cos A = 5/7, so A ≈ 44.42°, B ≈ 57.12° and C ≈ 78.46°.
- Triangle type: equilateral, isosceles or scalene by the sides; right, acute or obtuse by comparing the square of the longest side with the sum of the squares of the other two.
- Heights: h = 2A/side. For 5, 6, 7 the height onto side 7 is 12√6/7 ≈ 4.20.
- Inradius r = A/s and circumradius R = abc/(4A).
Finding a missing side from the area
If you know two sides and the area, the area fixes sin C = 2A/(ab). An angle and its supplement have the same sine, so there are usually two triangles: one with C acute and one with C obtuse. With sides 5 and 6 and area 12, sin C = 0.8, cos C = ±0.6, and the law of cosines gives c² = 61 ∓ 36, so c = 5 or c = √97 ≈ 9.85. Both triangles have area 12. When sin C = 1 there is a single right triangle, and when 2A is more than ab no triangle exists.
Heron’s formula quick reference
| Sides | s | s(s − a)(s − b)(s − c) | Area |
|---|---|---|---|
| 3, 4, 5 | 6 | 36 | 6 |
| 5, 5, 6 | 8 | 144 | 12 |
| 5, 6, 7 | 9 | 216 | 6√6 ≈ 14.70 |
| 7, 8, 9 | 12 | 720 | 12√5 ≈ 26.83 |
| 6, 6, 6 | 9 | 243 | 9√3 ≈ 15.59 |
| 13, 14, 15 | 21 | 7056 | 84 |
Common mistakes with Heron’s formula
- Using the full perimeter. s is half the perimeter. Using a + b + c makes every factor wrong.
- Rounding s or the product early. Keep exact values until the last step; the calculator shows the exact radical for this reason.
- Not simplifying the root. √216 should be written 6√6: find the largest perfect square factor (36) and take its root outside.
- Mixing units. Convert all sides to the same unit first. The area comes out in square units of that length.
- Skipping the triangle inequality. A negative factor such as s − c < 0 means the sides cannot form a triangle.
- Trusting a calculator blindly with very thin triangles. For sides such as 100, 101 and 199, s − c is only 1, and rounded inputs can change the area noticeably. Exact arithmetic avoids that.
Checking homework with the calculator
Write s and the three differences by hand, multiply, and estimate the root before you press anything; √216 is a little under √225 = 15, so about 14.7 is believable. Then compare your working with Show steps line by line. If the area looks wrong, check that you halved the perimeter and that each side is shorter than the other two combined.
Heron’s formula practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
s is half the perimeter: (8 + 11 + 13)/2 = 32/2 = 16. 32 is the full perimeter.
s = 12, so A = √(12 × 6 × 4 × 2) = √576 = 24. It is a right triangle, so ½ × 6 × 8 = 24 agrees.
3 + 4 = 7 is less than 8, so the triangle inequality fails. In Heron's formula s − c would be negative.
s = 6, so A = √(6 × 2 × 2 × 2) = √48 = 4√3 ≈ 6.93, the same as (√3/4) × 4².
s = 21 and A = √(21 × 8 × 7 × 6) = √7056 = 84. 7056 is the product before taking the root.
Law of cosines: cos C = (5² + 6² − 7²)/(2 × 5 × 6) = 12/60 = 1/5, so C ≈ 78.46°.
The longest side squared is 49, which is greater than 4² + 5² = 41, so the angle opposite it is obtuse.
Quiz complete
Frequently asked questions
What is Heron's formula?
Heron's formula gives the area of a triangle from its three sides: A = √[s(s − a)(s − b)(s − c)] with s = (a + b + c)/2. For sides 5, 6 and 7, A = √216 = 6√6 ≈ 14.70.
What does Heron's formula calculate?
It calculates area only, but it works for every triangle: right, acute, obtuse, isosceles or scalene. For the 3-4-5 right triangle it gives 6, the same as ½ × 3 × 4.
How do you simplify the square root in Heron's formula?
Factor the product and pull out perfect squares. For sides 7, 8 and 9 the product is 720 = 144 × 5, so the area is √144 × √5 = 12√5.
Can Heron's formula be used for a quadrilateral?
Not directly. Draw a diagonal to split the quadrilateral into two triangles, measure the diagonal, and add the two Heron areas. For a cyclic quadrilateral (one whose corners lie on a circle), Brahmagupta's formula √[(s − a)(s − b)(s − c)(s − d)] extends Heron's idea.
How do you use Heron's formula step by step?
Add the sides and halve the total to get s, subtract each side from s, multiply s by the three differences, and take the square root. For an equilateral triangle with side 6: s = 9, differences 3, 3, 3, product 243, area 9√3 ≈ 15.59.
Does Heron's formula always work?
Yes, for any three lengths that form a triangle. If the product under the root is 0 or negative, the lengths fail the triangle inequality and no triangle exists.
Related calculators
- Triangle calculator
- Law of sines and cosines calculator
- Pythagorean theorem calculator
- Special right triangles calculator
- Square root simplifier
- Area and perimeter calculator
More geometry & trig calculators
Related to This Article
More math articles
- Georgia Paycheck Calculator
- Education and Social Reproduction
- Minnesota Algebra 1 Free Worksheets: Printable Algebra 1 Practice You Can Download Free
- 10 Most Common 4th Grade MCAS Math Questions
- The Ultimate TExES Core Subjects Math Course (+FREE Worksheets & Tests)
- Monroe Doctrine and Hemispheric Diplomacy: Principles, Context and Power
- HSPT Math Flashcards (Free Online: Formulas, Terms & Concepts)
- Implementation
- 7th Grade Georgia Milestones Assessment System Math FREE Sample Practice Questions
- Acronyms, IFUs, Standards, and Records









What people say about "Heron's Formula Calculator: Area From 3 Sides, Exact Root"?
No one replied yet.