How to Find Side c of a Triangle

#Find Side C of a Triangle
TL;DR
To find side c, match the method to what you know: Pythagoras for a right angle at C, the Law of Cosines for two sides and the angle between them, the Law of Sines for two angles. Six worked examples follow.
Kota Jaya Mounika·reviewed byShikha SharmaLast updated on December 2, 202614 min read

Key Points

  • Side cc is always opposite angle C, side aa opposite A, side bb opposite B.
  • Right angle at C: c=a2+b2c = \sqrt{a^2 + b^2}. Right angle elsewhere: cc is a leg, so subtract squares.
  • Two sides and the included angle (SAS): c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C.
  • Two angles and a side: find C from the angle sum, then c=asin⁡Csin⁡Ac = \dfrac{a \sin C}{\sin A}.
  • Two sides only: cc is not fixed; it lies strictly between ∣a−b∣|a - b| and a+ba + b.

When You Cannot Reach Across the Gap

A surveyor on one shore of a lake cannot stretch a tape across to the far landmarks.

  • She can measure the distance from where she stands to each landmark.
  • She can measure the angle between the two directions.
  • Two sides and the angle between them are enough to calculate the third side exactly, without crossing the water.

Mapmakers, radar operators and roof carpenters find that third side every day, with the same short calculation.

What Does "Finding Side c" Actually Mean?

Finding side c means computing the third side of a triangle from measurements you already have. Triangles follow a fixed naming rule:

  • The corners are capital letters A, B and C.
  • Each side takes the lower-case letter of the corner opposite it: side aa faces A, side bb faces B, side cc faces C.
  • So "side c" and "angle C" always come as a pair. Break the pairing and a formula quietly computes a different side.
to find side c of a triangle, use the side opposite angle C
A triangle with corners A, B and C, side a (blue) opposite A, side b (green) opposite B and side c (orange) opposite C, with the angle at C shaded orange.

How do you know which formula to use?

Look at what you are given before calculating anything.

What you know Method Formula for c
Right angle at C, legs aa and bb Pythagoras c=a2+b2c = \sqrt{a^2 + b^2}
Right angle at A, so cc is a leg Pythagoras, subtracting c=a2−b2c = \sqrt{a^2 - b^2}
Right angle at C, side aa and angle A Trigonometric ratios c=asin⁡Ac = \dfrac{a}{\sin A}
Sides aa, bb and angle C between them (SAS) Law of Cosines c=a2+b2−2abcos⁡Cc = \sqrt{a^2 + b^2 - 2ab\cos C}
Two angles and a side Law of Sines c=asin⁡Csin⁡Ac = \dfrac{a \sin C}{\sin A}
Sides aa and bb only none: a range ∣a−b∣<c<a+b\lvert a - b \rvert < c < a + b
choosing the method to find side c from what you already know
A decision card: a right angle and two sides leads to Pythagoras; a right angle, one side and one acute angle leads to sin, cos or tan; two sides and the angle between them leads to the Law of Cosines; two angles and any side leads to the Law of Sines; only two sides gives a range, not a single answer.

How Do You Find Side c of a Triangle Step by Step?

The Law of Cosines handles every case with two sides and the angle between them:

  1. Label the known sides aa and bb, and the angle between them ∠C\angle C.
  2. Substitute into c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C.
  3. Evaluate, keeping the sign of cos⁡C\cos C.
  4. Take the positive square root.

Method 1: Right triangles and Pythagoras

If the triangle has a right angle, the Pythagoras theorem is fastest. Find the right angle first.

  • Right angle at C: cc is the hypotenuse, so c=a2+b2c = \sqrt{a^2 + b^2}.
  • Right angle at A or B: cc is a leg; subtract the squares.
  • One side and an acute angle: with the right angle at C, sin⁡A=ac\sin A = \tfrac{a}{c}, so c=asin⁡Ac = \tfrac{a}{\sin A}.
in a right triangle, side c is the hypotenuse only when the right angle is at C
Two right triangles. Left: the right angle at C, legs 3 and 4, so c = √(3² + 4²) = 5 is the hypotenuse. Right: the right angle at A, hypotenuse a = 13 and leg b = 5, so c = √(13² − 5²) = 12 is a leg.

