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