The calculated distance (air line) between Visconde do Rio Branco and Contagem is approximately 108 miles respectively 174 kilometers.
By car or train, the actual journey to Contagem is certainly longer, as only the direct route (as the crow flies) between Visconde do Rio Branco and Contagem has been calculated here.
Air line (approximately)
174 kilometers
94 nautical miles