The calculated distance (air line) between Budapest and Pécs is approximately 106 miles respectively 170 kilometers.
By car or train, the actual journey to Pécs is certainly longer, as only the direct route (as the crow flies) between Budapest and Pécs has been calculated here.