The question changes when the unit changes

ask which city is more expensive per square metre and beijing wins that argument. ask which city costs more for the whole flat you will actually sign for and shanghai does. the two answers come from the same 2025 listing series. almost every disagreement between the english comparison pages is a disagreement about the basket behind the number, not about the cities. check what is being counted before you check the percentage.

three pages rank these two cities for foreigners and none of them agrees with the others. one says shanghai costs about 16 percent more than beijing. a second says 6 percent. a third, a crowd-sourced index, puts the gap at 2.8 percent. the first two describe their own figures as estimates built from a rent assumption, the third is assembled from voluntary submissions. what none of them does is open the two statistical communiques, both published in the first quarter of 2026, which answer a more useful set of questions than a single percentage can hold.

this page is not a verdict. it is a set of matched pairs from sources that state what they count, with the units written out. where a number comes from a commercial listing index, a voluntary survey or an industry ranking rather than a government release, it says so. the beijing cost guide and the shanghai cost guide carry the district-level detail for whichever one you land in.

Three answers, none sourced

the widest published gap comes from a comparison site that states plainly on the page that no published source was recorded for its figures, and that every price in its extended table is computed from one rent estimate multiplied by fixed ratios rather than collected from a source. its own advice is to use the numbers for rough scale only. the second site gives a 6 percent gap from a range-based budget model, again with no cited survey. the third, numbeo, is transparent about being crowd-sourced: the beijing column drew between 99 and 426 contributors per section and the shanghai column between 98 and 438, with the two city pages updated on 27 october and 8 november 2026.

what three english-language comparison pages say about the same question, as of december 2026.
sourceclaimed gapwhat the number is
world cost of livingshanghai about 16 percent highermodel estimate from one rent figure, no published source recorded on the page
money with senseshanghai about 6 percent higherrange-based monthly budget model, estimate
numbeo quality of life comparison2.8 percent on the cost of living indexvoluntary submissions, 37.31 beijing against 38.35 shanghai

none of the three is lying. they are counting different baskets, and two of them are counting a basket nobody has ever priced. when a page tells you its own figures are not observed prices, believe it. the rest of this page uses sources that publish their definitions, and it still finds two questions where the answer reverses with the unit.

A Beijing hutong lane of grey brick courtyard walls with modern office towers hazy in the distance
beijing's low-rise core sits inside a much larger metropolitan footprint than shanghai's.

Two communiques, RMB¥2,897 apart

the beijing municipal statistics bureau published its 2025 communique on 24 march 2026, and the shanghai bureau published its own on 30 march. both put gdp growth at 5.4 percent. that is where the similarity ends, and the differences that matter to a newcomer are in the household and price lines rather than the headline.

matched lines from the two 2025 statistical communiques, both published in march 2026. rmb yuan unless stated.
linebeijingshanghai
gdpRMB¥5,207.34 billion, up 5.4 percentRMB¥5,670.871 billion, up 5.4 percent
per-person disposable incomeRMB¥89,090, up 4.3 percentRMB¥91,987, up 4.1 percent
urban disposable incomeRMB¥96,292, up 4.1 percentnot stated in the same form
per-person consumption spendingRMB¥50,667, up 1.8 percentnot stated in the same form
retail salesRMB¥1,367.70 billion, down 2.9 percentRMB¥1,660.093 billion, up 4.6 percent
consumer price indexdown 0.1 percentup 0.1 percent, core up 0.7 percent
surveyed urban unemployment4.1 percent4.2 percent
new home price index, prior year = 10097.6105.7
second-hand home price index91.597.6

the income gap is RMB¥2,897 a year, or about RMB¥241 a month, in shanghai's favour. that is 3.3 percent, and it is smaller than any of the three claimed cost gaps. the more interesting line is the housing one: shanghai's new home price index rose 5.7 percent in 2025 while beijing's fell 2.4 percent, and beijing's second-hand index fell 8.5 percent against shanghai's 2.4 percent. a buyer negotiating in beijing in 2026 is negotiating in a falling market; a buyer looking at a new shanghai development is not. the city shortlist puts both in the same top tier, but the two communiques do not describe the same property cycle.

the consumption lines also differ in shape. beijing's retail sales fell 2.9 percent with catering down 3.0 percent, and its cpi slipped 0.1 percent. shanghai's retail sales rose 4.6 percent, its cpi rose 0.1 percent, and core inflation ran at 0.7 percent. a family spending mostly on local services will feel a slightly different price drift in the two places, though neither is inflationary in the way a 2026 european or american budget would be.

