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