Method 2: The Law of Cosines

When the angle at C is not 90°90°, Pythagoras needs one extra term: c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C. The Law of Cosines is Pythagoras used twice.

  • Drop a height from A to side aa at H. Then the height is bsin⁡Cb \sin C, CH is bcos⁡Cb \cos C and HB is a−bcos⁡Ca - b\cos C.
  • Pythagoras on the right-hand triangle: c2=(a−bcos⁡C)2+(bsin⁡C)2c^2 = (a - b\cos C)^2 + (b \sin C)^2.
  • Since cos⁡2C+sin⁡2C=1\cos^2 C + \sin^2 C = 1, this becomes c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C.
the Law of Cosines comes from Pythagoras applied to the triangle split by a height
Triangle ABC with a = 10, b = 7 and C = 60 degrees, and a height from A to H on side a. The pieces are b cos C = 3.50, a − b cos C = 6.50 and the height b sin C = 6.06, giving c² = 10² + 7² − 2(10)(7)(0.5) = 79, so c ≈ 8.89.

Test it at the edges: at C=90°C = 90° it is Pythagoras; as C shrinks to 0°0°, c→∣a−b∣c \to |a - b|; as C opens to 180°180°, c→a+bc \to a + b. Euclid stated the rule around 300 BCE (Book II, Propositions 12 and 13) in terms of areas, before cosines existed.

Method 3: Two angles and a side (Law of Sines)

Two angles give the third, since they add to 180°180°. The Law of Sines then links each side to the sine of its opposite angle:

asin⁡A=csin⁡C⟹c=asin⁡Csin⁡A\frac{a}{\sin A} = \frac{c}{\sin C} \qquad\Longrightarrow\qquad c = \frac{a \sin C}{\sin A}

If you know two sides and an angle that is not between them (SSA), there may be two triangles, one or none. In the SAS case, use the Law of Cosines and that never arises.

When you know only two sides

With aa and bb alone, side cc is not one number. Hinge the two sides at C: as the hinge opens, cc grows from nearly ∣a−b∣|a - b| to nearly a+ba + b. This is the triangle inequality.

with only two sides known, side c can be any length between their difference and their sum
Sides a = 4 and b = 3 hinged at C, with side b swung to four positions giving c of about 1.56, 4.33, 6.36 and 6.94, beside the inequality 1 < c < 7.

Try It Yourself

The tool keeps the right angle at C, so the orange side is always the hypotenuse. Drag the legs and read c=a2+b2c = \sqrt{a^2 + b^2}. Opening that corner past 90°90° would make cc grow, which is what the Law of Cosines measures.

Examples of Finding Side c of a Triangle

The numbers stay clean early and turn realistic later. Decimals are rounded to two places at the end.

Example 1

Angle C is a right angle, a=3a = 3 and b=4b = 4. Find cc.

  1. cc is the hypotenuse: c2=32+42=25c^2 = 3^2 + 4^2 = 25.
  2. c=25=5c = \sqrt{25} = 5.

Final answer: c=5c = 5.

Example 2

A triangle has a=7a = 7, b=10b = 10 and C=60°C = 60°. Find cc.

  1. The rusher writes Pythagoras: c=149≈12.21c = \sqrt{149} \approx 12.21.
  2. But 60°60° is narrower than a right angle, which pulls A and B closer, so cc must be shorter than 12.21.
  3. Law of Cosines, with cos⁡60°=0.5\cos 60° = 0.5: c2=49+100−2(7)(10)(0.5)=79c^2 = 49 + 100 - 2(7)(10)(0.5) = 79, so c=79≈8.89c = \sqrt{79} \approx 8.89.
with the same two sides, the angle at C decides how long side c is
Three triangles with a = 7 and b = 10 and the angle C at 60, 90 and 120 degrees, giving c = √79 ≈ 8.89, c = √149 ≈ 12.21 and c = √219 ≈ 14.80.

Final answer: c≈8.89c \approx 8.89.

Example 3

