Hanoi
3,359 km²
Xi'an
10,097 km²
Vietnam
People's Republic of China
Area Comparison
Hanoi is 3.0x smaller than Xi'an
Population Comparison
Hanoi has 1.6x fewer people than Xi'an
Yes — Xi'an is 3.0x larger than Hanoi by area. Xi'an spans 10,097 km² (3,898 mi²) while Hanoi covers 3,359 km² (1,297 mi²) — a difference of 6,738 km². You could fit Hanoi inside Xi'an approximately 3 times.
To put Hanoi's size in perspective, its area of 3,359 km² is about 1.2x smaller than Rhode Island. Meanwhile, Xi'an at 10,097 km² is about 1.6x the size of Shanghai.
In more relatable units, Hanoi's 3,359 km² is about 470,000 American football fields, 57 times the area of Manhattan, or 32 times the area of Paris. Xi'an works out to about 1,400,000 American football fields, 170 times the area of Manhattan, or 96 times the area of Paris.
Hanoi is the capital and second-most populous municipality of Vietnam. It encompasses an area of 3,358.6 km2 (1,296.8 mi2), and as of 2025 has a population of 8,807,523. Hanoi had the second-highest gross regional domestic product of all Vietnamese provinces and municipalities at US$48 billion in 2023, behind Ho Chi Minh City. It hosts 78 foreign embassies, the headquarters of the Vietnam People's Army (VPA), its Vietnam National University system, and other governmental organizations.
Known as "City Between Rivers", Hanoi covers 3,359 km² with a population of 8.1 million. The city was established in 1010. Hanoi is known for Hoan Kiem Lake, Old Quarter, Temple of Literature, among other attractions. The city's main transit system is the Hanoi Metro.
Hanoi encompasses 3,358.6 square kilometers and had a population of nearly 8.8 million as of 2025.
Xi'an is the capital of the Chinese province of Shaanxi. A sub-provincial city on the Guanzhong plain, the city is the third-most populous city in Western China after Chongqing and Chengdu, as well as the most populous city in Northwestern China. Its total population was 12.95 million in the 2020 census, including an urban population of 9.28 million.
Often called "Ancient Capital", Xi'an has an area of 10,097 km² and is home to 12.9 million people. Visitors come for Terracotta Army, Xi'an City Wall, Big Wild Goose Pagoda, and much more.
Xi'an's 2020 census recorded 12.95 million residents, making it the most populous city in Northwestern China.
Hanoi has a population density of 2,397 people per km² — a moderately dense city. Xi'an, with 1,283 people per km², is a relatively spread-out city. Hanoi is noticeably denser, packing 1.9 times more people per square kilometer.
Size Ratio
Hanoi fits inside Xi'an ~3 times
Density Gap
Hanoi is 1.9x more densely populated
Hanoi covers 3,359 km². Cities with a similar urban footprint include Karachi (3,527 km²), Cairo (3,085 km²), Dubai (4,114 km²), Lima (2,672 km²), or Moscow (2,511 km²).
Xi'an covers 10,097 km². Cities with a similar urban footprint include Melbourne (9,993 km²), Wuhan (8,569 km²), Sydney (12,368 km²), Guangzhou (7,434 km²), or Chengdu (14,378 km²).
The straight-line distance from Hanoi to Xi'an is 1,503 km (934 miles), with an estimated flight time of ~2h 16m.
Want to explore more? Compare city sizes for any two cities worldwide, or share your location live with friends.