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