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