InfiniteCalcs

Triangle Calculator

A triangle calculator helps solve common geometry problems involving side lengths, angles, perimeter, and area.

Triangle Calculator Tool

Enter your values in the calculator above, then use the explanations below to understand the result, check assumptions, and compare scenarios.

About this calculator

A triangle calculator helps solve common geometry problems involving side lengths, angles, perimeter, and area. Triangles appear throughout surveying, framing, layout, engineering, and trigonometry, and the correct method depends on which measurements are known. The calculator provides a fast numerical check while the underlying relationships help you judge whether an input set is physically possible.

For a base b and perpendicular height h, area is A = bh/2. The three interior angles always total 180°. Right triangles satisfy a² + b² = c², while more general triangles can be solved with the law of sines or law of cosines when sufficient side and angle information is known. Any valid triangle must also satisfy the triangle inequality: the sum of any two sides must exceed the third side.

Treat calculated values as geometric results based on the entered dimensions. If the sides represent field measurements, small measurement errors can noticeably change derived angles or area. Confirm units are consistent and remember that triangle height means the perpendicular distance to the selected base, not necessarily another side length.

Worked examples

3-4-5 right triangle

A right triangle has perpendicular legs of 3 ft and 4 ft.

  1. Hypotenuse = √(3² + 4²) = 5 ft
  2. Area = 3 × 4 ÷ 2 = 6 ft²
  3. Perimeter = 3 + 4 + 5 = 12 ft

Result: The triangle has a 5 ft hypotenuse, 6 ft² area, and 12 ft perimeter.

Practical tips

  • Use the perpendicular height when calculating area.
  • Check that all side lengths use the same unit.
  • For right triangles, identify the hypotenuse as the side opposite the 90° angle.
  • Use the triangle inequality as a quick validation check for three entered sides.

Common mistakes

  • Using a sloped side as the height when it is not perpendicular to the base.
  • Forgetting to divide base times height by two.
  • Applying the Pythagorean theorem to a triangle that is not right-angled.
  • Mixing degrees and radians when working with trigonometric inputs.

Key terms

Hypotenuse
Longest side of a right triangle, opposite the 90-degree angle.
Altitude
Perpendicular distance from a vertex to the opposite side or its extension.
Triangle inequality
Rule requiring the sum of any two side lengths to exceed the third side.
Perimeter
Total length of all three sides.

Frequently asked questions

How do you calculate the area of a triangle?
Multiply a chosen base by the perpendicular height to that base and divide by two: A = bh/2.
Do triangle angles always add to 180 degrees?
In ordinary Euclidean plane geometry, yes. The three interior angles of every triangle sum to 180 degrees.
How can I tell whether three sides form a triangle?
Apply the triangle inequality. The sum of each pair of side lengths must be greater than the remaining side.
When can I use the Pythagorean theorem?
Use a² + b² = c² only for a right triangle, where c is the hypotenuse opposite the 90-degree angle.