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