The calculated distance (air line) between Sa Pa and Yuxi is approximately 162 miles respectively 260 kilometers.
By car or train, the actual journey to Yuxi is certainly longer, as only the direct route (as the crow flies) between Sa Pa and Yuxi has been calculated here.