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