ToolBark
Math

Triangle Calculator

Instant area, perimeter, and angles for any triangle

Enter Base and Height

Results

Area30square units
Area30 sq units

Formulas Used

Area = ½ × base × height

The perpendicular height from the base to the opposite vertex.

About

Use this free triangle calculator to find the area and perimeter of any triangle instantly. Enter a base and height for the classic formula, or input all three side lengths to apply Heron's formula — which also reveals every interior angle and classifies the triangle by side type (equilateral, isosceles, scalene) and angle type (acute, right, obtuse). No sign-up needed.

FAQ
What is Heron's formula?+

Heron's formula calculates a triangle's area from its three side lengths alone. First compute the semi-perimeter s = (a + b + c) / 2, then Area = √(s · (s−a) · (s−b) · (s−c)). It works for any triangle without needing a height measurement.

How is the triangle area calculated from base and height?+

The formula is Area = ½ × base × height, where height is the perpendicular distance from the base to the opposite vertex. This is the most direct method when the base and corresponding height are known.

Why can't three sides always form a triangle?+

The triangle inequality requires that the sum of any two sides must be greater than the third side. For example, sides 1, 2, and 10 fail because 1 + 2 = 3, which is not greater than 10. The calculator will warn you if your inputs violate this rule.

How are the interior angles calculated?+

The calculator uses the Law of Cosines: cos(A) = (b² + c² − a²) / (2bc), solving for the angle opposite each side. All three angles are then computed, and they should always sum to exactly 180°.

Related tools