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