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