The calculated distance (air line) between San Carlos and Rivas is approximately 74 miles respectively 120 kilometers.
By car or train, the actual journey to Rivas is certainly longer, as only the direct route (as the crow flies) between San Carlos and Rivas has been calculated here.
Air line (approximately)
120 kilometers
64 nautical miles