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