The calculated distance (air line) between Castlebar and South Dublin is approximately 127 miles respectively 205 kilometers.
By car or train, the actual journey to South Dublin is certainly longer, as only the direct route (as the crow flies) between Castlebar and South Dublin has been calculated here.
Air line (approximately)
205 kilometers
111 nautical miles