The calculated distance (air line) between Upper Dir and Mardan is approximately 70 miles respectively 113 kilometers.
By car or train, the actual journey to Mardan is certainly longer, as only the direct route (as the crow flies) between Upper Dir and Mardan has been calculated here.