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