Triangle Calculator

Enter what you know and get everything else: all three angles, all three sides, the area, the perimeter, and the type of triangle (by sides and by angles). Pick the card that matches your case. Angles are in degrees, and sides share the same unit in every field. For other shapes and solids, use the geometry calculator.

Three known sides (SSS)

angle A 0
angle B 0
angle C 0
area 0
perimeter 0
type 0

Two sides and the included angle (SAS)

side c 0
angle A 0
angle B 0
area 0
perimeter 0
type 0

Two angles and a side (ASA)

angle C 0
side b 0
side c 0
area 0
perimeter 0
type 0

How to solve a triangle

Solving a triangle means finding all of its sides and angles from just three measurements, as long as at least one of them is a side. The calculator uses the law of cosines when you provide sides and the law of sines when you provide angles.

The three main cases

With three sides, the angles come from the law of cosines, cos A = (b² + c² − a²) / (2bc). With two sides and the included angle, the third side is c² = a² + b² − 2ab × cos C. With two angles and a side, the third angle is 180° minus the other two, and the remaining sides follow from the law of sines.

Types of triangles

By sides, a triangle is equilateral (all three equal), isosceles (two equal), or scalene (all different). By angles, it is acute (all under 90°), right (one angle of 90°), or obtuse (one angle over 90°). The interior angles always add up to 180°.

Practical example

Two fences of 5 m and 7 m start at the same corner and meet at a 60° angle. The distance between their far ends is about 6.245 m, and the triangular plot between them covers roughly 15.16 m².

Frequently asked questions

How much information do I need to solve a triangle?

You need three measurements, and at least one must be a side. Three angles alone only give the shape of the triangle, not its size.

Why can my sides not form a triangle?

For a triangle to exist, each side must be shorter than the sum of the other two. Sides 2, 3, and 10, for example, can never close into a figure.

How can I tell if a triangle is right-angled?

If the square of the longest side equals the sum of the squares of the other two, the triangle is right-angled. The calculator checks this and shows the type in the result.