General Triangle Solver

Enter any combination of sides and angles — Side A, Side B, Side C, Angle A, Angle B, Angle C — and the General Triangle Solver calculates all missing values. Provide at least one side and enough information for SSS, SAS, ASA, AAS, or SSA configurations. You get back all three sides, all three angles, the perimeter, and the area. Also try the Area Calculator.

Results

Area

--

Perimeter

--

Side A

--

Side B

--

Side C

--

Angle A

--

Angle B

--

Angle C

--

Triangle Type

--

Looking to quickly solve any triangle? The general triangle solver delivers complete triangle information instantly—including missing sides, angles, area, perimeter, and advanced features such as inradius, median, and circumradius. Whether you need to check architectural plans, verify geometry homework, or confidently sort out construction measurements on-site, knowing every triangle property lets you make the right decision—no guesswork, just precision and mathematical confidence every time. Mathematics is at the heart of every triangle solution.

Understanding Triangle Solving with a General Triangle Solver: Methods, Laws, and Key Properties

Core Triangle Types & Their Properties

To classify triangle types and apply the correct methods or equations, it’s vital to first understand the foundational characteristics of triangles within geometry and mathematics. A triangle is a polygon formed by three vertices connected by three line segments known as edges. Each vertex forms an angle, and collectively, the interior angles always sum to 180°. In math, the triangle is the simplest shape with three points and three sides.

  • Equilateral triangle: All sides and all internal angles are equal (each angle 60°).
  • Isosceles: Two legs and two angles are equal.
  • Scalene: All sides and internal angles are different (these triangles have no equal lengths).
  • Right triangles: Contain a right angle (90°); the side opposite this angle is the hypotenuse.
  • Oblique triangle: No angle is 90°; divided into acute (all angles < 90°) and obtuse (one angle > 90°).

Standard visual notations use tick marks to indicate equality and concentric arcs or angle markings to indicate equal angles. In every shape, the total of any two lengths must always exceed the third (triangle inequality). In a shape with three line segments, each junction is a meeting point for two edges and defines a unique angle.

Major Formulas: SSS, SAS, ASA/AAS, SSA Scenarios

Solving for missing angles or side measures often depends on the known values and the chosen triangle mode. This tool supports:

  • SSS (Side-Side-Side): All edges are known; use law of cosines to find angles.
  • SAS (Side-Angle-Side): Two lengths and the included angle are known; use law of cosines for the unknown measure, then law of sines or cosines for the remaining angles.
  • ASA/AAS: Two angles and one edge; find the third angle using the angle sum property, then use law of sines for other edge values.
  • SSA (Side-Side-Angle): Two edges and a non-included angle; may result in 0, 1, or 2 polygons—known as the ambiguous case. The calculator automatically detects this scenario and reports the result.
  • Right triangle: Use the pythagorean theorem and basic trigonometric functions (sine, cosine, tangent) to relate sides and angles. Problems with a right triangle often have special shortcuts.

Let’s detail the most essential equations. These include core theorems that underpin triangle calculations:

Law of Sines
$$ \frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C} $$ Used to find unknown values when a known side-angle pair exists; essential for ASA, AAS, and many SSA triangle types.
Law of Cosines
$$ c^2 = a^2 + b^2 - 2ab \cos C $$ Useful for SSS (all sides known) or SAS (two values plus included angle). To find an angle ($$C$$): $$ C = \arccos \left ( \frac{a^2 + b^2 - c^2}{2ab} \right ) $$
Pythagorean Theorem (Right Triangles)
$$ a^2 + b^2 = c^2 $$ Where $$c$$ is the hypotenuse.
  • Angle sum theorem: Internal angles add up to 180°: $$A + B + C = 180°$$.
  • Perimeter: $$P = a + b + c$$ (total of all measures).

Essential Triangle Facts and Laws

