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