Senior Software Engineer Salary: San Francisco vs Shanghai
Annual median salary comparison (2024). All figures include local currency, USD equivalent, and PPP-adjusted purchasing power.
πΊπΈ San Francisco
United States
$250K USD
$250K USD
$250K PPP
Higher Purchasing Power
VS
USD Difference
+248%
San Francisco vs Shanghai
π¨π³ Shanghai
China
Β₯513K CNY
$72K USD
$171K PPP
Detailed Comparison
| Metric | San Francisco | Shanghai | Difference |
|---|---|---|---|
| Local Currency Salary | $250K USD | Β₯513K CNY | β |
| USD Equivalent | $250K | $72K | +248% |
| PPP-Adjusted SalaryWINNER | $250K π | $171K | +46% |
| 25th Percentile | $200K USD | Β₯410K CNY | β |
| Median | $250K USD | Β₯513K CNY | β |
| 75th Percentile | $312K USD | Β₯641K CNY | β |
| Annual Mean | $270K USD | Β₯554K CNY | β |
What Does This Mean?
San Francisco offers a Senior Software Engineer salary of $250K USD, while Shanghai offers $72K USD β a difference of +248% in raw terms.
After adjusting for purchasing power parity (PPP), San Francisco's salary is worth $250K in US purchasing power terms, versus $171K for Shanghai. This means San Francisco offers better real purchasing power for this role.
PPP adjustment accounts for differences in local prices β for example, housing costs 3x more in San Francisco than in Warsaw, so a San Francisco salary needs to be much higher to provide an equivalent standard of living.