By appropriately calibrating the scale, the position of the borderline can be used to determine the refractive index of any sample. In an actual Abbe' refractometer there is not a detector on the back of the refracting prism, and there are additional optics, but this is the essential principle.