The calculated distance (air line) between Ḩalfāyā and Ar Raqqah is approximately 143 miles respectively 230 kilometers.
By car or train, the actual journey to Ar Raqqah is certainly longer, as only the direct route (as the crow flies) between Ḩalfāyā and Ar Raqqah has been calculated here.