Perth (capital of Western Australia) is the nearest capital to Kalgoorlie:
~595 km (370 miles) west
Driving time: ~6.5–7 hours via Great Eastern Highway / National Route 94. Flight: ~1 hour (Kalgoorlie–Boulder Airport to Perth).
Other capitals: Adelaide (~1,200 km), Darwin (~2,300 km)—much farther.