Calculatorbudy Official Logo
Browse Calculators

Triangle Calculator: All 6 Solvers

Last updated: March 2026

Find missing sides, angles, area, and perimeter for any triangle instantly. Select the calculation method below based on the values you already know.

1. SSS Triangle Calculator Known: 3 Sides

Calculate angles and area when all three side lengths are known using the Law of Cosines.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

2. SAS Calculator (Side-Angle-Side) Known: 2 Sides + Angle

Find the third side when you know two sides and the included angle.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

3. ASA Calculator (Angle-Side-Angle) Known: 2 Angles + Side

Calculates triangle sides given two angles and the included side.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

4. AAS Calculator (Angle-Angle-Side)

Solve the triangle using two angles and a non-included side.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

5. SSA Calculator (Ambiguous Case) Complex

Solves for 0, 1, or 2 triangles given two sides and a non-included angle.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

6. General Solver (2 Angles + 1 Side)

A quick way to solve AAS or ASA triangles without selecting a specific mode.
A B C
C
side b
side a
side c
A
B
Side a
-
Side b
-
Side c
-
Angle A
-
Angle B
-
Angle C
-
Perimeter
-
Area
-
Heights (ha/hb/hc)
-

How to use the Triangle Calculator

  1. Each calculator section is separate. Use the inputs shown in that section (names are shown on the diagram).
  2. Enter values according to the section title (e.g., SSS requires a, b, c). Angles default to degrees unless you change the unit.
  3. Click the section's Calculate button. Results (sides, angles, perimeter, area, heights) appear on the right and numeric values are printed on the diagram.
  4. For SSA, the calculator will list multiple solutions if the ambiguous case occurs. Choose a solution from the SSA dropdown to display it.
  5. Use Clear in each section to reset only that section.

About the Triangle Calculator

Trigonometry calculations can be tedious and prone to human error. This tool exists to provide instant, accurate solutions for triangle geometry problems. It helps you avoid manual formula crunching and lets you verify your work in seconds, saving you time whether you are studying or working on a practical project.

When to Use This Tool

This calculator is practical for a variety of real-world situations:

How the Calculator Works

Depending on the values you provide, the calculator automatically selects the correct mathematical rules to find the missing sides and angles. It primarily relies on the Law of Cosines to relate side lengths to angles, and the Law of Sines to find ratios between sides and their opposite angles. For area calculations, it uses Heron's Formula when all sides are known, or standard base-height formulas when angles are involved.

Accuracy and Limitations

The calculator uses double-precision floating-point arithmetic for high accuracy. However, extreme values or very tiny angles might show slight rounding differences. It is also important to remember the triangle inequality theorem: the sum of any two sides must always be greater than the third side. If you enter invalid dimensions, the tool will notify you that a triangle cannot be formed. In the ambiguous SSA case, the tool will transparently show if zero, one, or two triangles are possible based on your inputs.

Understanding Triangle Classifications

Before diving into calculations, it helps to identify what kind of triangle you are working with. Triangles are typically classified by their sides and their angles.

Classification by Sides

Classification by Angles

Regardless of the type, the sum of internal angles in any Euclidean triangle is always 180 degrees (or pi radians).

Detailed Breakdown of Calculator Modes

Geometry problems usually present you with 3 known values. Depending on which values you have, you must select the correct mode in our calculator.

SSS Solver (Side-Side-Side)

Use this mode when you know the lengths of all three sides (a, b, c) but no angles. This is common in construction when checking if a physical structure is square or calculating corner angles for fitting materials.

Calculation Steps: The calculator first checks the Triangle Inequality Theorem. If valid, it applies the Law of Cosines to find the three angles.

SAS Solver (Side-Angle-Side)

Use this mode when you know two sides (e.g., a and b) and the angle between them (Angle C). The angle must be the "included" angle. If not, it becomes an SSA problem.

Calculation Steps: The calculator finds side c using the Law of Cosines. Once all three sides are known, it calculates the remaining angles.

ASA Solver (Angle-Side-Angle)

Use this mode when you know two angles and the side connecting them (the included side). For example, if you are surveying land and measure two corners and the distance between them.

Calculation Steps: Since the sum of angles is 180 degrees, the third angle is easily found (180 - A - B). Then, the Law of Sines is used to find the remaining two sides.

AAS Solver (Angle-Angle-Side)

Similar to ASA, but the known side is not between the two known angles. For example, knowing Angle A, Angle B, and Side a.

Calculation Steps: The third angle is calculated first (Angle C = 180 - A - B). Then the Law of Sines is applied to find sides b and c.

SSA Solver (The Ambiguous Case)

This is the most complex scenario in triangle geometry. You know two sides and an angle that is NOT between them (e.g., Side a, Side b, and Angle A). This is called "ambiguous" because three outcomes are possible:

  1. No Solution: The known side is too short to reach the other side, meaning no triangle can be formed.
  2. One Solution: A unique triangle is formed (often a right triangle).
  3. Two Solutions: The known side can swing in two directions, creating two valid triangles with different shapes (one acute, one obtuse).

Frequently Asked Questions

❓ Can I calculate a triangle if I only have 1 side and 1 angle?
No. You must have at least three known values to solve a triangle, and at least one of them must be a side length. Knowing only three angles (AAA) gives you the shape, but not the actual size or scale.
❓ What is the difference between SAS and SSA?
In SAS (Side-Angle-Side), the angle is "included," meaning it is physically located between the two known sides. This always produces one unique solution. In SSA (Side-Side-Angle), the angle is opposite one of the sides, which can lead to zero, one, or two possible triangles depending on the side lengths.
❓ How does the calculator handle Right Triangles?
Right triangles are just specific cases of general triangles. You can solve them using any of these tools by simply entering 90 degrees as one of your known angles.
❓ Why are there three different height values?
Every triangle has three heights (altitudes), one corresponding to each base (side a, side b, and side c). The height is the perpendicular line drawn from a vertex to the opposite base line.