Triangle Area Calculator (3 Sides)

Calculate the area of a triangle from its three sides using Heron's formula. Get the perimeter, angles, heights, medians, inradius, and circumradius, or solve for a missing side.

https://hexacalculator.com/calculators/mathematics/geometry/triangle-area-3-sides-calculator

Mathematics

Geometry

Triangle Area Calculator (3 Sides)

Calculate the area of a triangle from its three sides using Heron's formula. Get the perimeter, angles, heights, medians, inradius, and circumradius, or solve for a missing side.

Triangle Area Calculator (3 Sides)

Unit
Unit
Unit
Unit

Also show the heights and medians

The three altitudes (base times height) and the three medians to each side.

Also show the inscribed and circumscribed circles

The incircle that fits inside the triangle and the circumcircle that passes through all three corners.

Estimate the material cost

Multiply the area by a price per square metre for a quick material estimate.

Enter the three side lengths and the calculator finds the area, the three angles, the perimeter, and more. You can also enter the area with two sides to solve for the missing third side.

Please input values into the fields

Was this calculator helpful?

It takes one click and shapes what we fix next.

Add as preferred on Google

Show the angles pie chart

How the three interior angles split the 180 degrees of the triangle.

Show the side-lengths bar chart

The three sides compared as a share of the longest side.

When the three sides of a triangle are known, all information needed to calculate its area is present. There is no need to measure angles or determine heights by drawing perpendicular lines. Heron's Formula allows us to directly compute the area from the lengths of the three sides, and this tool performs those calculations for you.

The opposite is also possible: if the area and two arbitrary sides are entered, the tool calculates the missing third side. Once the triangle has been determined unambiguously, it also calculates the perimeter, the three interior angles, the heights to each side, the median axes as well as the inscribed and circumscribed circles.

What is Heron's formula?

This formula was developed in the first century A.D. by Hero of Alexandria and is still used today. The key to this formula is that you must first calculate the semiperimeter, which is half of the perimeter.

s=a+b+c2s = \frac{a + b + c}{2}

Once half the circumference is known, the area can be very easily calculated by multiplying four factors together and then taking the square root.

Area=s (s−a)(s−b)(s−c)\text{Area} = \sqrt{s\,(s - a)(s - b)(s - c)}

Consider a well-known triangle with sides of 3-4 and 5 as an example. The semiperimeter is 6, and the subsequent calculations are simple.

Area=6 (6−3)(6−4)(6−5)=6⋅3⋅2⋅1=36=6\text{Area} = \sqrt{6\,(6-3)(6-4)(6-5)} = \sqrt{6 \cdot 3 \cdot 2 \cdot 1} = \sqrt{36} = 6

This formula can be applied to any valid triangle, as long as the three sides form a closed figure. This includes equilateral, isosceles and scalene triangles alike.

How to use this calculator:

Enter the lengths of sides a, b and c and check the result in the output section. As each field can have a unit specified, you can for example enter one side in centimeters and another in inches. The calculator will first convert all values to the same base unit before performing the calculation.

If you want to calculate the length of a side from back, enter the area and two sides and leave the field for the third side blank. The calculator modifies Heron's formula and returns the length of the missing side. If the three sides do not satisfy the triangle inequality (i.e. the sum of any two sides must be greater than the third), an error message will appear instead of a false result.

Calculating angles from three sides:

The Law of Cosines also allows you to find the angles of a triangle when all three sides are given. For angle A, which is opposite side a, the following formula applies:

cos⁡A=b2+c2−a22bc\cos A = \frac{b^2 + c^2 - a^2}{2bc}

By simply switching the letters around, following the same rules, you get B and C. In a 3-4-5 triangle, calculations give approximately 36.87, 53.13, and 90 degrees. This is why it's a right triangle as found in textbooks.

The sum of the three angles is always 180 degrees. The calculator will show each angle and classify the triangle based on that as acute, right or obtuse.

Height, median, two circles.

The height, also called the altitude or perpendicular, is the vertical distance from one side to its opposite vertex. Since area is calculated by (base*height)/2, any height can be derived directly from the area.

ha=2 Areaah_a = \frac{2\,\text{Area}}{a}

A median is a line segment that connects a vertex to the midpoint of the opposite side. By turning on the Altitudes and Medians layers, you can see three altitudes and three medians.

Any triangle has two circles associated with it. The incircle is the largest circle that fits inside the triangle; its radius is equal to the area of the triangle divided by half its perimeter. The circumcircle goes through all three vertices and has a radius equal to the product of the sides of the triangle divided by four times the area.

r=AreasR=a b c4 Arear = \frac{\text{Area}}{s} \qquad R = \frac{a\,b\,c}{4\,\text{Area}}

Triangle classification

The calculator classifies triangles in two ways simultaneously. In the classification by sides, if all three sides are different then it is a scalene triangle; if two sides are equal, it is an isosceles triangle; and if all three sides are equal, it is an equilateral triangle.

