The calculated distance (air line) between Kobarid and Slovenj Gradec is approximately 74 miles respectively 119 kilometers.
By car or train, the actual journey to Slovenj Gradec is certainly longer, as only the direct route (as the crow flies) between Kobarid and Slovenj Gradec has been calculated here.
Air line (approximately)
119 kilometers
64 nautical miles