A method includes obtaining a relative density of crude oil, and determining an effective molecular weight of the crude oil based on the obtained relative density. The method also includes calculating a crude oil viscosity value as a function of the effective molecular weight. The method also includes storing or displaying the crude oil viscosity value.