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