Some fundamental triangle facts and identities in plane figures and trigonometric applications include:

  • Every set of internal angles adds to 180° (total angle rule).
  • The external angles of a triangle equal the sum of the two non-adjacent internal angles.
  • The triangle inequality rule: the sum of any two distances exceeds the third.
  • Heron's approach lets you find area from all edge data: $$ Area = \sqrt{s(s-a)(s-b)(s-c)} \quad \text{where}\ s=\frac{a+b+c}{2} $$
  • Area, base-altitude formula: $$ Area = \frac{1}{2} b h $$ Base-altitude is useful for any triangle where the measure from a point to a side is known.
  • Sine-based area: For two edges and the included angle, $$ Area = \frac{1}{2} ab \sin C $$
  • Median: For edge $$a$$: $$ m_a = \frac{1}{2} \sqrt{2b^2 + 2c^2 - a^2} $$ The intersection of medians is the centroid (arithmetic mean of points).
  • Inradius: The measure of the incircle: $$ r = \frac{\text{Area}}{s} $$ where $$s$$ is the semiperimeter. The incenter is the intersection for all splits of the angles in a triangle.
  • Circumcircle: The circle passing through all triangle vertices; the circumradius ($$R = \frac{a}{2 \sin A}$$) is its radius, and its center is the circumcenter (intersection of perpendicular bisectors), equidistant from each point.

The interplay of these principles and formulas in mathematics makes triangle problem solving both powerful and universal in education, construction, and everyday measurement of shapes. Problem solving for every triangle depends on these relationships, with many solutions rooted in trigonometry.

Step-by-Step Guide: Using the Triangle Calculator to Solve Triangle Problems & Real-World Examples

How to Operate the Solver: Input Guide

With the triangle calculator, you can solve triangle problems for any configuration. Enter the known values, select the triangle mode (such as SSS, SAS, ASA/AAS, or SSA), and the calculator will instantly compute all remaining triangle properties—including area, perimeter, angles, side lengths, median, inradius, and circumradius. For degrees, angles are entered in degrees; for radians, values such as pi/2 and pi/4 can be used. If unsure which mode to apply, select "help me choose" for guidance. The results include step-by-step solutions, visual graphics, and all computed values. This tool empowers you to handle right triangles, oblique triangles, and every classification with confidence. In mathematics, these computed results allow users to visualize and check every value in the triangle.

Solving Example 1: SSS Case (All Sides Known, Area, and Angles)

Let’s find the solution for triangle using the SSS method (all edges provided)—for example: side a = 8, side b = 6, side c = 10.

  1. Calculate angles using the law of cosines:
    • $$A = \arccos\left(\frac{b^2 + c^2 - a^2}{2bc}\right)$$
    • $$A = \arccos\left(\frac{6^2 + 10^2 - 8^2}{2 \times 6 \times 10}\right) = \arccos(0.8)\approx 36.87°$$
    • Repeat for B and C.
  2. Find area using Heron's approach:
    • $$s = \frac{a+b+c}{2} = \frac{8+6+10}{2} = 12$$
    • $$Area = \sqrt{12(12-8)(12-6)(12-10)} = \sqrt{12 \times 4 \times 6 \times 2} = \sqrt{576} = 24$$
  3. Find perimeter: $$P = a + b + c = 8 + 6 + 10 = 24$$
  4. Find median ma: $$ m_a = \frac{1}{2} \sqrt{2b^2 + 2c^2 - a^2} = \frac{1}{2} \sqrt{2\times36 + 2\times100 - 64} = \frac{1}{2} \sqrt{72+200-64} = \frac{1}{2}\sqrt{208} \approx 7.21 $$
  5. Inradius: $$r = \frac{\text{Area}}{s} = \frac{24}{12} = 2$$
    Incenter: The intersection point of all splits of the triangle's angles, located at (x, y) by solving using the edge lengths and coordinates of triangle points.
  6. Circumradius: $$R = \frac{a}{2 \sin(A)} = \frac{8}{2 \sin(36.87°)} \approx 6.68$$

Here, the area is found using both the given values and Heron's approach. Notice how _medians_ and inradius add expanded detail well beyond just edge measures and angles. The math behind each computation reinforces your understanding of each triangle's characteristics at each angle and point.

Worked Example 2: SAS Case—Area, Perimeter, Angles, and Heights

