The calculated distance (air line) between Gex and Strasbourg is approximately 174 miles respectively 281 kilometers.
By car or train, the actual journey to Strasbourg is certainly longer, as only the direct route (as the crow flies) between Gex and Strasbourg has been calculated here.
Air line (approximately)
281 kilometers
151 nautical miles