Zaragoza is approximately 300 km from both Barcelona and Madrid, making it a great stopover when traveling between these two cities.