To study MHD shocks in space, it is important to find the shock frame of reference from the observed plasma and magnetic field parameters. These shock parameters have to satisfy the Rankine-Hugoniot relations. In this study we present a novel procedure fo