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