The calculated distance (air line) between Ar Raqqah and Al Bāb is approximately 88 miles respectively 142 kilometers.
By car or train, the actual journey to Al Bāb is certainly longer, as only the direct route (as the crow flies) between Ar Raqqah and Al Bāb has been calculated here.