Triangle Side Calculator

Find a missing side of a triangle using the Law of Cosines, Law of Sines, Pythagorean Theorem, or subtract known sides from the perimeter. Select a method, enter known values, and get the unknown s...

Triangle Side Calculator

Missing Side
6.4617
c = √(7² + 10² − 2·7·10·cos 40°)
Side a
7.0000
First side
Side b
10.0000
Second side
Side c
6.4617
Third side
Angle A
44.1336°
Opposite side a
Angle B
95.8664°
Opposite side b
Angle C
40.0000°
Opposite side c
Perimeter
23.4617
Sum of all sides
Area
22.4976
Heron's formula
Triangle Type
Obtuse
Based on largest angle

Side Comparison

a
7.0000
b
10.0000
c
6.4617

Angle Comparison

A
44.1336°
B
95.8664°
C
40.0000°

Method Reference

MethodWhen to UseFormula
Law of CosinesSAS (two sides + included angle)c = √(a² + b² − 2ab cos C)
Law of SinesAAS / ASA (side + 2 angles)b = a sin B / sin A
Pythagorean TheoremRight triangle (two legs or leg + hyp)c = √(a² + b²)
PerimeterPerimeter + 2 sides knownc = P − a − b

Complete Triangle

ElementValue
Side a7.0000
Side b10.0000
Side c6.4617
Angle A44.1336°
Angle B95.8664°
Angle C40.0000°
Perimeter23.4617
Area22.4976
Planning notes, formulas, and examples

About the Triangle Side Calculator

The **Triangle Side Calculator** helps you find any missing side of a triangle when you know enough other measurements. It supports four methods:

1. **Law of Cosines** — Use when you know two sides and the included angle (SAS). The formula c² = a² + b² − 2ab·cos C gives the third side directly. 2. **Law of Sines** — Use when you know one side and two angles (or one side, one opposite angle, and one other angle). The ratio a/sin A = b/sin B lets you solve for the unknown side. 3. **Pythagorean Theorem** — The simplest method, applicable only to right triangles. a² + b² = c² where c is the hypotenuse. 4. **Perimeter Method** — If you know the perimeter and two sides, the third side is simply P − a − b.

Each method covers a different set of known information, making this calculator a versatile one-stop tool for solving triangles. Whether you are a student working through geometry homework, an engineer verifying structural dimensions, or a surveyor computing distances, this calculator handles the arithmetic and shows detailed intermediate steps so you understand every result.

Load any of the eight presets to see real examples, then adjust the inputs to match your problem.

When This Page Helps

Finding one missing side is not a single-type problem. Sometimes you know two sides and an included angle, sometimes you know two angles and one side, and sometimes the problem is really just a perimeter subtraction or a right-triangle shortcut. This calculator is useful because it keeps those cases separate and applies the correct method automatically for the data you actually have.

That reduces a common source of mistakes: choosing the wrong theorem. Instead of forcing every problem into one formula, the tool makes the method part of the setup, then shows the completed triangle so you can see whether the result is reasonable in context.

How to Use the Inputs

  1. Select the method that matches the information you have.
  2. Enter the known values (sides, angles, or perimeter) into the input fields.
  3. For the Law of Sines, angles should be in degrees.
  4. Click a preset to load a ready-made example for each method.
  5. Review the output cards for the missing side and additional triangle properties.
  6. Examine the formula reference table to understand which method applies in different scenarios.
Formula used
Law of Cosines: c = √(a² + b² − 2ab·cos C). Law of Sines: b = a·sin B / sin A. Pythagorean: c = √(a² + b²). Perimeter: c = P − a − b.

Example Calculation

Result: Missing side c ≈ 6.46

Known: a = 7, b = 10, angle C = 40°. Using the Law of Cosines: c = √(49 + 100 − 2·7·10·cos 40°) = √(149 − 107.25) ≈ √41.75 ≈ 6.461.

Tips & Best Practices

  • Use the Law of Cosines whenever you have SAS — it always gives a unique answer.
  • With the Law of Sines and SSA, there may be two solutions (the ambiguous case).
  • The Pythagorean Theorem is just a special case of the Law of Cosines with C = 90°.
  • Always check the triangle inequality: any side must be less than the sum of the other two.
  • Angles must be entered in degrees — convert from radians if necessary.

Choosing the Right Side-Finding Method

Most triangle-side errors come from method selection, not arithmetic. If you know two sides and the included angle, the Law of Cosines is the direct path. If you know an angle-side pair and another angle, the Law of Sines is usually better. Right triangles invite the Pythagorean theorem, while perimeter-based problems are often simple subtraction dressed up in geometric language.

Why the Completed Triangle Matters

A missing-side result is more useful when you can immediately see the full triangle it creates. Once the unknown side is found, you can test the triangle inequality, inspect the angle sizes, and compare the perimeter and area. That follow-through helps confirm that the answer is geometrically sensible, not just numerically possible.

Building Good Habits on Mixed Problems

When a worksheet mixes SAS, ASA, right-triangle, and perimeter questions together, slow down before substituting numbers. Identify what is known, note whether an angle is included or opposite, and decide which theorem fits the information. That one decision usually determines whether the rest of the work is smooth or messy.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Use the Pythagorean Theorem for right triangles, Law of Cosines for SAS, Law of Sines for ASA or AAS, and the Perimeter method if you know P and two sides.