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