The formula to find the critical angle is:
\\(\\begin{array}{l}sin \ heta =\\frac{n_{2}}{n_{1}}\\end{array} \\)
Where,
n1 is the refractive index in medium 1
n2 is the refractive index in medium 2
Ө is the critical angle