Find The Length Of Triangle Calculator






Find the Length of Triangle Calculator – SEO Optimized Tool


Expert Find the Length of Triangle Calculator

Calculate the unknown side of any triangle using the Law of Cosines (SAS).

Triangle Side Calculator


Enter the length of the first adjacent side.


Enter the length of the second adjacent side.


Enter the angle between sides ‘a’ and ‘b’. Must be less than 180°.


What is a Find the Length of Triangle Calculator?

A find the length of triangle calculator is a digital tool designed to determine the length of an unknown side of a triangle when you know the lengths of the other two sides and the angle between them. This specific scenario is known in trigonometry as the Side-Angle-Side (SAS) case. The calculator applies the Law of Cosines, a fundamental theorem in geometry, to perform the calculation. It’s an essential utility for students, engineers, architects, surveyors, and anyone needing to solve for triangle dimensions without manual calculations. Unlike the Pythagorean theorem, which only applies to right-angled triangles, this calculator works for any triangle.

Anyone who needs to solve for geometric properties will find this tool indispensable. Common misconceptions include thinking that you can solve a triangle with any three pieces of information, but certain combinations (like Angle-Angle-Angle) only define similarity, not a specific size. This find the length of triangle calculator specifically and accurately handles the SAS case.

Find the Length of Triangle Calculator: Formula and Explanation

The core of this calculator is the Law of Cosines. This powerful rule is a generalization of the Pythagorean theorem and can be applied to all triangles. The formula is as follows:

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

This equation allows us to find the length of side ‘c’ when we know the lengths of sides ‘a’ and ‘b’ and the measure of the angle ‘C’ that is between them.

Step-by-Step Derivation:

  1. Square the lengths of the two known sides, ‘a’ and ‘b’.
  2. Find the cosine of the known included angle ‘C’. Remember to convert the angle from degrees to radians for the calculation, as most programming functions require it.
  3. Multiply two times the length of ‘a’ times the length of ‘b’ times the cosine of ‘C’ (2 * a * b * cos(C)).
  4. Subtract the result from step 3 from the sum of the squares from step 1 (a² + b²).
  5. Take the square root of the result from step 4 to get the final length of side ‘c’.

Variables Table

Variable Meaning Unit Typical Range
a Length of the first known side Any unit of length (m, ft, in) Positive number
b Length of the second known side Any unit of length (m, ft, in) Positive number
C The included angle between sides ‘a’ and ‘b’ Degrees 0° to 180°
c The unknown side opposite angle C Same unit as ‘a’ and ‘b’ Calculated positive number

Practical Examples

Example 1: Land Surveying

A surveyor needs to determine the distance across a lake. They stand at a point and measure the distance to two points on opposite sides of the lake, finding them to be 150 meters (side ‘a’) and 200 meters (side ‘b’). The angle between these two lines of sight is measured to be 65° (angle ‘C’). Using the find the length of triangle calculator:

  • Input Side ‘a’: 150
  • Input Side ‘b’: 200
  • Input Angle ‘C’: 65

The calculator applies the formula c² = 150² + 200² – 2 * 150 * 200 * cos(65°). This yields a length for side ‘c’ (the distance across the lake) of approximately 192.8 meters.

Example 2: Navigation

A pilot flies 80 miles due east. They then turn 120° north and fly for another 100 miles. How far is the plane from its starting point? Here, side ‘a’ is 80 miles, side ‘b’ is 100 miles. The angle inside the triangle is 180° – 120° = 60°. Using the find the length of triangle calculator:

  • Input Side ‘a’: 80
  • Input Side ‘b’: 100
  • Input Angle ‘C’: 60

The calculator computes c² = 80² + 100² – 2 * 80 * 100 * cos(60°), resulting in a distance ‘c’ of approximately 91.7 miles from the start.

How to Use This Find the Length of Triangle Calculator

Using this tool is straightforward. Follow these steps to get an accurate result for your problem.

  1. Enter Side ‘a’: Input the length of the first of the two known sides into the “Length of Side ‘a'” field.
  2. Enter Side ‘b’: Input the length of the second known side into the “Length of Side ‘b'” field.
  3. Enter Angle ‘C’: Input the angle that is *between* sides ‘a’ and ‘b’. This must be in degrees.
  4. Read the Results: The calculator will automatically update, showing the primary result (the length of the unknown side ‘c’) in a large, clear format. You’ll also see intermediate values like a², b², and cos(C) to help you understand the calculation. A visual diagram and a breakdown table are also provided. For more complex problems, you might consult a trigonometry calculator.

