The calculated distance (air line) between Obernai and Metz is approximately 75 miles respectively 120 kilometers.
By car or train, the actual journey to Metz is certainly longer, as only the direct route (as the crow flies) between Obernai and Metz has been calculated here.