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