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