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