Chicago (USA) and Australia are separated by the Pacific Ocean; there is no land distance. The great-circle (air) distance from Chicago O'Hare (ORD) to Sydney (SYD) is approximately 9,300 miles (14,970 km). To Perth (PER) it's ~10,500 miles (16,900 km).
Flight time: 20–24+ hours with one or two stops (e.g., via LAX, SFO, Dallas, Hong Kong, Singapore, Auckland). No direct flights exist.
"Miles between a city and a country" is not a standard measure; use city-to-city air distance.