Triangle Perimeter Calculator
Find a triangle's perimeter from three sides, two sides and the angle between, or a side and two angles.
Change the values and press Calculate to work out your own figures.
Three sides
Enter the three sides.
Show the working
- Three sides: each angle from the law of cosines, cos A = (b² + c² − a²) ÷ 2bc
- Area = √(s(s − a)(s − b)(s − c)) = 14.69693846
Two sides and the angle between
Enter sides a and b and the angle C between them.
Show the working
- Two sides and the angle between them: the third side from the law of cosines, a² = b² + c² − 2bc cos A
- Area = √(s(s − a)(s − b)(s − c)) = 15.15544457
A side and two angles
Enter side a, its opposite angle A and angle B.
Show the working
- A side and its opposite angle are known: the rest from the law of sines, a ÷ sin A = b ÷ sin B = c ÷ sin C
- Area = √(s(s − a)(s − b)(s − c)) = 33.99479761
How to use it
Enter the three sides. Enter sides a and b and the angle C between them. Enter side a, its opposite angle A and angle B.
Enter the values you know (decimals, fractions, surds such as 2√5, or angles such as π/3 in radians). Show the working gives the rule used at each step.
Key facts
P = a + b + c
Finding the missing sides
With two sides and the angle between them, the law of cosines gives the third; with a side and two angles, the law of sines gives the others.
Questions
What is the perimeter of a 5-6-7 triangle?
18.
With sides 5 and 7 at 60°?
12 + √39 ≈ 18.244998.
Formulas
P = a + b + c
Sources
Limitations
- Angles can be typed in degrees or radians; radians may be written with π (π/3, 2pi/3).