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