I know that angles in a triangle can be determined using inverse trigonometric functions and the SOH CAH TOA mnemonic. A blind spot for me is how an angle $\theta$, expressed in degrees, is algebraically related to the ratio.
For example, if $\theta$ is the $30^\circ$ angle in a 30-60-90 triangle with hypotenuse $4$, adjacent side $2$, and opposite side $2\sqrt{3}$, then $$ \sin(30^\circ) = \frac{2}{4} = \frac{1}{2}. $$
I don't see the mathematical use of the degree value $30$ in the trigonometric function, only an intuitive relationship to the ratio.
How do I get degrees from the ratio? How do I get $30^\circ$ from $1/2$? If I wanted to calculate sine on my own, what would the steps be? How do I mathematically use the value $30^\circ$ in those steps?