Right-triangle ratios
Sine, cosine and tangent are ratios of sides relative to a chosen angle, which is why they depend on shape but not size. Any two similar right triangles share the same ratios.
For an unknown side use the ratio directly; for an unknown angle use the inverse function. Label the hypotenuse first, then the opposite side relative to your angle, and the correct ratio becomes obvious.