Skip to main content
Skip to calculator
Advertisement

Last updated: July 26, 2026

3 Sides Triangle Area Calculator

Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

s = (a + b + c)/2, Area = √(s(s-a)(s-b)(s-c))

Where:

  • a=Side a
  • b=Side b
  • c=Side c
  • s=Semiperimeter
  • A=Triangle area
Area = √(s(s-a)(s-b)(s-c))s = (a+b+c)/2abc

Worked Examples

Area of a 5-6-7 triangle

Use Heron's formula when all three sides are known.

  1. 1Compute semiperimeter: s = (5 + 6 + 7)/2 = 9
  2. 2Area = √(9(9-5)(9-6)(9-7))
  3. 3Area = √(9×4×3×2) = √216
  4. 4Area ≈ 14.696938
Final Answer: 14.696938

Equilateral triangle with side 10

All three sides equal—Heron's formula still works, result matches s²√3/4.

  1. 1s = (10+10+10)/2 = 15
  2. 2Area = √(15×5×5×5) = √1875 = 25√3
  3. 3Decimal: ≈ 43.301270
Final Answer: 43.301270

Right triangle 3-4-5

Classic Pythagorean triple; Heron's result matches ½×base×height = 6.

  1. 1s = (3+4+5)/2 = 6
  2. 2Area = √(6×3×2×1) = √36 = 6
Final Answer: 6

Invalid triangle 1-2-10

Violates triangle inequality (1+2 < 10), so calculator returns error.

  1. 1Check: 1+2 = 3, which is < 10
  2. 2Triangle inequality fails → error
Final Answer: Error: invalid triangle

Introduction

This calculator uses Heron's formula (also called Hero's formula) to compute exact triangle area when you know all three side lengths but not the height. Named after Hero of Alexandria (~10–70 CE), this method is especially powerful for real-world surveying, land measurements, construction layouts, and geometry problems where direct height measurement is impractical or impossible.

Heron's Formula Explained

Heron's formula converts three side lengths directly into triangle area without needing height measurements. The calculation involves two simple steps that work for any valid triangle — acute, obtuse, right, scalene, isosceles, or equilateral.

**Step 1**:

Calculate semiperimeter s = (a+b+c)/2 — this is half the triangle's perimeter

**Step 2**:

Apply formula A = √(s(s-a)(s-b)(s-c)) — multiply four factors and take the square root

Each factor (s-a), (s-b), (s-c) represents how much the semiperimeter exceeds each side

The formula naturally enforces triangle inequality — invalid sides produce negative values under the square root

Example:

Sides 5, 6, 7 → s = 9 → A = √(9×4×3×2) = √216 ≈ 14.696938 square units

How to Use This Calculator

Enter your three side lengths in any order — the formula is symmetric, so a=5, b=6, c=7 gives the same result as a=7, b=5, c=6. The calculator performs automatic validation and returns comprehensive results with 6-decimal precision.

**Input validation**:

Automatically checks triangle inequality (a+b>c, a+c>b, b+c>a) before calculating

**Area output**:

Displays result rounded to 6 decimals for precision-sensitive work

**Perimeter**:

Returns total perimeter (a+b+c) for reference

**Semiperimeter**:

Shows intermediate s value for manual verification

**Classification**:

Labels triangle as equilateral (all sides equal), isosceles (two equal), or scalene (all different)

**Decimal support**:

Accepts real-world measurements like 5.25, 6.8, and 7.15 from surveying or construction

Triangle Inequality Validation

For three line segments to close into a triangle, they must satisfy the triangle inequality rule: the sum of any two sides must be strictly greater than the third side. This is a fundamental geometric constraint that the calculator checks automatically.

Three conditions must all pass:

a+b > c AND a+c > b AND b+c > a

Example - Valid:

Sides 5, 7, 11 pass because 5+7=12>11, 5+11=16>7, 7+11=18>5 ✓

Example - Invalid:

Sides 1, 2, 3 fail because 1+2=3 (not greater than 3) — segments lie flat with zero area

Example - Invalid:

Sides 3, 4, 10 fail because 3+4=7<10 — short sides can't reach across the longest side

The sum must be greater than, not equal — equality creates a degenerate triangle (straight line)

Calculator shows descriptive error explaining which inequality failed if inputs are invalid

Worked Examples

Walking through complete calculations demonstrates how Heron's formula works in practice and helps verify your own manual computations.

**Scalene 5-6-7**:

s = (5+6+7)/2 = 9 → A = √(9×4×3×2) = √216 = 6√6 ≈ 14.696938

**Equilateral 10-10-10**:

s = 15 → A = √(15×5×5×5) = 25√3 ≈ 43.301270 (matches s²√3/4 formula)

**Right 3-4-5**:

