The calculated distance (air line) between Ar Raqqah and Ḩamāh is approximately 139 miles respectively 223 kilometers.
By car or train, the actual journey to Ḩamāh is certainly longer, as only the direct route (as the crow flies) between Ar Raqqah and Ḩamāh has been calculated here.