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