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