The ratio of real depth to apparent depth is called the the
Refractive Index of a medium can be calculated as the ratio of real depth and apparent depth.
The relation between refractive index of a medium, real depth and apparent depth is