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