The capital city approximately 12,330 miles (19,840 km) from Madrid is Tokyo, Japan.
This distance represents nearly half the Earth's circumference, placing the two capitals on almost opposite sides of the globe. Madrid sits in central Spain, while Tokyo is on the eastern coast of Honshu, Japan's main island.