Now, let’s try a SAS example: side a = 5, side b = 6, included angle C = 47°.

  1. Solve for the missing side c using the law of cosines: $$c^2 = a^2 + b^2 - 2ab \cos C$$ $$c^2 = 25 + 36 - 2 \times 5 \times 6 \cos(47°)$$ $$c^2 = 61 - 60 \times 0.6820 = 61 - 40.92$$ $$c^2 = 20.08\ \Rightarrow\ c = \sqrt{20.08} \approx 4.48$$
  2. Find area via sine-based area: $$Area = \frac{1}{2} ab\sin C$$ $$Area = 0.5 \times 5 \times 6 \times \sin(47°)$$ $$= 15 \times 0.7314 = 10.97$$
  3. Compute other angles with law of sines: $$\frac{a}{\sin A} = \frac{c}{\sin C} \Rightarrow \sin A = \frac{a\sin C}{c}$$ $$\sin A = \frac{5 \times 0.7314}{4.48} = 0.8164$$ $$A = \arcsin(0.8164) \approx 54.8°$$ $$B = 180° - 47° - 54.8° = 78.2°$$
  4. Perimeter: $$P = a + b + c = 5 + 6 + 4.48 \approx 15.48$$
  5. Measure from a point to edge b (as base): $$Area = \frac{1}{2} b h$$ $$h = \frac{2 \times Area}{b} = \frac{2 \times 10.97}{6} \approx 3.66$$ The length from a vertex down to its opposing side is called the altitude or height, depending on the context.

This SAS configuration lets you find area by the base-altitude or sine-based approach, and then recover all other key dimensions including altitudes and medians. Mathematical functions like cosine and sine are essential in these calculations and are part of most trigonometry curricula.

Real-World Example 3: SSA Ambiguous Case—How Many Possible Triangles?

