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