Area of Triangle Calculator

Calculate triangle area using base-height formula or Heron's formula with three sides.

Calculation Method

Triangle Diagram

hbase

Area of Triangle

30.0000

square units

Step-by-Step Solution

Formula: A = (1/2) x base x height

Calculation

A = (1/2) x 10 x 6 = 30

Triangle Area Formulas

Base-Height Formula

A = (1/2) x b x h

Heron's Formula

A = sqrt(s(s-a)(s-b)(s-c))
where s = (a+b+c)/2

What Is an Area of Triangle Calculator?

An area of triangle calculator computes the enclosed space of a triangle using two distinct methods: the classic base-height formula (A = ½ × b × h) and Heron's formula (A = √(s(s−a)(s−b)(s−c)) using all three side lengths). Which method you choose depends on what information you have — a surveyor might know all three sides from measuring a triangular plot, while a student solving a geometry problem might be given the base and height directly.

When using the three-sides method, the calculator also performs a full triangle analysis: it checks the triangle inequality (sum of any two sides must exceed the third), computes all three interior angles via the law of cosines, identifies the triangle type (equilateral, isosceles, or scalene), and detects whether the triangle is a right triangle by checking the Pythagorean relationship. This makes it more than an area finder — it's a complete triangle profiler.

The dual-mode design means you never need two separate calculators. Toggle between methods based on the data you have, and the step-by-step panel shows exactly which formula was applied and how the arithmetic worked out.

Triangle Area Formulas

The two formulas are complementary: the base-height method works when you know a side and its corresponding altitude; Heron's formula works when you know all three sides but no height.

Triangle Area Formulas

A = ½ × b × h | A = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2

Where:

  • b= Base — the length of one side of the triangle
  • h= Height — the perpendicular distance from the base to the opposite vertex
  • a, b, c= The three side lengths in Heron's formula; s is the semi-perimeter (a+b+c)/2

Understanding the Results

OutputHow It's Computed
AreaBase-height mode: A = 0.5 × b × h; Three-sides mode: Heron's formula with semi-perimeter s
Triangle TypeEquilateral (all sides equal), Isosceles (two sides equal), or Scalene (all sides different)
Right TriangleChecked using a² + b² ≈ c² where c is the longest side
Interior AnglesComputed via law of cosines: cos(A) = (b² + c² − a²) / (2bc), then converted to degrees

If the three sides do not satisfy the triangle inequality (a + b > c, a + c > b, b + c > a), an error message is displayed because no triangle can exist with those measurements.

How to Use This Calculator

  1. Choose the method: Click Base & Height if you know a side and its perpendicular altitude. Click Three Sides (Heron) if you know all three side lengths.
  2. Enter measurements: For base-height, enter base and height. For three sides, enter side a, side b, and side c. The calculator validates that the sides form a valid triangle.
  3. Read the area: The highlighted result shows the area in square units.
  4. For three-sides mode, review the full profile: The calculator also reports triangle type (equilateral/isosceles/scalene), perimeter, semi-perimeter, right-triangle status, and all three interior angles in degrees.

Real-World Applications

Triangle area calculations are central to surveying and land measurement. A plot of land is rarely perfectly rectangular, and triangulation — dividing an irregular polygon into triangles and computing each area — is the standard method for determining acreage. Surveyors measure all three sides of each triangle (easy with modern laser distance meters) and apply Heron's formula. The base-height formula is used in construction for roof trusses and gable ends, where the height is the rise and the base is the span.

In graphics and game development, triangles are the fundamental rendering primitive — every 3D model is a mesh of triangles. Knowing the area helps with texture mapping, lighting calculations, and collision detection. In navigation, the area of a triangle formed by three GPS waypoints can estimate the region covered by a search pattern. Even in sewing and fashion design, triangular pattern pieces (gussets, gores) need accurate area calculations for fabric estimation.

Worked Examples

Base-Height Method

Problem:

A triangle has base = 10 cm and height = 6 cm. Find its area.

Solution Steps:

  1. 1Select Base & Height mode.
  2. 2Enter b = 10 and h = 6.
  3. 3Apply A = ½ × 10 × 6 = 5 × 6 = 30.

Result:

Area = 30.0000 cm². The step-by-step panel shows A = (1/2) × 10 × 6 = 30.

Heron's Formula for a General Triangle

Problem:

A triangle has sides a = 5, b = 6, c = 7. Find its area and type.

Solution Steps:

  1. 1Select Three Sides (Heron) mode.
  2. 2Enter a = 5, b = 6, c = 7.
  3. 3Semi-perimeter s = (5 + 6 + 7) / 2 = 9.
  4. 4Heron: A = √(9 × 4 × 3 × 2) = √216 ≈ 14.6969.
  5. 5All sides different → Scalene. Angles: A ≈ 44.42°, B ≈ 57.12°, C ≈ 78.46°.

Result:

Area ≈ 14.6969 sq units. Type: Scalene. Angles: A ≈ 44.42°, B ≈ 57.12°, C ≈ 78.46°. Valid triangle: Yes.

Right Triangle Detection

Problem:

Verify the 3-4-5 triangle is right and find its area.

Solution Steps:

  1. 1Enter a = 3, b = 4, c = 5 in three-sides mode.
  2. 2Semi-perimeter s = (3 + 4 + 5) / 2 = 6.
  3. 3Heron: A = √(6 × 3 × 2 × 1) = √36 = 6.
  4. 4Right check: 3² + 4² = 9 + 16 = 25 = 5² → Right triangle.

Result:

Area = 6.0000 sq units. Type: Scalene. Right Triangle: Yes. Angles: A ≈ 36.87°, B ≈ 53.13°, C = 90.00°.

Tips & Best Practices

  • Heron's formula works for any triangle shape — acute, right, or obtuse — as long as the sides satisfy the triangle inequality.
  • If you know two sides and the included angle, use A = ½ × a × b × sin(C) — not yet built into this calculator but easy to do by hand.
  • The angle values are in degrees and always sum to 180° (within floating-point rounding). Use this to verify your inputs.
  • When measuring sides of a real triangle, add a small margin of error — the calculator uses strict inequalities for validity checking.
  • For equilateral triangles, the area simplifies to A = (√3/4) × a² where a is the side length — the calculator will confirm this.
  • The semi-perimeter s is exactly half the perimeter. Heron's formula pairs s with (s−a), (s−b), and (s−c) — all must be positive for a valid triangle.

Frequently Asked Questions

Heron's formula computes a triangle's area from its three side lengths without needing the height. First compute the semi-perimeter s = (a+b+c)/2, then A = √(s(s−a)(s−b)(s−c)). It was discovered by Heron of Alexandria around 60 AD and is one of the most elegant results in classical geometry.
The triangle inequality states that the sum of any two sides must be strictly greater than the third side. For sides (5, 6, 7): 5+6=11 > 7, 5+7=12 > 6, 6+7=13 > 5 — valid. But (2, 3, 6) fails because 2+3=5 < 6. The calculator automatically flags invalid triangles.
It compares all three side lengths. If all three are equal (within floating-point tolerance), it's equilateral. If exactly two are equal, it's isosceles. If all three are different, it's scalene. The right-triangle check uses the Pythagorean theorem: the longest side squared should equal the sum of squares of the other two.
Yes. Heron's formula works for all valid triangles — acute, right, and obtuse. The law of cosines correctly computes angles greater than 90°. For example, a triangle with sides 3, 4, 6 is obtuse (angle C ≈ 117.28°), and the calculator handles it correctly.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Area of Triangle Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Handbook of Mathematical Functions

by Abramowitz & Stegun

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.