City Map Compare/Hanoi vs Xi'an
vs
5 km
|

Hanoi

3,359 km²

Xi'an

10,097 km²

Hanoi vs Xi'an - City Size Comparison

Hanoi vs Xi'an - City Size Comparison

Hanoi

Vietnam

Area3,359 km²
Population8.05M
Density2,397 /km²
Elevation12 m
Metro Pop.8.1M
Founded1010
Climatehumid subtropical
Xi'an

People's Republic of China

Area10,097 km²
Population12.95M
Density1,283 /km²
Elevation405 m

Area Comparison

Hanoi is 3.0x smaller than Xi'an

Population Comparison

Hanoi has 1.6x fewer people than Xi'an

Is Hanoi Bigger 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.

About Hanoi

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.

About Xi'an

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.

Population Density

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.

Key Differences at a Glance

Size Ratio

Hanoi fits inside Xi'an ~3 times

Density Gap

Hanoi is 1.9x more densely populated

Cities Similar in Size to Hanoi

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²).

Cities Similar in Size to Xi'an

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²).

Related Comparisons

Frequently Asked Questions

Is Hanoi actually bigger than Xi'an?
Xi'an is 3.0 times larger than Hanoi by area. Xi'an covers 10,097 km² while Hanoi spans 3,359 km², a difference of 6,738 km².
How many times does Hanoi fit inside Xi'an?
Hanoi (3,359 km²) fits inside Xi'an (10,097 km²) approximately 3 times. That means Xi'an is 3.0x the area of Hanoi.
What is the population difference between Hanoi and Xi'an?
Xi'an has approximately 12.9 million people, while Hanoi has about 8.1 million. Xi'an has 4.9 million more residents.
Which city is more densely populated, Hanoi or Xi'an?
Hanoi is more densely populated with 2,397 people per km², compared to 1,283 people per km².
How does the map comparison work?
Our synchronized map comparison tool displays both cities at the same zoom level. When you zoom in or out on one map, the other automatically adjusts to maintain the same scale, allowing you to directly compare the relative sizes of both cities.
Can I compare other cities?
Yes! Use the city selectors at the top of the page to choose any two cities from our database of 50+ major cities worldwide, or enter custom coordinates for any location.

Distance Between Hanoi and Xi'an

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.