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