The calculated distance (air line) between El Hamma and Mahdia is approximately 133 miles respectively 213 kilometers.
By car or train, the actual journey to Mahdia is certainly longer, as only the direct route (as the crow flies) between El Hamma and Mahdia has been calculated here.