Skip to content

Triangle Calculator

Solve any triangle from SSS, SAS, ASA, AAS, SSA or right-triangle inputs. Get all sides and angles in degrees, perimeter, area and a labelled scale diagram, with ambiguous SSA cases showing both valid triangles.

Calculators Runs client-side Free to use
Jump to the tool
Share: X WhatsApp
Loading Triangle Calculator…

About the Triangle Calculator

Triangle Calculator solves a triangle from the values you know. Choose SSS (three sides), SAS (two sides and the angle between them), ASA (two angles and the side between them), AAS (two angles and another side), SSA (two sides and a non-included angle) or right-triangle mode, enter the values, and the tool calculates every missing side and angle in degrees, plus the perimeter, the area and the triangle type. A labelled diagram is drawn to scale for each solution.

The calculator checks the triangle inequality, angle sums, zero and negative values and missing inputs, and explains when no triangle is possible. In the SSA case, two different triangles can sometimes fit the same values; the tool does not silently pick one but shows both solutions. Right-triangle mode accepts any two values (at least one side) and shows the Pythagorean calculation for the hypotenuse or missing leg.

How to use

  1. Choose what you know: SSS, SAS, ASA, AAS, SSA or a right triangle.
  2. Enter the sides (any unit, the same for all) and angles in degrees.
  3. Click Calculate.
  4. Read the sides, angles, perimeter, area and diagram — for SSA there may be two solutions.
  5. Copy or download the summary.

Key features

  • SSS, SAS, ASA, AAS, SSA and right-triangle modes.
  • All sides, angles, perimeter, area and triangle type.
  • Both solutions for the ambiguous SSA case.
  • Pythagorean breakdown for right triangles.
  • Labelled diagram drawn to scale.
  • Clear validation, copy and download summary, and full Reset.

Best practices

  • Label your sketch so side a is opposite angle A, and so on.
  • Use the same unit for every side.
  • Enter angles in degrees, not radians.
  • For SSA, check which of two solutions matches your real situation.
  • Keep more decimal places in inputs when precision matters.

Benefits

  • Fast answers for homework, design and DIY layouts.
  • Shows the method so you can check the working.
  • Catches impossible triangles instead of giving wrong answers.
  • Private and free.

Frequently asked questions

What do SSS, SAS, ASA and AAS mean?

They describe what you know: S is a side and A is an angle. SAS means two sides with the angle between them; ASA means two angles with the side between them; AAS means two angles and a side not between them.

Why can SSA give two triangles?

With two sides and a non-included acute angle, the side opposite the angle can sometimes swing to two different positions. When b × sin A < a < b, two triangles fit, and the calculator shows both.

What is the triangle inequality?

Any two sides of a triangle must add up to more than the third side. If they do not, no triangle can be formed and the calculator says so.

How is the area calculated?

Area = ½ × a × b × sin C, which works for any triangle once the sides and angles are known. For right triangles this equals ½ × leg × leg.

How do I use right-triangle mode?

Angle C is the right angle. Enter exactly two of leg a, leg b, hypotenuse c and angle A, with at least one side. The tool shows the Pythagorean calculation.

Are angles in degrees?

Yes. Enter and read all angles in degrees. Each angle must be greater than 0° and less than 180°.

Is my data saved or uploaded?

No. Every calculation runs in your browser. Nothing you type is sent to a server or saved in browser storage, and Reset clears it from the page.