A plane-tree shaded residential street of low stucco apartment buildings in Shanghai
the streets where foreign families actually rent are a different market from either citywide average.

The rent line flips with the unit

here is the reversal. on one 2025 medium-price listing ranking, beijing averages RMB¥104.27 a square metre a month against shanghai's RMB¥93.48. by that measure beijing is 11.5 percent more expensive. on the same table the average whole flat in beijing is RMB¥5,179 a month against RMB¥5,612 in shanghai, which makes shanghai 8.4 percent more expensive. both figures come from the same series, and both are correct.

the same 2025 commercial listing ranking, two units. implied floor area = whole-flat rent divided by rent per square metre.
linebeijingshanghaiwho is higher
rent per sq m a monthRMB¥104.27RMB¥93.48beijing, by 11.5 percent
whole-flat rent a monthRMB¥5,179RMB¥5,612shanghai, by 8.4 percent
implied floor areaabout 49.7 sq mabout 60.0 sq mshanghai, by about 10 sq m
medium-price rent ranking, 20251st nationally2nd nationallybeijing on unit price

the reason is floor area. the typical rented flat in that shanghai series is about ten square metres larger than the beijing one, so a lower unit price produces a higher monthly bill. a foreign tenant signs for a whole flat, not for a square metre, which makes the second row the one that belongs in a budget. the china index academy's third-quarter 2025 survey adds a second check: beijing, shanghai and shenzhen all sit above RMB¥80 a square metre a month in the first tier, and all four cities with a rent-to-income ratio above 30 percent are shenzhen, beijing, sanya and shanghai. neither city is cheap, and the burden depends on what you earn, not on which one tops a per-metre table.

this is also why the three english pages disagree. a model that starts from a single one-bedroom rent assumption will reproduce whichever unit it happened to use, and the 16 percent and 6 percent figures are both artefacts of that choice. for the deposit, the contract and the 24-hour registration that follow the choice, the lease signing guide is the same in both cities, because the national rules do not change at the municipal boundary.

Nine hundred and nine against nine hundred and six

the ministry of transport's 2025 urban rail operating data bulletin, released on 20 january 2026, puts beijing at 909 kilometres on 30 lines, first in the country, and shanghai at 906 kilometres on 21 lines. three kilometres apart. across the whole country 54 cities ran 343 lines over 11,710.3 kilometres at the end of 2025. shanghai carried more than 3.7 billion passenger trips in the year, the highest of any city.

the line counts are the part that changes daily life. dividing one by the other gives an average of about 30 kilometres per beijing line and 43 kilometres per shanghai line. beijing's network is more fragmented into shorter lines with more interchanges; shanghai's has longer cross-city runs. a 2026 industry association table gives 982.29 kilometres for beijing and 1,041.97 for shanghai on a broader definition that includes suburban rail, tram and maglev modes, which is why you will see larger totals quoted elsewhere. treat the 909 and 906 as the like-for-like pair and the larger numbers as a different question. the national metro guide covers the ticketing and payment side, which is close to identical in both.

A wide empty metro interchange concourse with rows of turnstiles and unreadable wayfinding panels
two networks within three kilometres of each other, built from different numbers of lines.

One microgram and a lot of sand

the ministry of ecology and environment reported on 28 january 2026 that beijing's 2025 pm2.5 average was 27.0 micrograms per cubic metre, down 11.5 percent, with 85.2 percent of days rated good or better, up 6.0 points. sand and dust caused 0.5 percent of exceedance days and no severe pollution from dust. the 2025 national environmental bulletin, published in june 2026, lists beijing at 27 and shanghai at 26 micrograms among the provincial-level figures. one microgram apart.

official 2025 air figures, plus one crowd-sourced perception index for contrast. the official rows are not the same statistical unit as the index row.
linebeijingshanghaisource
pm2.5 annual average27.0 micrograms per cubic metre26 micrograms, provincial figureministry of ecology and environment, 2026
good or better days85.2 percentnot stated in the same releaseministry bulletin, 28 january 2026
regional pm2.537.3, beijing-tianjin-hebei and 2+36 cities31.7, yangtze delta 31 citiesministry bulletin, 28 january 2026
numbeo pollution index76.7368.00voluntary survey, october and november 2026
numbeo climate index57.6483.64voluntary survey, same pages

