The calculated distance (air line) between San Diego and Costa Mesa is approximately 77 miles respectively 125 kilometers.
By car or train, the actual journey to Costa Mesa is certainly longer, as only the direct route (as the crow flies) between San Diego and Costa Mesa has been calculated here.
Air line (approximately)
125 kilometers
67 nautical miles