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