Find The Length Of Triangle Calculator






Triangle Side Length Calculator | Find Any Side


Triangle Side Length Calculator

Calculate the missing side of any triangle using the Law of Cosines.

Calculate a Triangle’s Side Length


Length of the first known side.


Length of the second known side.


The angle between side ‘a’ and side ‘b’. Must be less than 180°.


Length of Side ‘c’

Angle in Radians

a² + b²

2ab cos(C)

Calculated using the Law of Cosines: c² = a² + b² – 2ab cos(C)

Dynamic Triangle Visualization

A visual representation of the triangle based on your inputs. The diagram scales dynamically.

Calculation Breakdown

Step Component Formula Value
1 Side ‘a’ Squared
2 Side ‘b’ Squared
3 Angle ‘C’ in Radians C * (π / 180)
4 Cosine Term 2ab cos(C)
5 Side ‘c’ Squared a² + b² – 2ab cos(C)
6 Side ‘c’ Length √(c²)

This table shows the step-by-step calculation used by the triangle side length calculator.

What is a Triangle Side Length Calculator?

A triangle side length calculator is a specialized digital tool designed to find the length of an unknown side of a triangle when you have sufficient information about its other sides and/or angles. While some calculators focus only on right-angled triangles using the Pythagorean theorem, this more advanced calculator utilizes the Law of Cosines. This allows it to work for any triangle, whether it’s acute, obtuse, or right-angled.

This tool is invaluable for students, engineers, architects, and anyone in a field that requires geometric calculations. If you know the lengths of two sides and the angle between them, our triangle side length calculator can instantly provide the length of the third, unknown side, saving you from complex manual calculations. Common misconceptions are that you always need a right angle to solve a triangle, but tools like this one prove that with the right formula, any triangle is solvable.

Triangle Side Length Formula and Mathematical Explanation

The core of this triangle side length calculator is the Law of Cosines. This powerful rule is a generalization of the Pythagorean theorem and relates the lengths of the sides of a triangle to the cosine of one of its angles. For any triangle with sides labeled ‘a’, ‘b’, and ‘c’, and the angle ‘C’ opposite side ‘c’, the formula is:

c² = a² + b² – 2ab cos(C)

To find the length of side ‘c’, you simply take the square root of the result. Notice that if angle C is 90 degrees (a right angle), cos(90°) is 0, and the formula simplifies to c² = a² + b², which is the Pythagorean theorem. This shows how versatile the Law of Cosines is for every triangle side length calculator.

Variables in the Law of Cosines
Variable Meaning Unit Typical Range
a, b Lengths of the two known sides Any unit of length (cm, m, inches, etc.) Any positive number
C The known angle between sides ‘a’ and ‘b’ Degrees 0° < C < 180°
cos(C) The cosine of angle C Dimensionless -1 to 1
c The length of the unknown side opposite angle C Same as a and b Any positive number

Practical Examples (Real-World Use Cases)

The ability to calculate a missing side length is crucial in many real-world scenarios, from construction to navigation. Let’s explore two practical examples.

Example 1: Surveying a Piece of Land

A surveyor needs to determine the length of a property line across a pond. They measure the distance from a single point to each end of the pond, finding them to be 120 meters (side a) and 150 meters (side b). The angle between these two lines is measured as 70 degrees (angle C).

  • Inputs: a = 120, b = 150, C = 70°
  • Calculation: c² = 120² + 150² – 2(120)(150)cos(70°)
  • Output: The triangle side length calculator finds that the distance across the pond (side c) is approximately 156.8 meters.

Example 2: Designing a Triangular Park

An architect is designing a triangular public space. Two adjacent walkways are planned with lengths of 50 feet (side a) and 70 feet (side b). They intersect at an angle of 110 degrees (angle C). They need to find the length of the third side to order fencing.

  • Inputs: a = 50, b = 70, C = 110°
  • Calculation: c² = 50² + 70² – 2(50)(70)cos(110°)
  • Output: Using a triangle side length calculator, they determine the third side (c) needs to be approximately 98.9 feet long.

How to Use This Triangle Side Length Calculator

