The calculated distance (air line) between Castro Marim and Rio de Mouro is approximately 148 miles respectively 238 kilometers.
By car or train, the actual journey to Rio de Mouro is certainly longer, as only the direct route (as the crow flies) between Castro Marim and Rio de Mouro has been calculated here.
Air line (approximately)
238 kilometers
129 nautical miles