🌐 EN

Triangle Calculator

Solve a triangle from three sides or two sides and their included angle, or find area from base and height.

Area
—
Triangle Type a b c

Inputs and checks

  • Enter all lengths in cm and angles in degrees. Height means the distance measured at a right angle to the base.
  • For SSS, enter three positive sides. The sum of any two sides must be greater than the remaining side.
  • For SAS, enter two sides and the angle between them. This angle must be greater than 0° and less than 180°. Numeric results show two decimal places.

Reading the result

  • SSS and SAS display area, perimeter, angles and type. Angle A is opposite side a; the other letters follow the same rule.
  • Base and height determine area only. Moving the top vertex sideways changes the other sides and angles. This mode therefore hides perimeter, angles and type.
  • The diagram rounds angles to whole degrees; numeric results use two decimals. Type labels use small tolerances, so a Right Triangle label does not prove an angle is exactly 90°.

Examples

Sides of 5, 12 and 13 cm

Input
SSS: a=5, b=12, c=13
Result
Area 30.00 cm², perimeter 30.00 cm, angle C 90.00°
How to check it
Since 5²+12²=13², the two shorter sides meet at a right angle. Area is 5×12÷2=30 and perimeter is 5+12+13=30.

Area from base and height

Input
Base and Height: base 9 cm, height 4 cm
Result
Area 18.00 cm²; perimeter and angles are hidden
How to check it
Area=9×4÷2=18. The same base and perpendicular height can have different vertex positions, so the other values are not fixed.

Frequently asked questions

Can I solve a right triangle from only two sides?
This page has no dedicated two-side right-triangle mode. Use SSS if you know the third side, or SAS if you know the two entered sides meet at 90°.
Is the base-height diagram the actual shape?
It is an illustration of base and height. Those two inputs cannot determine the full triangle shape.
Which angle should I enter for SAS?
Enter the angle between the two known sides. An angle at another corner describes a different problem.