The formula
From three sides a, b and c the perimeter is just their sum, while the area comes from Heron's formula using the semi-perimeter s:
Each interior angle comes from the law of cosines: the angle opposite a given side is the arccosine of the other two sides squared, minus that side squared, over twice their product. Convert the result from radians to degrees by multiplying by 180 ÷ π. The three angles always sum to 180°.
Worked example
For the classic 3-4-5 triangle (a = 3, b = 4, c = 5):
Right, acute, obtuse — and side types
Once the angles are known, the triangle is right if its largest angle is exactly 90°, acute if every angle is below 90°, and obtuse if one angle exceeds 90°. Separately, the sides classify it: all three equal is equilateral, exactly two equal is isosceles, and all different is scalene. The 3-4-5 triangle is therefore a right scalene triangle.