# Triangle Area Calculator

URL: https://hifreetools.com/calculators/triangle-area-calculator

> Calculate the area of any triangle in two ways: from a base and its height, or from the lengths of all three sides using Heron's formula. Results update live as you type.

## Quick answer

A triangle's area equals one-half its base times its height: A = ½ · b · h. For a base of 10 and a height of 6, A = ½ · 10 · 6 = 30 square units. If you only know the three side lengths a, b, and c, use Heron's formula: compute the semi-perimeter s = (a + b + c) / 2, then A = √(s(s − a)(s − b)(s − c)).

## Formula

- Base and height: A = ½ · b · h
- Heron's formula (three sides): s = (a + b + c) / 2, A = √(s(s − a)(s − b)(s − c))

## Examples

- Base and height (default): Mode: Base & height, base b = 10, height h = 6 → Area = 30 square units
- Right triangle from three sides (3-4-5): Mode: Three sides, a = 3, b = 4, c = 5 → Area = 6 square units
- Scalene triangle from three sides (13-14-15): Mode: Three sides, a = 13, b = 14, c = 15 → Area = 84 square units
- Invalid triangle caught by the inequality check: Mode: Three sides, a = 1, b = 2, c = 10 → No triangle exists

## FAQ

**Why is the triangle area formula one-half base times height?**
Any triangle is exactly half of a parallelogram (or rectangle) built on the same base and height. A parallelogram's area is base × height, so a triangle covers half of that: A = ½ · b · h. This holds for every triangle regardless of its angles.

**What is Heron's formula and when do I need it?**
Heron's formula finds a triangle's area from its three side lengths alone. First compute the semi-perimeter s = (a + b + c)/2, then A = √(s(s − a)(s − b)(s − c)). Use it whenever you know all three sides but have no height or angle to work with.

**How do I find the height if I only know the sides?**
Compute the area with Heron's formula, then rearrange A = ½·b·h to get h = 2A / b for the base you care about. For example, the 13-14-15 triangle has area 84, so the height to the side of length 14 is 2·84/14 = 12.

**What is the triangle inequality and why does it matter here?**
The triangle inequality says each side must be shorter than the sum of the other two (a + b > c, a + c > b, b + c > a). If it fails, the lengths cannot form a closed triangle and Heron's formula would take the square root of a negative number, so this calculator reports that no triangle exists.

**Does the calculator work for right, isosceles, and equilateral triangles?**
Yes. Both methods apply to every triangle type. For a right triangle the two legs are a valid base and height, so A = ½·leg₁·leg₂. For equilateral or isosceles triangles where you only know the sides, Heron's formula gives the area directly.

**What units does the result use?**
The calculator is unit-agnostic: it returns the area in whatever squared unit your inputs use. If you enter lengths in centimeters the area is in cm²; in meters it is m². Just keep every input in the same unit.


## Sources

- [Wikipedia - Area of a triangle](https://en.wikipedia.org/wiki/Area_of_a_triangle)
- [Wikipedia - Heron's formula](https://en.wikipedia.org/wiki/Heron%27s_formula)
- [Math Open Reference - Triangle area](https://www.mathopenref.com/triangleareamain.html)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Triangle Area Calculator", https://hifreetools.com/calculators/triangle-area-calculator
