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