Trigonometry

Finding Missing Sides with Trigonometry

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
📐
Carpentry

Measurements, material estimation, cutting calculations

Electrical

Voltage drop, wire sizing, load balancing

One of the most practical skills in trigonometry is using an angle and one known side to find an unknown side of a right triangle. This is the core technique carpenters use for rafter calculations, electricians use for conduit runs, and surveyors use for distance measurements.

The process is always the same: identify the sides, choose the right ratio, set up the equation, and solve.

Right Triangle — Finding an Unknown Side

θO = ?AHDashed side = unknown (solve for this)

The Three-Step Method

Step 1 — Label the sides. Relative to the known angle, identify which sides are the opposite (O), adjacent (A), and hypotenuse (H).

Step 2 — Choose the ratio. Based on which side you know and which side you need, pick sine, cosine, or tangent:

You KnowYou NeedUse
HypotenuseOppositesinθ=OH\sin\theta = \frac{O}{H}
HypotenuseAdjacentcosθ=AH\cos\theta = \frac{A}{H}
AdjacentOppositetanθ=OA\tan\theta = \frac{O}{A}
OppositeHypotenusesinθ=OH\sin\theta = \frac{O}{H}
AdjacentHypotenusecosθ=AH\cos\theta = \frac{A}{H}
OppositeAdjacenttanθ=OA\tan\theta = \frac{O}{A}

Step 3 — Solve. Plug in the values, then use algebra to isolate the unknown.

Finding the Opposite Side (Given Angle and Hypotenuse)

When you know the hypotenuse and an angle, use sine to find the opposite side.

Example 1: A cable is 40 feet long and makes a 35-degree angle with the ground. How high above the ground does the cable reach?

The cable is the hypotenuse (H=40H = 40). The height is opposite the 35-degree angle. We need OO.

sin(35°)=O40\sin(35°) = \frac{O}{40}

O=40×sin(35°)40×0.573622.94 ftO = 40 \times \sin(35°) \approx 40 \times 0.5736 \approx 22.94 \text{ ft}

Answer: The cable reaches approximately 22.94 feet above the ground.

Finding the Adjacent Side (Given Angle and Opposite)

When you know the opposite side and an angle, use tangent to find the adjacent side.

Example 2: A tree casts a shadow. From the tip of the shadow, the angle up to the top of the tree is 50 degrees. The tree is 30 feet tall. How long is the shadow?

The tree height (30 ft) is opposite the 50-degree angle. The shadow length is adjacent. We need AA.

tan(50°)=OA=30A\tan(50°) = \frac{O}{A} = \frac{30}{A}

A=30tan(50°)301.191825.17 ftA = \frac{30}{\tan(50°)} \approx \frac{30}{1.1918} \approx 25.17 \text{ ft}

Answer: The shadow is approximately 25.17 feet long.

Finding the Hypotenuse (Given Angle and One Side)

Example 3: Find the hypotenuse given an angle and the adjacent side.

A ramp makes a 12-degree angle with the ground. The horizontal run is 20 feet. How long is the ramp surface?

The horizontal run (20 ft) is adjacent to the 12-degree angle. The ramp surface is the hypotenuse. We need HH.

cos(12°)=AH=20H\cos(12°) = \frac{A}{H} = \frac{20}{H}

H=20cos(12°)200.978120.45 ftH = \frac{20}{\cos(12°)} \approx \frac{20}{0.9781} \approx 20.45 \text{ ft}

Answer: The ramp surface is approximately 20.45 feet long.

Solving Tips

When the unknown is in the numerator of the ratio, multiply:

sinθ=OH    O=H×sinθ\sin\theta = \frac{O}{H} \implies O = H \times \sin\theta

When the unknown is in the denominator, divide:

sinθ=OH    H=Osinθ\sin\theta = \frac{O}{H} \implies H = \frac{O}{\sin\theta}

Here is the complete set of rearranged formulas:

To FindFormula
OppositeO=H×sinθO = H \times \sin\theta
AdjacentA=H×cosθA = H \times \cos\theta
OppositeO=A×tanθO = A \times \tan\theta
Hypotenuse (from O)H=OsinθH = \dfrac{O}{\sin\theta}
Hypotenuse (from A)H=AcosθH = \dfrac{A}{\cos\theta}
Adjacent (from O)A=OtanθA = \dfrac{O}{\tan\theta}

Real-World Application: Carpentry — Rafter Length Calculation

A carpenter is framing a roof. The roof pitch angle is 25 degrees, and the horizontal run from the outer wall to the ridge beam is 14 feet. The carpenter needs to know the rafter length (the actual board that runs along the slope from wall to ridge).

