The calculated distance (air line) between São Domingos and Farim is approximately 66 miles respectively 107 kilometers.
By car or train, the actual journey to Farim is certainly longer, as only the direct route (as the crow flies) between São Domingos and Farim has been calculated here.
Air line (approximately)
107 kilometers
58 nautical miles