A methodology has been developed for computing minimum miscibility pressure (MMP) for the displacement of oil by multi-component gas injection (It is focused on multiple contact miscibility mechanism (forward/backward)). The algorithm is presented for the calculation of the minimum miscibility pressure using an equation of state. The Peng–Robinson (PR) equation of state (EoS) along with random mixing rules is used to determine phase behavior of oil and gas. The key assumption of the method is that the MMP is completely independent of the porous media. This algorithm handles vaporizing (forward multiple contact) miscibility mechanisms. The MMP calculations include pressure/temperature flash calculations and oil properties characterization method of Riazi–Daubert. The proposed algorithm is fast and easy to compute.