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