Key Factors That Affect the Results

The output of the find the length of triangle calculator is sensitive to the inputs. Understanding these factors is key to interpreting the results.

  • Side Lengths (a and b): The most direct factors. Increasing the length of either side ‘a’ or ‘b’ will generally increase the length of the unknown side ‘c’.
  • The Included Angle (C): This has a significant impact. As the angle ‘C’ increases from 0° towards 90°, the length of side ‘c’ increases. As it increases from 90° to 180°, side ‘c’ continues to increase. An angle of 90° reduces the formula to the Pythagorean theorem (since cos(90°)=0). An angle of 180° results in c = a + b.
  • Cosine of the Angle: The value of cos(C) directly modifies the subtractive part of the formula. For acute angles (C < 90°), cos(C) is positive, reducing the value of c². For obtuse angles (C > 90°), cos(C) is negative, which means you subtract a negative, effectively *adding* to the value of c² and making side ‘c’ longer. A law of cosines calculator is built on this principle.
  • Unit Consistency: Ensure that sides ‘a’ and ‘b’ are in the same unit (e.g., both in meters or both in feet). The calculator computes a numerical value; the unit of the result ‘c’ will be the same as the input units.
  • Measurement Accuracy: Small errors in measuring the input sides or, more significantly, the angle, can lead to larger errors in the calculated result. This is especially true for very large triangles, such as in astronomy or surveying.
  • Triangle Inequality Theorem: For a valid triangle to be formed, the sum of the lengths of any two sides must be greater than the length of the third side. While this calculator solves for ‘c’, this theorem is a fundamental rule in geometry. Our geometry calculator can help explore more such rules.

Frequently Asked Questions (FAQ)

1. What is the Law of Cosines?

The Law of Cosines is a formula used in trigonometry to relate the lengths of the sides of a triangle to the cosine of one of its angles. The most common form is c² = a² + b² – 2ab * cos(C). Our find the length of triangle calculator uses this exact formula.

2. Can this calculator be used for right-angled triangles?

Yes. If you input an angle of 90 degrees, the cos(90°) term becomes zero, and the formula simplifies to c² = a² + b², which is the Pythagorean theorem. For dedicated right-triangle calculations, a specific hypotenuse calculator might be faster.

3. What happens if I enter an angle greater than 180 degrees?

A triangle cannot have an internal angle greater than 180 degrees. The calculator will show an error, as this is a geometrically impossible scenario.

4. Why is my result ‘NaN’ or an error?

This typically happens if you leave an input field blank, enter a non-numeric value, or provide an invalid geometric input (like a negative side length or an angle >= 180). Please check your inputs to ensure they are valid numbers.

5. What is the difference between the Law of Sines and the Law of Cosines?

The Law of Cosines is used for SAS (Side-Angle-Side, as in this calculator) or SSS (Side-Side-Side) cases. The Law of Sines is used for ASA (Angle-Side-Angle) or AAS (Angle-Angle-Side) cases. They solve different types of triangle problems.

6. Can I find angles with this tool?

This specific find the length of triangle calculator is designed to find a side length (the SAS case). To find an angle, you would need to know all three sides (SSS case) and use a rearranged version of the Law of Cosines formula, or use a more general triangle calculator.

7. What are some real-world applications?

The Law of Cosines is used in many fields, including surveying to measure distances across obstacles, astronomy to find distances between celestial bodies, engineering for construction projects, and navigation for calculating paths and distances.

8. Does the unit of measurement matter?

As long as you use the same unit for both side ‘a’ and side ‘b’, the result for side ‘c’ will be in that same unit. The calculation itself is unit-agnostic. Whether you use meters, feet, or inches, the numerical logic remains the same.

© 2026 Your Company. All Rights Reserved. This find the length of triangle calculator is for informational purposes only.


Leave a Reply

Your email address will not be published. Required fields are marked *