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