The calculated distance (air line) between Šempeter pri Gorici and Mengeš is approximately 48 miles respectively 77 kilometers.
By car or train, the actual journey to Mengeš is certainly longer, as only the direct route (as the crow flies) between Šempeter pri Gorici and Mengeš has been calculated here.
Air line (approximately)
77 kilometers
41 nautical miles