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