The horizontal run (14 ft) is adjacent to the 25-degree pitch angle. The rafter length is the hypotenuse.

Step 1 — Choose the ratio. We know Adjacent and need Hypotenuse. Use cosine.

cos(25°)=14H\cos(25°) = \frac{14}{H}

Step 2 — Solve for HH:

H=14cos(25°)140.906315.45 ftH = \frac{14}{\cos(25°)} \approx \frac{14}{0.9063} \approx 15.45 \text{ ft}

Step 3 — Find the rise (for ordering materials). The rise is the opposite side:

O=14×tan(25°)14×0.46636.53 ftO = 14 \times \tan(25°) \approx 14 \times 0.4663 \approx 6.53 \text{ ft}

Answer: The rafter needs to be at least 15.45 feet long, and the roof will rise 6.53 feet from the wall plate to the ridge. The carpenter would round up to 16 feet for the lumber order and add extra for the overhang.

Common Mistakes

  1. Using the wrong ratio. If you need the relationship between opposite and hypotenuse, use sine — not cosine or tangent.
  2. Multiplying when you should divide. When the unknown side is in the denominator of the ratio, you need to divide, not multiply.
  3. Forgetting to check with Pythagorean theorem. After finding all three sides, verify with a2+b2=c2a^2 + b^2 = c^2.
  4. Rounding too early. Keep at least 4 decimal places in intermediate steps and round only in the final answer.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: A right triangle has a 42-degree angle and a hypotenuse of 18. Find the opposite side.

O=H×sinθ=18×sin(42°)18×0.669112.04O = H \times \sin\theta = 18 \times \sin(42°) \approx 18 \times 0.6691 \approx 12.04

Answer: The opposite side is approximately 12.04.

Problem 2: A right triangle has a 55-degree angle and the adjacent side is 9. Find the hypotenuse.

cos(55°)=9H\cos(55°) = \frac{9}{H}

H=9cos(55°)90.573615.69H = \frac{9}{\cos(55°)} \approx \frac{9}{0.5736} \approx 15.69

Answer: The hypotenuse is approximately 15.69.

Problem 3: A flagpole casts a shadow 24 feet long. The angle of elevation from the tip of the shadow to the top of the pole is 58 degrees. How tall is the flagpole?

The shadow (24 ft) is adjacent. The flagpole height is opposite. Use tangent.

O=24×tan(58°)24×1.600338.41 ftO = 24 \times \tan(58°) \approx 24 \times 1.6003 \approx 38.41 \text{ ft}

Answer: The flagpole is approximately 38.41 feet tall.

Problem 4: An electrician needs to run conduit from the floor to a junction box that is 8 feet up a wall. The conduit must angle away from the wall at 70 degrees from the floor. How long is the conduit?

The wall height (8 ft) is opposite the 70-degree angle. The conduit length is the hypotenuse.

sin(70°)=8H\sin(70°) = \frac{8}{H}

H=8sin(70°)80.93978.51 ftH = \frac{8}{\sin(70°)} \approx \frac{8}{0.9397} \approx 8.51 \text{ ft}

Answer: The conduit run is approximately 8.51 feet.

Problem 5: A roof has a 30-degree pitch angle and a rafter length of 18 feet. Find both the horizontal run and the vertical rise.

The rafter is the hypotenuse (H=18H = 18).

Horizontal run (adjacent): A=18×cos(30°)18×0.866015.59 ftA = 18 \times \cos(30°) \approx 18 \times 0.8660 \approx 15.59 \text{ ft}

Vertical rise (opposite): O=18×sin(30°)=18×0.5=9 ftO = 18 \times \sin(30°) = 18 \times 0.5 = 9 \text{ ft}

Check: 15.592+92=243.05+81=324.0518\sqrt{15.59^2 + 9^2} = \sqrt{243.05 + 81} = \sqrt{324.05} \approx 18 . Correct.

Answer: The run is approximately 15.59 feet and the rise is 9 feet.

Key Takeaways

  • To find a missing side, label the sides (O, A, H), choose the ratio that connects your known and unknown sides, and solve
  • When the unknown is in the numerator, multiply: O=HsinθO = H \sin\theta
  • When the unknown is in the denominator, divide: H=O/sinθH = O / \sin\theta
  • Always verify your answer using the Pythagorean theorem when possible
  • This technique is used daily in carpentry (rafter lengths), electrical work (conduit runs), and surveying (indirect measurement)

Return to Trigonometry for more topics in this section.

Last updated: March 28, 2026