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