Triangle calculator

Choose which three values you know (SSS, SAS, ASA, AAS or SSA), enter them and the calculator finds every side and angle in degrees, plus the area and perimeter. The ambiguous SSA case shows both triangles when there are two.

Area6
Perimeter12
Side a
3
Side b
4
Side c
5
Angle A
36.8699 °
Angle B
53.1301 °
Angle C
90 °
Type by sides
Scalene
Type by angles
Right

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Pick the combination of values you know from the list.
  2. Enter them. Side a is opposite angle A, side b opposite B and side c opposite C.
  3. Read the remaining sides and angles, the area, the perimeter and the type of triangle.

Methods

Case Method
SSS law of cosines gives each angle
SAS law of cosines gives the third side, then the angles
ASA, AAS third angle = 180° − A − B, then the law of sines
SSA law of sines, sin B = b × sin A ÷ a, which can have two answers

The area is ½ × a × b × sin C, and the perimeter is a + b + c.

The SSA case

Fix the angle A and the side b, then try to place the side a opposite A. If a is longer than or equal to b, it can only meet the base in one place. If a is shorter than b, it may meet it twice, once with an acute angle B and once with the obtuse angle 180° − B. If it is shorter than the height b × sin A, it cannot reach at all.

Worked examples

  • 3, 4, 5 (SSS). The angles are 36.87°, 53.13° and 90°, the area is 6 and the triangle is scalene and right.
  • 30°, 60°, side c = 10 (ASA). C = 90°, a = 5 and b = 8.66, and the area is 21.65.
  • a = 5, b = 7, A = 30° (SSA). Two triangles: c = 9.63 with B = 44.43°, or c = 2.49 with B = 135.57°.

Common mistakes

  • Mixing up which angle is opposite which side. Capital letters are angles, lowercase letters the sides across from them.
  • Rounding too early. Rounding the middle values and then using them can shift the last digits of the answer.

Frequently asked questions

Which combinations of three values determine a triangle?

Three sides (SSS), two sides and the angle between them (SAS), two angles and any side (ASA or AAS) each give exactly one triangle. Three angles alone only fix the shape, not the size, so they are not enough.

What is the ambiguous SSA case?

With two sides and an angle that is not between them, the side opposite the angle may swing to meet the base in two places. With a = 5, b = 7 and A = 30° there are two triangles, with B = 44.43° and B = 135.57°. The calculator shows both.

When does SSA give one triangle or none?

If the side opposite the angle is at least as long as the other given side, there is one triangle. If it is shorter than b × sin A there is none. If it equals b × sin A there is one right triangle, and between those two values there are two.

Are the angles in degrees?

Yes. Angles are entered and shown in degrees, and the three angles always add up to 180°.

More in Math

All tools in this category: Math ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.