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