The calculated distance (air line) between Rābigh and Mecca is approximately 107 miles respectively 173 kilometers.
By car or train, the actual journey to Mecca is certainly longer, as only the direct route (as the crow flies) between Rābigh and Mecca has been calculated here.