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