The calculated distance (air line) between Pasto and Nueva Loja is approximately 82 miles respectively 133 kilometers.
By car or train, the actual journey to Nueva Loja is certainly longer, as only the direct route (as the crow flies) between Pasto and Nueva Loja has been calculated here.
Air line (approximately)
133 kilometers
72 nautical miles