Right-Triangle Cosine Ratio (CAH)

Also known as CAH · SOHCAHTOA cosine

cosθ=ah\cos\theta = \frac{a}{h}

Enter your known values, leave one input blank, and solves for the missing one. Try different units for next level excitement!

Learning zone

CAH: Cosine is Adjacent over Hypotenuse — the companion ratio to sine, tying an acute angle to the leg that touches it. A roofer reads it directly: a 6 m rafter pitched at 35° covers a horizontal run of 6 × cos 35° ≈ 4.9 m. Solving for the angle uses arccos on its principal branch (0°–90° here), which is single-valued because the ratio a/h must lie strictly between 0 and 1.

Right-Triangle Cosine Ratio (CAH)
cosθ=ah\cos\theta = \frac{a}{h}
Where
  • θ\theta= Acute angle
  • aa= Adjacent side
  • hh= Hypotenuse
Missing one of these? Work it out first, then come back