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