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