The calculated distance (air line) between Bir el Hafey and El Hamma is approximately 80 miles respectively 128 kilometers.
By car or train, the actual journey to El Hamma is certainly longer, as only the direct route (as the crow flies) between Bir el Hafey and El Hamma has been calculated here.
Air line (approximately)
128 kilometers
69 nautical miles