the surrounding region, not the city boundary, is what separates them. the beijing-tianjin-hebei group of 2+36 cities averaged 37.3 micrograms against 31.7 across the yangtze delta's 31 cities, and beijing's december reading jumped to 32.2 micrograms, up 81.9 percent on the year, on a winter dust episode. shanghai's trade is humidity, a long plum-rain season and a hotter summer. the crowd-sourced climate index puts a 26-point gap between the two cities, which is a statement about how contributors feel, not a meteorological measurement. if respiratory issues are in the household, the guide to seeing a doctor is more useful than either index, because it explains the three doors into the system and which one speaks english.

Twelve ranked schools against eight

the hurun education top international schools list for 2025, published on 15 july, put 40 shanghai schools on its two rankings against 35 from beijing. split by type, that is 28 chinese international schools and 12 schools for children of foreign personnel in shanghai, against 27 and 8 in beijing. these are ranked schools, not a registry of every licensed school in either city, so the ratio is more meaningful than the absolute counts.

the 2026 edition, published on 4 august, counted 928 officially certified international schools across mainland china at the end of 2025, of which 157 were schools for children of foreign personnel, and described shanghai as holding 29 international schools and 13 foreign-passport schools. the two editions use different counting rules, which is exactly why a family should not treat a single number as a list of available places. what survives both editions is the direction: shanghai has more choice for a foreign passport, and beijing has the top-ranked single school, with beijing dingstone academy taking first place in the 2026 hundred-school list.

the international schools guide sets out the passport rules and the fee bands, and the fees are large enough to dominate this whole comparison. a difference of RMB¥433 a month in whole-flat rent is noise next to one school bill. if a family is choosing between these two cities, this section is usually the one that decides it, not the cost index.

A quiet international school campus of low brick buildings around a landscaped courtyard with no people
the school shortlist is shorter in beijing, and the fee dwarfs every other line in this comparison.

Seven million registrations, two meanings

the shanghai municipal public security bureau reported that in 2025 it processed 7.139 million temporary accommodation registrations for foreigners, up 49.6 percent on 2024, a record. visa and permit issuances passed 200,000 for the second year running, with the share of long-term documents such as residence permits up 10 points. more than 10,000 new-version permanent residence cards, the five-star card, had been issued in shanghai, the most of any city, with 64 everyday applications including driving-school enrolment, dog registration and event ticketing. hotels handled 94.7 percent of registrations directly, and 84.8 percent of foreigners living in ordinary housing self-declared online.

beijing does not publish a comparable number in the same form. a media account of the capital international talent report puts long-term foreign talent working in the city at just over 22,000, more than half in chaoyang and 80 percent across chaoyang, haidian, shunyi and dongcheng. that is a headcount of working talent, not a count of border crossings or hotel nights. comparing 7.139 million with 22,000 would be a category error, and several english pages do it anyway.

what the shanghai figures actually describe is a service layer: a registration that mostly happens without a counter visit, a permanent residence card that works in everyday systems, and an electronic port visa extended from pudong to the whole city, with monthly issuances four times the prior year and nearly 90 percent of them for business. the national rules on residence permits and on which visa you need are identical in both cities. the difference is how much of the follow-up paperwork has been engineered away locally.

What the index tables measure

the numbeo comparison page puts a full set of indices side by side, and they are worth reading as a record of what foreign contributors notice rather than as measurements. beijing leads on purchasing power, safety and health care. shanghai leads on quality of life, climate and cost of living by a small margin. beijing's pollution index is higher, its climate index much lower, and its property-price-to-income ratio lower.

numbeo quality of life comparison, beijing updated 27 october 2026 and shanghai 8 november 2026. voluntary submissions, not official statistics.
indexbeijingshanghai
quality of life131.09138.26
purchasing power126.19119.14
safety74.6973.88
health care70.3468.01
climate57.6483.64
cost of living37.3138.35
property price to income27.6529.78
traffic commute time43.0944.94
pollution76.7368.00

one row is a useful warning about the whole table. the official communiques say shanghai's per-person disposable income is RMB¥2,897 higher, while the crowd-sourced purchasing power index says beijing's is about 6 percent higher. both can be true only if the people answering the survey are not a representative sample of either city's residents, which for a voluntary expat survey is exactly the case. use these indices to read the texture of a place, and use the communiques for money. the tax guide for foreign residents is the bridge between a gross offer and either city's actual purchasing power, and the 183-day clock applies in both.

Which city wins for which person