By angle classification a triangle is acute if all angles are less than 90 degrees; right if one angle is exactly 90 degrees; and obtuse if one angle is more than 90 degrees. Since a triangle can only have one option from each classification, examples include isosceles, acute triangles or right, scalene triangles.

Examples of calculations

The table shows areas for various triangles; results are rounded to two decimal places. The last row shows a triangle with sides of length 9, 6 and 5 inches, which has an area of about 14.14 square inches.

Sides

Type

Area

3, 4, 5 cm

right scalene

6.00 sq cm

6, 6, 6 cm

equilateral

15.59 sq cm

5, 5, 6 cm

acute isosceles

12.00 sq cm

2, 3, 4 cm

obtuse scalene

2.90 sq cm

9, 6, 5 in

obtuse scalene

14.14 sq in

Application examples for the three sides method.

If the length of sides is measured but the angle is unknown, this method can be used. Surveyors walk along irregular boundaries and record the length of each side with a tape measure or GPS surveying device, entering the data into a calculation tool.

Roofers and floor layers also use the same method to determine material requirements for a triangular area. It is usually not practical to use a protractor on a construction site. The same method can be used in building beams and supports as well, since the length of each individual piece will be recorded even if the angles at the joints are not documented.

Tips for accurate results:

Always use the same units when measuring each side if possible. Mixing units is one of the most common causes for incorrect results. If a length seems unusually small or large, you should measure it again since small errors in length can affect area.

Before trusting the result, check the triangle inequality. If the sum of any two sides is less than or equal to the third side, then there is no calculable triangle and the area will be zero.

Frequently asked questions

How to calculate area of triangle with three sides?

We use Heron's formula. First we calculate half the perimeter s, which is the sum of sides a, b and c divided by two. Then we multiply s with three differences: (s - a), (s - b) and (s - c), and take the square root of the product. For a 3-4-5 triangle s equals 6, the product is 36, and its square root is 6.

Can you calculate the third side if you know the area and two sides?

Yes. If you enter the area and two arbitrary sides and leave the third side blank, a calculator tool will calculate it using a modified Heron's formula. In geometric cases where there are two solutions, the larger solution with obtuse angle is shown as the default solution.

Why does the calculator tool sometimes say a triangle is invalid?

This is because the triangle inequality is not satisfied. The sum of any two sides must be greater than the third side, otherwise it would not be possible to form a triangle with those three lengths. This usually indicates an input error or inconsistency in units. Please check your measurements carefully.

Can the heron's formula be applied to all triangles?

It can be applied to all valid triangles. Whether equilateral, isosceles or scalene, and whether acute, right or obtuse. The only exception are degenerate triangles where the three points lie on a straight line and the area is zero.

Do you need to know the height of the triangle?

No, that's actually the advantage of this method. While calculating area with (base*height)/2 requires an accurate height line which is often difficult to measure, Heron's formula only needs the lengths of all three sides, which are usually easy to determine.

How does a computer calculate angles from three sides?

We use the cosine rule, which states that for any angle, the cosine of the angle is equal to the sum of squares of the two adjacent sides minus the square side of the opposite angle divided by twice the product of the two adjacent sides. The sum of three angles always equals 180 degrees.

Related calculators

Triangle Area CalculatorFind the area of a triangle five ways: from the base and height, from three sides with Heron's formula, from two sides and the angle between them, from one side of an equilateral triangle, or from the base and equal sides of an isosceles one. Also gives the perimeter, angles, heights, medians, and circles.
Triangle Perimeter CalculatorFind the perimeter of a triangle three ways: from one side of an equilateral triangle, from the equal sides and base of an isosceles triangle, or from the three sides of a scalene triangle. Also gives the area, semi-perimeter, angles, heights, medians, and circles, and estimates a fencing cost.
Area of an Oblique Triangle CalculatorFind the area of an oblique (non-right) triangle from two sides and the included angle, two angles and a side, or three sides. Solves the whole triangle with the Law of Sines and the Law of Cosines and reports the perimeter, angles, heights, medians, and circles.
AAA Triangle CalculatorAngle-Angle-Angle triangle calculator: enter two angles to find the third, classify the triangle, and get the exact side ratios. Add one known side and it scales the whole triangle - sides, area, perimeter, heights, and circle radii - in degrees, radians, or gradians.
Area of a Triangle (SAS) CalculatorFind the area of a triangle from two sides and the included angle (SAS) with A = 1/2 a b sin(C). Also finds the missing third side, all three angles, the perimeter, heights, medians, and circles.
Base of a Triangle CalculatorFind the base of a triangle from its area and height, or from two equal sides, a right-angle hypotenuse, the perimeter, or a side and two angles. Solve for the area or height too.

Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.

References

  1. Wikipedia: Heron's formula

    Derivation and history of the area formula from three sides, plus the semi-perimeter.

  2. Wikipedia: Law of cosines

    How the three sides determine each interior angle.

  3. Math is Fun: Heron's Formula

    Plain-language walk-through of the three-sides area method.