Consider an ambiguous case: side a = 9, side b = 5, angle A = 30°. Does this configuration yield 0, 1, or 2 polygons?

  1. Apply the law of sines to seek angle B: $$\frac{a}{\sin A} = \frac{b}{\sin B}$$ $$\frac{9}{\sin 30°} = \frac{5}{\sin B}$$ $$\sin B = \frac{5 \sin 30°}{9} = \frac{5 \times 0.5}{9} = 0.2778$$ $$B = \arcsin(0.2778) \approx 16.15°$$
  2. Check if two solutions are possible: $$180° - A - B = 180° - 30° - 16.15° = 133.85°$$
    If A + B < 180°, another polygon is possible ($$B' = 180° - 16.15° = 163.85°$$). But since the sum for the angles would then exceed 180°, only one triangle is possible here.
  3. Find third angle C: $$C = 180° - 30° - 16.15° = 133.85°$$
  4. Calculate third edge c using law of sines: $$\frac{a}{\sin A} = \frac{c}{\sin C}$$
    $$c = a \times \frac{\sin C}{\sin A}= 9 \times \frac{\sin 133.85°}{0.5} \approx 9 \times 0.7143 / 0.5 = 12.86$$
  5. Area via sine-based: $$Area = \frac{1}{2}ab \sin C$$
    $$= 0.5 \times 9 \times 5 \times \sin 133.85° = 22.5 \times 0.7143 = 16.07$$
  6. Results: One triangle is possible with sides 9, 5, 12.86 and angles 30°, 16.15°, 133.85°. All other values (perimeter, median, inradius, circumradius, diagram) can be shown in the calculator result. In some cases, evaluating the possibility of separate triangle solutions is important in math problem solving.

Additional Triangle Features: Median, Inradius, and Circumradius in Triangle Calculations

  • Median: A median divides the triangle into two equal-area parts; all medians meet at the centroid. A triangle's point is always the endpoint of two medians.
  • Inradius: The inradius is the radius of the incircle; use $$r=\frac{Area}{s}$$. The incenter is the intersection of the splits of the triangle's angles and is useful in many mathematical functions or constructions.
  • Circumradius: The value is determined as $$R=\frac{a}{2 \sin A}$$. The diameter of the circumscribed circle is always twice this value.
  • All these results are provided instantly by the triangle calculator for any triangle configuration. Triangle solutions with known points, medians, incenter, and circumradius are common in advanced problem sets.

Why Comprehensive Triangle Problem Solving Matters

The general triangle solver handles everything from introductory algebra to advanced applications and geometric challenges. Whether you’re tackling a classic 3-4-5 right triangle in high school or evaluating real-world designs in engineering, instant access to area, perimeter, angles, sides, and classification saves you time and assures accuracy. Quick, transparent calculation is at your fingertips, making this tool indispensable for problem solving in every context—from college algebra to field work. Many math students use it to handle right triangles no matter which vertex contains the right angle.

  • Area: Multiple area equations fit any input scenario
  • Perimeter/Total boundary length: Always the total of edge measures
  • Angles: Calculated from available data and cross-checked so that the triangle's interior angles total 180°
  • Height: Perpendicular from a vertex to the opposing segment, critical in base-altitude solutions
  • Median, Inradius, Circumradius: Geometric elements tracked for complete triangle understanding (reference per visual representation)

You can solve triangle problems of any configurationright triangles, oblique triangles (both acute and obtuse), equilateral, triangles with two legs the same length, or triangles with all sides of different lengths—knowing with certainty the results will adhere to every theorem and law in mathematics. Each polygon and its unique set of vertices offers a range of functions in math education and applications, including theorems about angle bisectors and trigonometry.

References and Further Learning
  • Pythagorean theorem: Used for right triangles and as a check for triangle type
  • Law of sines and law of cosines: The backbone of trigonometric functions in all triangle problem solving; these functions support advanced mathematics and also help model shapes.
  • Heron's formula, area, base-altitude: Essential for cases with all edges provided or direct measurements of the altitude. Every polygon with three vertices is a triangle, and Heron's approach covers all such cases.
  • Triangle type classification: Instantly sort out triangles with two equal legs, triangles with all sides different, equilateral, right, acute, or obtuse depending on lengths and angles
  • Use visuals and visual representations: Visual representation of a triangle and color-coded angle markings, tick marks, and concentric arcs clarify every possible configuration. In math, drawings showing each vertex, the triangle's form, and key functions give the clearest interpretation.

How many values do I need to enter to solve a triangle?

You need at least 3 values, and at least one of them must be a side length. For example, three sides (SSS), two sides and an included angle (SAS), two angles and a side (ASA or AAS), or two sides and a non-included angle (SSA) are all valid inputs. Three angles alone (AAA) are not sufficient because they don't define the size of the triangle. See also our calculate 45-45-90 Triangle Hypotenuse (c).

What is the SSA (ambiguous) case?

SSA — two sides and a non-included angle — is called the ambiguous case because it can produce zero, one, or two valid triangles depending on the values entered. When two solutions exist, this calculator will return the solution where all angles are positive and sum to 180°.

Can I enter angles in radians instead of degrees?

Yes. Select 'Radians (rad)' from the Angle Units dropdown before entering your values. All angle inputs and outputs will then be interpreted and displayed in radians.

What is the Law of Sines and when is it used?

The Law of Sines states that a/sin(A) = b/sin(B) = c/sin(C). It is used when you have ASA, AAS, or SSA configurations — situations where at least one angle and its opposite side are known or can be derived. You might also find our Golden Section Calculator useful.

What is the Law of Cosines and when is it used?

The Law of Cosines states that c² = a² + b² − 2ab·cos(C). It is used for SSS and SAS cases, where either all three sides are known or two sides and the angle between them are known.

What are the different types of triangles?

Triangles are classified by side lengths — equilateral (all sides equal), isosceles (two sides equal), or scalene (no sides equal) — and by angles — acute (all angles < 90°), right (one angle = 90°), or obtuse (one angle > 90°). This calculator identifies and displays the type after solving.

How is the area of a triangle calculated?

The area is calculated using Heron's formula when all three sides are known: Area = √(s(s−a)(s−b)(s−c)), where s is the semi-perimeter (a+b+c)/2. Alternatively, if two sides and their included angle are known, Area = ½·a·b·sin(C) is used.

Why does my input show 'not a valid triangle'?

A valid triangle requires that the sum of any two sides must be greater than the third side (triangle inequality), and all angles must sum to exactly 180°. If your inputs violate these rules — for example, sides 1, 2, and 10 — no triangle can exist and the calculator will not return results.