The calculated distance (air line) between Shāhkot and Kartārpur is approximately 27 miles respectively 43 kilometers.
By car or train, the actual journey to Kartārpur is certainly longer, as only the direct route (as the crow flies) between Shāhkot and Kartārpur has been calculated here.