Angle A is a right angle, a=13a = 13 and b=5b = 5. Find cc.

  1. The right angle is at A, so aa is the hypotenuse and cc is a leg.
  2. c=169−25=144=12c = \sqrt{169 - 25} = \sqrt{144} = 12.

Final answer: c=12c = 12 (a 5, 12, 13 triple).

Example 4

A triangle has a=5a = 5, b=8b = 8 and C=120°C = 120°. Find cc.

  1. cos⁡120°=−0.5\cos 120° = -0.5, so the last term becomes an addition.
  2. c2=25+64−2(5)(8)(−0.5)=89+40=129c^2 = 25 + 64 - 2(5)(8)(-0.5) = 89 + 40 = 129.
  3. c=129≈11.36c = \sqrt{129} \approx 11.36, longer than either given side, as a wide angle demands.

Final answer: c≈11.36c \approx 11.36.

Example 5

Angle C is a right angle, angle A is 35°35° and a=6a = 6. Find cc.

  1. aa is opposite A and cc is the hypotenuse, so sin⁡35°=6c\sin 35° = \tfrac{6}{c}.
  2. c=60.5736≈10.46c = \tfrac{6}{0.5736} \approx 10.46, longer than aa as it must be.

Final answer: c≈10.46c \approx 10.46.

Example 6

A triangle has A=40°A = 40°, B=75°B = 75° and a=8a = 8. Find cc.

  1. C=180°−40°−75°=65°C = 180° - 40° - 75° = 65°.
  2. c=8sin⁡65°sin⁡40°=8×0.90630.6428≈11.28c = \dfrac{8 \sin 65°}{\sin 40°} = \dfrac{8 \times 0.9063}{0.6428} \approx 11.28.
  3. C is the largest angle, so cc should be the longest side, and it is.
the Law of Sines finds side c from two angles and a side
Triangle ABC with angles 40 degrees at A, 75 degrees at B and 65 degrees at C, side a = 8 along the bottom, and side c of about 11.28 in orange, with the working c = 8 × sin 65° ÷ sin 40° = 8 × 0.9063 ÷ 0.6428.

Final answer: c≈11.28c \approx 11.28.

Three Quick Checks for Any Answer

A calculator will happily return a wrong number, so finish with these.

  1. Biggest faces biggest. The longest side sits opposite the largest angle.
  2. Compare with a2+b2\sqrt{a^2 + b^2}. If C is acute, cc is smaller; if obtuse, larger.
  3. The triangle inequality. cc must lie between ∣a−b∣|a - b| and a+ba + b.

Why Does the Law of Cosines Solve the Unreachable Distance?

It turns a distance you cannot measure into two you can, plus an angle.

  • Surveying. Sightlines of 120 m and 150 m at 70°70° give c2=14400+22500−36000(0.3420)≈24587.3c^2 = 14400 + 22500 - 36000(0.3420) \approx 24587.3, so the landmarks are about 156.8 m apart.
  • Mapping. National surveys once covered whole countries with chains of triangles, computing each new side instead of pacing it out.
  • Navigation and radar. The distance between two objects follows from two ranges and the angle between them.
  • Building. Roof trusses and frames are triangles whose third sides are cut to length before assembly.
the Law of Cosines finds the distance across a lake from two sightlines and the angle between them
A surveyor at S measures 120 m to landmark P and 150 m to landmark Q, with 70 degrees between the sightlines and a lake between P and Q. The working c² = 120² + 150² − 2(120)(150) cos 70° ≈ 24587.3 gives PQ ≈ 156.8 m.

The cosine comes from the trigonometric ratios, so a shaky grasp of cos⁡θ\cos\theta is worth fixing first.

What Are the Most Common Mistakes When Finding Side c?

Most wrong answers come from choosing the method before reading the triangle.

Mistake 1: Using Pythagoras on a triangle with no right angle

Where it slips in: Any SAS problem, especially when the angle is close to 90°90°.

Don't do this: Write c2=a2+b2c^2 = a^2 + b^2 because two sides are given.

