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
$185K USD
$185K USD
$185K PPP
Higher Purchasing Power
VS
USD Difference
+248%
San Francisco vs Shanghai
π¨π³ Shanghai
China
Β₯380K CNY
$53K USD
$127K PPP
Detailed Comparison
| Metric | San Francisco | Shanghai | Difference |
|---|---|---|---|
| Local Currency Salary | $185K USD | Β₯380K CNY | β |
| USD Equivalent | $185K | $53K | +248% |
| PPP-Adjusted SalaryWINNER | $185K π | $127K | +46% |
| 25th Percentile | $148K USD | Β₯304K CNY | β |
| Median | $185K USD | Β₯380K CNY | β |
| 75th Percentile | $231K USD | Β₯475K CNY | β |
| Annual Mean | $200K USD | Β₯410K CNY | β |
What Does This Mean?
San Francisco offers a Software Engineer salary of $185K USD, while Shanghai offers $53K USD β a difference of +248% in raw terms.
After adjusting for purchasing power parity (PPP), San Francisco's salary is worth $185K in US purchasing power terms, versus $127K 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.