Enter data
EducationVertex A
Vertex B
Vertex C
- Equilateral
- Isosceles
- Right
Settings
- No units
- mm
- cm
- dm
- m
- km
- in
- ft
- 4
- 2
- 6
- 8
- 10
What the triangle area calculator does
The calculator finds the area of a triangle in five ways: from the base and height, from three sides (Heron's formula), from two sides and the angle between them, from the vertex coordinates and for special types (equilateral, isosceles, right). The answer is written exactly, with radicals, for example 6√6, and a decimal approximation is shown beside it. For three sides the perimeter, heights, angles, inradius, circumradius and the type of triangle are found as well.
Area from the base and height
S = a · h / 2, where a is the base and h is the height drawn to it. For a = 6 and h = 4 we get S = 6 · 4 / 2 = 12. The height can lie outside the triangle (for an obtuse one), but the formula is the same.
Heron's formula
If the three sides a, b, c are known, first find the semiperimeter p = (a + b + c) / 2, then S = √(p(p − a)(p − b)(p − c)). For 3, 4, 5 we get p = 6 and S = √(6 · 3 · 2 · 1) = 6. For 5, 6, 7 we get p = 9 and S = √(9 · 4 · 3 · 2) = √216 = 6√6 ≈ 14.6969. The calculator computes under the root exactly, so the answer does not lose precision even for very elongated triangles.
Two sides and the angle between them
S = a · b · sin γ / 2. For a = 8, b = 5 and γ = 30° we have sin 30° = 1/2, so S = 8 · 5 · (1/2) / 2 = 10. For 30°, 45°, 60°, 90°, 120°, 135° and 150° the sine is known exactly and the answer comes out with a radical (for 60° it is ab√3/4), while for other angles it is approximate.
Area from vertex coordinates
For the vertices A(x₁; y₁), B(x₂; y₂), C(x₃; y₃) the area is S = |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)| / 2. For A(0; 0), B(4; 0), C(0; 3) we get |0 + 4 · 3 + 0| / 2 = 6. If the expression inside the absolute value is zero, the points lie on one line and there is no triangle.
Equilateral, isosceles and right triangles
For an equilateral triangle with side a the area is S = a²√3 / 4: for a = 6 it is 9√3 ≈ 15.5885. For an isosceles triangle with base b and leg a the height is h = √(a² − b²/4) and S = b · h / 2: for b = 6 and a = 5 the height is 4 and the area 12. For a right triangle with legs a and b the area is S = ab / 2 and the hypotenuse c = √(a² + b²): for 3 and 4 the area is 6 and c = 5.
Heights, angles and circle radii
The height to side a equals 2S / a. The angles come from the law of cosines: cos A = (b² + c² − a²) / (2bc); for 5, 6, 7 the angle A ≈ 44.4153°. The inradius r = S / p and the circumradius R = abc / (4S): for 5, 6, 7 they are ≈ 1.633 and ≈ 3.5722. The type of triangle by angles is found by comparing the square of the largest side with the sum of the squares of the other two.
All entered numbers are handled exactly (fractions are not rounded) and roots are simplified: for example the area of 5, 6, 7 is written as 6√6.
FAQ
How do I find the area of a triangle?
The simplest is S = a · h / 2: half the product of the base and the height. If there is no height, use Heron's formula, the product of two sides and the sine of the angle, or the vertex coordinates.
How do I find the area from three sides?
By Heron's formula: p = (a + b + c) / 2, S = √(p(p − a)(p − b)(p − c)). For sides 3, 4, 5 the area is 6.
How do I find the area from two sides and an angle?
S = a · b · sin γ / 2, where γ is the angle between these sides. For 8, 5 and 30° the area is 10.
How do I find the area from coordinates?
S = |x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)| / 2. For A(0; 0), B(4; 0), C(0; 3) the area is 6.
How do I find the area of an equilateral triangle?
S = a²√3 / 4. For a = 6 it is 9√3 ≈ 15.5885.
How do I find the area of a right triangle?
Half the product of the legs: S = ab / 2. For legs 3 and 4 it is 6, and the hypotenuse is 5.
How do I find the area of an isosceles triangle?
First the height to the base h = √(a² − b²/4), then S = b · h / 2. For b = 6 and a = 5 the area is 12.
When does a triangle exist?
When every side is smaller than the sum of the other two (the triangle inequality). If one side equals the sum of the other two, the triangle degenerates into a segment.
How do I tell the type of a triangle?
By sides: equilateral, isosceles, scalene. By angles: compare the square of the largest side with the sum of the squares of the other two: equal — right, smaller — acute, larger — obtuse.
What are the inradius and circumradius?
r = S / p is the radius of the circle inscribed in the triangle, R = abc / (4S) is the radius of the circle around it. The calculator shows them for three sides.
Can I enter fractions and decimals?
Yes: 2.5, 5/2, −1/3 for coordinates. The numbers are handled exactly without rounding, so the answer may be a root.
Why is the answer written with a root?
Because the square of the area is rational and its root simplifies exactly: √216 = 6√6. A decimal value is always shown beside it, and its precision is set by the decimal places.