The correct way: Pythagoras needs C=90°C = 90° exactly; otherwise include −2abcos⁡C-2ab\cos C, as in Example 2.

Mistake 2: Pairing the wrong angle with side c

Where it slips in: Diagrams labelled out of order, or an angle given at A or B.

Don't do this: Plug in whichever angle the question mentions.

The correct way: The angle must sit between aa and bb and opposite cc. Matching angle to opposite side feels skippable, and it is exactly where answers go wrong.

Mistake 3: Dropping the sign of the cosine for obtuse angles

Where it slips in: Angles above 90°90°, where cos⁡C<0\cos C < 0.

Don't do this: Always subtract. For C=120°C = 120° that gives c=7c = 7, shorter than b=8b = 8, impossible opposite the largest angle.

The correct way: Substitute the cosine with its sign; a negative cosine turns the subtraction into an addition.

Mistake 4: Giving one value when only two sides are known

Where it slips in: "Two sides of a triangle are 3 and 4. Find the third side."

Don't do this: Answer 5, which assumes a right angle nobody mentioned.

The correct way: The honest answer is a range, 1<c<71 < c < 7. The memoriser who links "3 and 4" to "5" by habit is the one this catches.

Conclusion

  • Side cc is opposite angle C, and every formula depends on that pairing.
  • Pythagoras covers a right angle at C; the Law of Cosines covers two sides and the angle between them; the Law of Sines covers two angles.
  • Carry the sign of cos⁡C\cos C: an obtuse angle makes cc longer.
  • With only two sides, cc has a range set by the triangle inequality, not a single value.

A Practical Next Step

Rework Example 2 with C=45°C = 45° and then C=135°C = 135°, keeping a=7a = 7 and b=10b = 10:

  1. With C=45°C = 45°, find cc.
  2. With C=135°C = 135°, find cc.
  3. With A=50°A = 50°, B=60°B = 60° and a=9a = 9, find cc.

Answer to Question 1: c≈7.07c \approx 7.07.

Answer to Question 2: c≈15.75c \approx 15.75.

Answer to Question 3: c≈11.04c \approx 11.04.

The first two sit either side of the right-angle value 12.21. If the sign of the cosine trips you up, return to Mistake 3.

To practise choosing the right method with a teacher, explore Bhanzu's geometry tutor or math classes online.

Want a live Bhanzu trainer to walk your child through triangle problems step by step? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. OpenStax, Precalculus 2e, Section 8.2: Non-right Triangles: Law of Cosines. openstax.org
  2. OpenStax, Precalculus 2e, Section 8.1: Non-right Triangles: Law of Sines. openstax.org
  3. Euclid, Elements, Book II, Proposition 12 (the obtuse form of the Law of Cosines), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  4. Euclid, Elements, Book II, Proposition 13 (the acute form of the Law of Cosines), Joyce edition. mathcs.clarku.edu

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

How do you find side c of a triangle with two sides and an angle?
If the angle is between the two sides, use the Law of Cosines. If not, use the Law of Sines and watch for the ambiguous case.
Can you find side c of a triangle with only two sides?
No. It can be any length strictly between the difference and the sum of the two sides. You need an angle, or a right angle, to fix it.
Is the Law of Cosines just Pythagoras in disguise?
In a sense, yes. At C=90°C = 90°, cos⁡C=0\cos C = 0 and the extra term disappears, leaving c2=a2+b2c^2 = a^2 + b^2.
Which method is fastest for a right triangle?
Pythagoras, every time, or a trig ratio if you know one side and an angle.
✍️ Written By
Kota Jaya Mounika
Kota Jaya Mounika
Subject Matter Expert
Kota Jaya Mounika is a mathematics educator and content development professional with 2 years of experience. She previously worked as a Mathematics Instructor at NIAT, teaching B.Tech students and developing educational resources. At Bhanzu, she specializes in developing and reviewing mathematics content for Grades 6–8, focusing on conceptual understanding, problem-solving, and content accuracy. She is passionate about making mathematics simple, engaging, and accessible. She holds a B.Sc. in Mathematics and Statistics and a postgraduate degree in Computer Applications.
LinkedIn
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →