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