The calculated distance (air line) between Caernarfon and Cardiff is approximately 124 miles respectively 199 kilometers.
By car or train, the actual journey to Cardiff is certainly longer, as only the direct route (as the crow flies) between Caernarfon and Cardiff has been calculated here.
Air line (approximately)
199 kilometers
107 nautical miles