Our tool is designed for ease of use and accuracy. Follow these simple steps to find the information you need.

  1. Enter Side ‘a’: Input the length of the first of your two known sides into the “Side ‘a’ Length” field.
  2. Enter Side ‘b’: Input the length of the second known side into the “Side ‘b’ Length” field.
  3. Enter Angle ‘C’: Input the angle that is formed *between* sides ‘a’ and ‘b’. This value must be in degrees.
  4. Read the Results: The calculator automatically updates in real-time. The primary result, “Length of Side ‘c'”, is displayed prominently. You can also see intermediate values like the angle in radians and the components of the formula to better understand the calculation.
  5. Visualize the Triangle: The dynamic chart will redraw the triangle to scale, providing a helpful visual confirmation of your inputs.

Using this triangle side length calculator correctly ensures you get a fast and precise measurement for your project, homework, or professional application.

Key Factors That Affect Triangle Side Length Results

The final result from any triangle side length calculator is sensitive to several key factors. Understanding them ensures accurate and meaningful outcomes.

  • Length of Side ‘a’: A longer side ‘a’ will naturally lead to a longer side ‘c’, assuming other factors remain constant.
  • Length of Side ‘b’: Similar to side ‘a’, the length of side ‘b’ has a direct and significant impact on the final calculated length of side ‘c’.
  • The Included Angle (C): This is a critical factor. As the angle approaches 180°, the side ‘c’ becomes longer (approaching a+b). As it approaches 0°, side ‘c’ gets shorter (approaching |a-b|). An angle of 90° gives a result consistent with the Pythagorean theorem calculator.
  • Units of Measurement: Ensure that both side ‘a’ and side ‘b’ are in the same unit (e.g., both in feet, or both in meters). The calculator is unit-agnostic, but consistency is key. The result for side ‘c’ will be in the same unit.
  • Measurement Precision: The accuracy of your result is directly tied to the accuracy of your input measurements. Small errors in measuring the initial sides or the angle can lead to larger inaccuracies in the calculated side length.
  • Choice of Formula: This calculator uses the Law of Cosines, which is ideal for the Side-Angle-Side (SAS) case. If you have different information, such as two angles and a side, a different tool like a law of sines calculator would be more appropriate.

Frequently Asked Questions (FAQ)

1. Can this calculator be used for a right-angled triangle?

Yes. If you input an angle of 90 degrees for Angle ‘C’, the Law of Cosines simplifies to the Pythagorean theorem (c² = a² + b²), and the calculator will give you the correct hypotenuse length. It is a fully functional right triangle calculator in this scenario.

2. What is the Law of Cosines?

The Law of Cosines is a formula used in trigonometry that relates the lengths of a triangle’s sides to the cosine of one of its angles. It is essential for solving triangles that are not right-angled and is the fundamental principle behind this triangle side length calculator.

3. What if my angle is greater than 180 degrees?

The sum of angles in a triangle is always 180 degrees, so no single angle can be 180 degrees or more. The calculator will show an error if you enter an invalid angle.

4. Do I need to use specific units like meters or feet?

No, you can use any unit of length (inches, yards, kilometers, etc.) as long as you are consistent. If you input side ‘a’ in feet and side ‘b’ in feet, the resulting side ‘c’ will also be in feet.

5. Why does the calculator need the angle *between* the two sides?

The Law of Cosines specifically requires the angle included between the two known sides. This is known as the Side-Angle-Side (SAS) case. If you have a different arrangement of information (e.g., two sides and a non-included angle), you might need to use the Law of Sines or other methods. Check out our page on geometry calculators for more tools.

6. How is this different from a Law of Sines calculator?

A law of sines calculator is used when you know two angles and one side (AAS or ASA) or two sides and a non-included angle (SSA). A triangle side length calculator using the Law of Cosines is for when you know two sides and the included angle (SAS) or all three sides (SSS).

7. What are some real-life applications of this calculation?

Trigonometry is used everywhere! Applications include architecture, engineering, video game design, aviation, and surveying to measure distances that are not easily accessible. For example, it can be used to determine the height of a mountain or the distance to a star.

8. Can I find the area with this information?

Yes. Once you have two sides and the included angle, you can find the area using the formula: Area = 0.5 * a * b * sin(C). While this calculator focuses on side length, you can find more tools like a triangle area calculator on our site.

© 2026 Date Calculators Inc. All Rights Reserved.



Leave a Comment