s = 6 → A = √(6×3×2×1) = √36 = 6 (matches ½×base×height = ½×3×4)

**Isosceles 10-10-12**:

s = 16 → A = √(16×6×6×4) = √2304 = 48 exactly

**Obtuse 13-14-15**:

s = 21 → A = √(21×8×7×6) = √7056 = 84 exactly

Heron's formula agrees with specialized formulas (like ½bh for right triangles or s²√3/4 for equilateral) but works universally across all triangle types.

When to Use Heron's Formula

Heron's formula is the natural choice when you know all three side lengths but not the height. This is extremely common in fieldwork where distances are easier to measure than perpendicular heights.

**Use Heron's formula** when:

You have three side lengths from measurements (tape measure, laser, GPS)

**Use A = ½×base×height** when:

You can directly measure a perpendicular height to one side

**Use A = ½×a×b×sin(C)** when:

You know two sides and the included angle (SAS case)

Heron is coordinate-free — no need for protractors, coordinate systems, or trigonometry

Ideal for:

Surveying land parcels, verifying structural triangles, calculating irregular plot areas

Real-World Applications

Heron's formula appears across engineering, surveying, construction, and scientific fields wherever triangular areas must be computed from edge measurements.

**Land surveying**:

Calculate property area from boundary measurements (GPS or laser rangefinder)

**Construction**:

Verify triangular trusses, roof frames, and bracing from edge lengths

**GIS/Mapping**:

Compute areas in triangulation networks for topographic maps

**CAD/Engineering**:

Validate triangular components in mechanical designs

**Archaeology**:

Measure excavation site areas without disturbing the site with grids

**Robotics**:

Estimate coverage zones formed by three sensors or waypoints

**Education**:

Solve geometry problems like "Find area of triangle with sides 13, 14, 15" (answer: 84)

History and Mathematical Background

Named after Hero of Alexandria (~10–70 CE), a Greek mathematician and engineer whose work Metrica contains the formula. The underlying principle may predate Hero — similar methods appear in ancient Indian and Chinese mathematics.

  • Hero's Metrica (Book I, Proposition 8) provides the earliest surviving written proof

  • The formula predates algebraic notation — Hero expressed it geometrically

  • Before calculators, surveyors used lookup tables for square roots

  • Renaissance cartographers and military engineers relied on Heron for land division

  • Still taught worldwide in high school geometry as a fundamental area formula

  • Modern uses: Computer graphics (mesh area), finite element analysis, computational geometry

Triangle Classification by Sides

The calculator automatically classifies your triangle based on side equality, which reveals symmetry properties and helps verify inputs.

**Equilateral** (a=b=c):

All sides equal, all angles 60°, threefold symmetry. Example: 7-7-7

**Isosceles** (exactly two equal):

Mirror symmetry across altitude from unequal side. Example: 5-5-7 or 10-10-12

**Scalene** (all different):

No special symmetries, most general triangle type. Example: 5-6-7 or 13-14-15

Classification helps problem-solving — if you expect isosceles but get scalene, check for typos

Equilateral has shortcut formula A = s²√3/4, but Heron works universally

FAQs

Can I use decimals for side lengths?

Yes. The calculator accepts decimal values like 5.25, 6.8, and 7.15 and returns area with up to 6 decimal places of precision.

Why did I get an invalid triangle error?

Your side values violate triangle inequality (a+b must be > c, a+c > b, and b+c > a). If any sum equals or is less than the third side, the segments cannot close into a triangle.

Is this only for right triangles?

No. Heron's formula works for **any** valid triangle: acute, obtuse, right, scalene, isosceles, or equilateral.

What is semiperimeter and why is it needed?

Semiperimeter (s) is half the perimeter: s = (a+b+c)/2. It's an intermediate value that simplifies Heron's formula and appears in many classical triangle formulas.

Can I compare Heron's formula to the base×height method?

Yes. If you know base and height, A = ½×base×height is simpler. Use Heron's formula when height is unknown but all three sides are measured.

What if two or all three sides are equal?

The formula still works. If all three sides are equal (equilateral), you can also use the shortcut A = s²√3/4. The calculator classifies triangle type for you.

How precise is the area calculation?

The calculator uses full floating-point precision internally and displays results rounded to 6 decimal places, balancing accuracy with readability.

Does Heron's formula work for very large or very small triangles?

Yes, as long as side lengths are positive and satisfy triangle inequality. Numeric precision is stable across a wide range of scales.

Can I use this for surveying irregular plots?

Yes, if you can divide the plot into triangular sections and measure each triangle's three sides, Heron's formula gives exact area for each piece.

What happens if I enter sides like 1, 2, 3?

You'll get an error because 1+2 = 3 (not greater), so these segments lie flat in a line and don't enclose area.