The calculated distance (air line) between Sorocaba and Várzea Paulista is approximately 45 miles respectively 72 kilometers.
By car or train, the actual journey to Várzea Paulista is certainly longer, as only the direct route (as the crow flies) between Sorocaba and Várzea Paulista has been calculated here.
Air line (approximately)
72 kilometers
39 nautical miles