Optical properties of water and ice
The refractive index of water at 20 °C for visible light is 1.33. The refractive index of normal ice is 1.31 (from List of refractive indices). In general, an index of refraction is a complex number with real and imaginary parts, where the latter indicates the strength of absorption loss at a particular wavelength. In the visible part of the electromagnetic spectrum, the imaginary part of the refractive index is very small. However, water and ice absorb in infrared and close the infrared atmospheric window thereby contributing to the greenhouse effect The absorption  spectrum of pure water is used in numerous applications, including light scattering and absorption by ice crystals and cloud water droplets, theories of the rainbow, determination of the single-scattering albedo, ocean color, and many others. Quantitative description of the refraction index. Over the wavelengths from 0.2 μm to 1.2 μm, and over temperatures from −12 °C to 500 °C, the real part of the index of refraction of water can be calculated by the following empirical expression: Where: and the appropriate constants are formula_5 = 0.244257733, formula_6 = 0.00974634476, formula_7 = −0.00373234996, formula_8 = 0.000268678472, formula_9 =  0.0015892057, formula_10 = 0.00245934259, formula_11 = 0.90070492, formula_12 = −0.0166626219, formula_13 = 273.15 K,formula_14 = 1000 kg/m, formula_15 = 589 nm, formula_16 = 5.432937, and formula_17 = 0.229202. In the above expression, T is the absolute temperature of water (in K), formula_18 is the wavelength of light in nm, formula_19 is the density of the water in kg/m, and n is the real part of the index of refraction of water. Volumic mass of water. In the above formula, the density of water also varies with temperature and is defined by: formula_20 with: Refractive index (real and  imaginary parts) for liquid water. The total refractive index of water is given as "m = n + ik". The absorption coefficient α' is used in the Beer–Lambert law with the prime here signifying base e convention. Values are for water at 25 °C, and were obtained through various sources in the cited literature review.