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