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