Apparatus and method for quantifying the oil and water fractions of a multi-phase flow stream and their respective flow rates. The hydrocarbon fractions are determined based on information gathered on their respective refractive indices when exposed to particular wavelengths of light.