The calculated distance (air line) between Madrid and Líbano is approximately 56 miles respectively 91 kilometers.
By car or train, the actual journey to Líbano is certainly longer, as only the direct route (as the crow flies) between Madrid and Líbano has been calculated here.