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