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