The calculated distance (air line) between Rio Formoso and Recife is approximately 47 miles respectively 75 kilometers.
By car or train, the actual journey to Recife is certainly longer, as only the direct route (as the crow flies) between Rio Formoso and Recife has been calculated here.
Air line (approximately)
75 kilometers
41 nautical miles