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