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