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