The calculated distance (air line) between Oñati and Durango is approximately 15 miles respectively 24 kilometers.
By car or train, the actual journey to Durango is certainly longer, as only the direct route (as the crow flies) between Oñati and Durango has been calculated here.