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