Introduction
If you know the lengths of all three sides of a triangle, you can find its area without measuring its height. The standard method is Heron’s formula: first add the side lengths, halve the total, and use that half-perimeter in a square-root calculation. Before calculating, check that the lengths can actually form a triangle. The steps below explain the formula, show worked examples, and highlight common mistakes.
- The formula for finding a triangle’s area from its sides
- How to calculate the area step by step
- Worked example: a triangle with sides 13, 14, and 15
- Another example: an isosceles triangle
- Why the formula works
- Checking whether three lengths form a triangle
- Common mistakes to avoid
- When to use Heron’s formula
- Using a calculator carefully
- Conclusion
The formula for finding a triangle’s area from its sides
Heron’s formula gives the area of a triangle using only its three side lengths. If the sides are called a, b, and c, first calculate the semiperimeter, usually written as s:
s = (a + b + c) ÷ 2
The semiperimeter is half the triangle’s perimeter. Once you know it, substitute it and the three side lengths into Heron’s formula:
Area = √[s(s − a)(s − b)(s − c)]
In plain terms, subtract each side in turn from the semiperimeter, multiply those three results by the semiperimeter, and find the square root of the product. The answer is the area, expressed in square units.
For example, if the sides are measured in centimetres, the area is in square centimetres. The formula works with other consistent units, too: metres produce square metres, and inches produce square inches. Make sure all three side lengths use the same unit before starting.
How to calculate the area step by step
A careful order of operations helps prevent mistakes. Keep the side lengths visible as you work, and avoid rounding intermediate values unless necessary.
1. Name the three side lengths. Write them as a, b, and c. The labels can be assigned in any order; Heron’s formula treats all three sides equally.
2. Check that the sides can form a triangle. The sum of any two sides must be greater than the remaining side. A quick check is to add the two shorter sides and make sure their total exceeds the longest side.
3. Find the semiperimeter. Add all three lengths, then divide the sum by two.
4. Calculate the three differences. Work out s − a, s − b, and s − c.
5. Multiply the four factors and take the square root. Calculate s(s − a)(s − b)(s − c), then find its square root. Include square units in your final answer.
It can help to write the calculation on separate lines. This makes it easier to spot whether a subtraction, multiplication, or square root has been entered incorrectly.
Worked example: a triangle with sides 13, 14, and 15
Suppose a triangle has side lengths of 13 cm, 14 cm, and 15 cm. First, the two shorter sides add to 27 cm, which is greater than the longest side, 15 cm, so the lengths pass the basic triangle check.
Find the semiperimeter:
s = (13 + 14 + 15) ÷ 2 = 42 ÷ 2 = 21 cm
Now subtract each side from 21:
s − 13 = 8
s − 14 = 7
s − 15 = 6
Substitute these values into Heron’s formula:
Area = √(21 × 8 × 7 × 6)
Area = √7056
Area = 84 cm²
The triangle’s area is 84 square centimetres. Notice that the intermediate factors are lengths, but their product has units of length to the fourth power. Taking the square root leaves square units, as an area should.
Another example: an isosceles triangle
An isosceles triangle has two sides of equal length. Consider one with sides 5 m, 5 m, and 6 m. The shorter sides together measure 10 m, more than the longest side, so a triangle is possible.
The semiperimeter is:
s = (5 + 5 + 6) ÷ 2 = 8 m
Using Heron’s formula:
Area = √[8(8 − 5)(8 − 5)(8 − 6)]
Area = √(8 × 3 × 3 × 2)
Area = √144 = 12 m²
This result can also be checked with the familiar base-and-height formula. If the 6 m side is used as the base, the altitude divides it into two 3 m sections. A right triangle then has a hypotenuse of 5 m and one leg of 3 m, so its other leg is 4 m. The full triangle’s area is (6 × 4) ÷ 2 = 12 m².
Why the formula works
The usual area formula is Area = (base × height) ÷ 2. When only the side lengths are known, the challenge is that the height has not been given. Heron’s formula provides a way to calculate the same area without measuring that height directly.
One way to understand the connection is to call the chosen base c and the perpendicular height h. The two other sides, a and b, together with the height split the triangle into two right triangles. Applying the Pythagorean theorem to those smaller triangles relates the height to the three side lengths. Substituting that relationship into the base-and-height area formula leads to Heron’s formula.
The formula is associated with Heron of Alexandria, an ancient mathematician. For practical calculations, it is not necessary to derive it: once the side lengths are known and valid, the semiperimeter formula gives the area directly.
Checking whether three lengths form a triangle
Three positive lengths do not always describe the sides of a triangle. The triangle inequality says that the sum of any two sides must be strictly greater than the third. Because the longest side is the most demanding check, adding the two shorter sides and comparing their sum with the longest is usually sufficient.
For example, lengths 3, 4, and 8 cannot form a triangle: 3 + 4 is less than 8. In Heron’s formula, the semiperimeter would be 7.5, making the factor s − 8 negative. That is a warning that the proposed lengths do not define an ordinary triangle.
If the two shorter sides add up to exactly the longest side, the shape is flat rather than a triangle with positive area. For instance, lengths 3, 4, and 7 can lie along one straight line, but they cannot enclose a two-dimensional region. In this limiting case, the area is zero. For a triangle with positive area, the inequality must be strict.
Common mistakes to avoid
Using the perimeter instead of the semiperimeter: The formula requires half the perimeter. If the sides total 42, use s = 21, not 42.
Subtracting the sides from the wrong value: Each factor is the semiperimeter minus one side, such as s − a. Do not subtract the semiperimeter from the side.
Forgetting parentheses: Enter the full product inside the square root. The square root applies to s(s − a)(s − b)(s − c), not just to the last factor.
Mixing measurement units: Convert all sides to one unit before calculating. A side measured in metres cannot be added directly to sides measured in centimetres without conversion.
Rounding too early: If the side lengths or semiperimeter include decimals, keep as many digits as practical during the calculation and round the final area. Early rounding can slightly change the result.
Reporting the wrong units: Area uses squared units. If the inputs are in feet, for example, the result is in square feet—not feet.
When to use Heron’s formula
Heron’s formula is especially useful when all three side lengths are known but no height is provided. This can happen in geometry exercises, surveying-style measurements, or when a triangular piece is described by the lengths of its edges. It also works for scalene triangles, whose three sides have different lengths, as well as for isosceles and equilateral triangles.
If a base and its perpendicular height are already known, the simpler formula Area = (base × height) ÷ 2 is often quicker. The two methods give the same area when the measurements are accurate. Heron’s formula is not a different kind of area; it is a way to determine that area from side lengths alone.
For an equilateral triangle, all sides have the same length, so Heron’s formula can be used by setting a = b = c. If each side has length x, its area simplifies to (√3 ÷ 4)x². This special result is convenient, but the general formula works as well.
Using a calculator carefully
A basic calculator can handle Heron’s formula. First calculate and note the semiperimeter. Then enter the four factors inside the square root, using brackets or parentheses to keep the full product together. For the 13, 14, 15 example, the expression is √(21 × 8 × 7 × 6).
If a calculator displays a decimal, the result may be exact or approximate depending on the numbers. The worked examples above produce whole-number areas, but many triangles have areas that are irrational numbers or long decimals. Give a sensible number of decimal places when a rounded answer is requested, and retain the exact square-root form when that is useful.
Some calculators and spreadsheet programs offer a square-root function. The order remains the same: calculate the semiperimeter, form the product, and take the square root of that complete product. A calculator cannot determine whether the original lengths make a valid triangle unless you check the triangle inequality yourself.
Conclusion
When only the three side lengths are known, use Heron’s formula: find the semiperimeter, calculate its difference from each side, multiply the four factors, and take the square root. First confirm that the two shorter sides add to more than the longest, and keep units consistent. With those checks, the method gives the triangle’s area without needing its height.

