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