An approach that allows the calculation of dynamic viscosity for liquid hydrocarbons from quantum (ionization energies) and molecular (Wiener topological indices) parameters is proposed. A physical relationship is revealed between ionization and the energies of viscous flow activation. This relationship is due to the contribution from the dispersion component of Van der Waals forces to intermolecular interaction. A two-parameter dependence of the energy of viscous flow activation, energy of ionization, and Wiener topological indices is obtained. The dynamic viscosities of liquid hydrocarbons can be calculated from the kinetic compensation effect of dynamic viscosity, which indicates a relationship between the energy of activation and the Arrhenius pre-exponental factor of the Frenkel–Eyring hole model. Calculation results are confirmed through statistical processing of the experimental data.