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