a family with children in an international school should start with shanghai. twelve ranked foreign-passport schools against eight in the 2025 list, thirteen against eight in the 2026 count, established residential clusters in gubei, lianyang and biyun, and a service layer that has pushed most accommodation registration off the counter. the school bill will exceed every other difference on this page, so the choice is about availability and commute, not about a 3 percent cost gap.

a single person in research, policy, media or the internet sector should start with beijing. its 2025 information services output was RMB¥1,219.24 billion, up 11.0 percent, and financial services RMB¥866.82 billion, up 8.7 percent, with those two industries contributing more than seven tenths of growth. the communique counts 145 national key laboratories in the city. the embassy district, wangjing and wudaokou are where the jobs and the foreign communities actually sit, and the second-hand housing market there fell 8.5 percent in 2025, which gives a buyer room to negotiate.

someone deciding purely on price should stop. the income gap is 3.3 percent, the cost-of-living index gap is 2.8 percent, and the official metro networks are three kilometres apart. whichever line is largest in your own budget decides the move: a whole-flat rent, a school fee, a commute, or an offer letter. the beijing guide and the shanghai guide give the district tables for that line, and the shortlist is the right place to check whether either city should be on the list at all.

Common questions

Which is cheaper, Beijing or Shanghai?

it depends on the unit. on a 2025 medium-price listing ranking beijing costs RMB¥104.27 a square metre a month against shanghai's RMB¥93.48, so beijing is 11.5 percent higher per metre. the same series puts a whole flat at RMB¥5,179 in beijing and RMB¥5,612 in shanghai, so shanghai is 8.4 percent higher per flat. most foreign tenants rent a whole flat, which makes shanghai the more expensive one in practice. the official income gap is only RMB¥2,897 a year in shanghai's favour.

Is Shanghai really 16 percent more expensive than Beijing?

no reliable source supports that figure. the page that publishes it states on the same page that no published source was recorded for its prices and that the extended table is computed from one rent estimate multiplied by fixed ratios, not from observed prices. a second modelled page says 6 percent, and the crowd-sourced numbeo index says 2.8 percent. the disagreement is about the basket, not the cities.

How much is a one-bedroom flat in each city?

on the 2025 medium-price listing ranking the average whole flat was RMB¥5,179 a month in beijing and RMB¥5,612 in shanghai. those are citywide averages of medium-priced stock, not a one-bedroom quote. a central one-bedroom in either city commonly sits above RMB¥6,000, and the district tables in the beijing guide and the shanghai guide are the better basis for a budget.

Which city has better air quality?

almost the same by the official annual measure. the ministry of ecology and environment reported beijing at 27.0 micrograms per cubic metre of pm2.5 in 2025, down 11.5 percent, and the national bulletin lists shanghai at 26 among provincial figures. the difference is regional: the beijing-tianjin-hebei group averaged 37.3 against 31.7 for the yangtze delta, and beijing has winter dust episodes, while shanghai has humidity and a plum-rain season.

Which city has more international schools for foreign children?

shanghai, on both editions of the hurun education list. the 2025 ranking counted 12 foreign-passport schools among 40 shanghai schools against 8 among 35 in beijing, and the 2026 edition described shanghai as having 13 against a national total of 157. these are ranked or described schools rather than a licence registry, so verify a specific school's passport rule before applying.

Which city has the better metro?

they are within three kilometres of each other on the ministry of transport's 2025 bulletin: beijing 909 kilometres on 30 lines, shanghai 906 kilometres on 21 lines. shanghai carried more than 3.7 billion trips, the most in the country, and its average line is about 43 kilometres against beijing's 30. beijing offers more lines and more interchanges, shanghai longer cross-city runs. ticketing works the same way in both under the national metro guide.

Do I need a different residence permit for Beijing or Shanghai?

no. visa categories, the 30-day residence permit application window and the work permit rules are national, set by the national immigration administration and ministry-level regulations, and they do not change at a city boundary. what differs is the local service layer: shanghai processed 7.139 million foreign accommodation registrations in 2025, 94.7 percent of them directly at hotels, and has issued more than 10,000 five-star permanent residence cards. read the residence permit guide for the deadline and the visa guide for the category.

Which city is better for a family with children?

shanghai, on the evidence here: more foreign-passport schools, a longer-established international residential cluster, and a local administration that has moved most registration online. beijing's advantage is a deeper research and policy job market and a second-hand housing market that fell 8.5 percent in 2025. the school fee will be larger than any cost difference between the two, so start with the school and work backwards to the flat.