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