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