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