The mathematical model for predicting the octane number of gasoline blends is presented. The model is based on the analysis of gasoline fuels from different naphtha process streams and takes into account the intermolecular interaction between hydrocarbons and oxygenates in gasoline blends. The octane number is correlated to a total of 69 hydrocarbons measured by gas chromatography. The model predicts the octane number within a standard error of 1 number for both the research (RON) and motor (MON) octane numbers.