Triangle Calculator (3 Sides)

Calculate Area and Perimeter of any triangle given 3 sides.

Save

Inputs

Your values stay on this device.

Results

Area
Perimeter12
Is Valid?Yes

Report

Export and share

Document

Copy and share

Assumptions

  • All three side lengths are entered in the same unit.
  • The calculator uses Heron's formula, so it assumes the three numbers describe side lengths rather than base-height data.
  • If the side values are missing or non-positive, the calculator reports invalid input and does not return numeric results.

Sensitivity preview

Side a -10%: Area 5.38

Side a Current: Area 6

Side a +10%: Area 6.58

Related Tools

View All

About this Triangle Calculator

Finding the area of a triangle is easy if you know the base and height ($ rac{1}{2}bh$). But what if you only know the lengths of the three sides? This calculator uses Heron's Formula to solve for area without needing the vertical height.

Who this calculator is for

  • Students solving SSS triangle problems with Heron's formula.
  • Anyone checking whether three side lengths can actually form a triangle.
  • People comparing a general triangle with a right-triangle shortcut.

When to use it

  • Use this calculator when you know all three side lengths of a triangle.
  • Use it to verify triangle validity before using the area and perimeter results.
  • Use it when you need a general triangle method instead of a right-triangle-only tool.

How to use this calculator

  1. Enter the length of Side A.
  2. Enter the length of Side B.
  3. Enter the length of Side C.
  4. The tool calculates the Area and Perimeter.

Key assumptions

  • All three side lengths are entered in the same unit.
  • The calculator uses Heron's formula, so it assumes the three numbers describe side lengths rather than base-height data.
  • If the side values are missing or non-positive, the calculator reports invalid input and does not return numeric results.
  • If the triangle inequality is not satisfied, the triangle is marked as invalid geometry and numeric results are not returned.

Accuracy and testing

Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.

View accuracy page

How this calculator works

1. Calculate the Semi-Perimeter (s): $s = (a + b + c) / 2$ 2. Calculate Area: $\sqrt{s(s-a)(s-b)(s-c)}$ This method works for any triangle (scalene, isosceles, or equilateral) as long as the side lengths are valid.

Inputs explained

Sides (a, b, c)

The lengths of the three edges of the triangle.

Understanding your results

If the output says 'No (Invalid Geometry)', the side lengths do not form a closed triangle. If it says 'Invalid Input', one or more side values are missing, non-numeric, or not positive.

Example scenarios

3-4-5 Triangle

Sides 3, 4, 5. Semi-perimeter = 6. Area = $\sqrt{6(3)(2)(1)} = \sqrt{36} = 6$.

Equilateral

Sides 5, 5, 5. Semi-perimeter = 7.5. Area ≈ 10.83.

Key Features

  • Heron's Formula
  • Geometry Validation
  • Perimeter Calculation

Tips & Best Practices

  • This is an SSS (Side-Side-Side) calculation.
  • Ensure all side lengths are in the same unit (e.g., all meters or all inches).

Glossary of Terms

Semi-Perimeter
Half of the triangle's perimeter. A key variable in Heron's Formula.
Triangle Inequality Theorem
The rule that the sum of any two sides must be greater than the third side.

Frequently Asked Questions

Why does it say 'Invalid Geometry'?
For a triangle to exist, the sum of any two sides must be greater than the third side (a+b > c). If you have sides 1, 1, and 10, the two short sides can't reach each other to close the shape.
What does 'Invalid Input' mean?
It means one or more side values are blank, non-numeric, zero, or negative. Enter three positive side lengths before interpreting the triangle result.
Can I use this for right triangles?
Yes, Heron's formula works for *all* triangles, including right triangles. However, for a right triangle, $\frac{1}{2} \times leg1 \times leg2$ is simpler.
What is Heron's Formula?
Named after Hero of Alexandria, it allows you to calculate the area of a triangle knowing only the lengths of its sides.