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