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