London and San Francisco are the two cities a senior software engineer most often chooses between, and the gap is one tenth of a point. San Francisco pays a salary no city on earth can match and sells a mild climate; London is cheaper, safer, deeper, and easier to reach the rest of the world from. The verdict turns almost entirely on the size of your pay packet.
The two cities answer different questions. The headline number resolves the index, the breakdown resolves the fit.
San Francisco edges the index on a software salary base double the London figure and a mild year round climate. London answers with rents a fifth lower, a safety score a full point higher, a transit and culture stack San Francisco cannot match, and an easier path through the visa system.
San Francisco scored 7.9 on the everycity index in 2026, London 7.8, a gap of 0.1 of a point, the second narrowest in this set. San Francisco wins on one axis that overwhelms the rest for some readers: the highest software salaries on earth. London wins on cost, safety, transit, culture, and global connectivity. See the London city profile and the San Francisco city profile for the long form.
The clean decision rule: if you are a software engineer or founder whose compensation doubles in the move, San Francisco wins, because the salary delta survives even its punishing rents. For almost everyone else, London wins, because it is cheaper, safer, more walkable, and three hours from the rest of Europe.
The two cities anchor different worlds. London leads Europe as a financial and cultural hub; San Francisco anchors the technology economy of the western United States in North America. For the national read, see the United Kingdom and the United States. The cities for tech jobs ranking places San Francisco at the top of the global table; the cities for finance ranking places London near the top.
Twelve line items priced in US dollars in May 2026 for a single resident in a central one bedroom. Green marks the cheaper city per line.
London is cheaper on ten of twelve lines, and the all in monthly figure lands at 3,300 dollars against the San Francisco 3,900, a 600 dollar gap. San Francisco runs some of the highest residential rents on earth, with a central one bedroom at 3,200 dollars and a family three bedroom at 6,200; London undercuts both by a fifth. San Francisco claws back only the transit pass and utilities.
The point is that the cost gap is small relative to the salary gap. A senior engineer earning 100,000 dollars more in San Francisco absorbs the 600 dollar monthly rent premium many times over. For the cross border transfer between pounds and dollars, Wise moves money at the interbank rate. The cost converter tool runs your salary in either direction, and the cost of living calculator builds the full budget.
The rental markets reward different tactics. London runs Rightmove and Zoopla with a five week deposit cap; San Francisco runs Zillow and a fierce, fast moving market where a strong application and proof of income win the unit in days. For the arrival window, Booking.com covers the serviced flat at 130 to 220 dollars a night in either. The most expensive cities ranking places San Francisco above London.
The 10 point safety read across the four axes the methodology weights equally.
London wins safety on five of five axes by 0.6 to 1.0 points each. The widest gap is the after dark score, 6.8 in London against 5.8 in San Francisco, a red on the methodology scale. San Francisco carries a visible property crime and street homelessness problem concentrated in the Tenderloin and parts of downtown that pulls its overall to 6.6; car break ins are a notorious daily reality. The safest cities ranking places London comfortably above.
Both cities are safe in their residential neighborhoods. The San Francisco risk is property crime and a sharp contrast between blocks; London distributes a lower baseline risk across a denser map. The safest cities for women ranking places London inside the European top 25 and leaves San Francisco mid table in the United States.
Healthcare splits on cost and access. London runs the NHS, free at the point of use with waits for non urgent care; San Francisco runs the US private system with elite specialist care for the well insured and financial exposure for the rest, though most tech employers carry strong plans. For the first six months as a new arrival, SafetyWing covers either at 45 to 70 dollars a month. The healthcare ranking rates the tradeoff.
Annual averages, the rain count, and the days inside the comfort band.
San Francisco wins the climate on every line. It banks 2,960 hours of sun a year against the London 1,480, rains on 65 days against 109, and runs a mild Mediterranean year that rarely freezes and rarely bakes. San Francisco delivers 210 comfort days against the London 120. The famous summer fog keeps the city cool, not cold.
London offers a marginally warmer peak summer day and nothing else. The 73F July high edges the foggy San Francisco summer, but the London winter is darker, damper, and longer. The climate match tool finds cities with a San Francisco profile, and the best weather ranking places San Francisco well ahead of London.
The San Francisco microclimates are real: the Mission runs sunny while the Sunset sits under fog on the same afternoon, a variation London does not have. For the resident weighing a brighter, warmer California option, Los Angeles outscores both on raw sunshine. The sunniest cities ranking ranks the California cities near the top.
Median gross salaries in US dollars for three roles, the headline tax band, and the effective rate after standard deductions.
San Francisco pays the highest software salaries on earth, and the gap with London is the entire case for the city. The mid level engineer earns 175,000 dollars in San Francisco against 88,000 in London; the senior engineer 260,000 against 128,000, before equity, which in the Bay Area can dwarf base pay. No financial center, London included, matches the San Francisco engineering ceiling.
Tax runs lower in London, where the 45 percent top rate sits below the combined California and federal 50.3 percent. But the difference is small against a salary that doubles. The UK ended its non domicile regime in 2025, so neither city offers a special expat shelter. The 2026 visa guide walks the detail, and the tax calculator tool runs your number against either jurisdiction.
The economies are built on different engines. San Francisco and Silicon Valley concentrate the largest pool of venture capital and senior engineering talent on earth; London runs a broader economy across finance, law, media, life sciences, and a strong startup scene. The highest paying cities ranking places San Francisco at the global top for engineers, and the cities for startups ranking places it at number 1.
The qualitative axes scored on the same 10 point scale the index uses elsewhere.
London wins five of five lifestyle axes, mostly on scale. It is a global city of nine million with a cultural depth, a nightlife, and a transit network that a city of under a million cannot rival. London scores 9.6 on cultural density against the San Francisco 8.0, and 9.0 on transit against 7.2. San Francisco is compact and walkable in its core but small by comparison.
San Francisco competes hardest on food, where its scoring of 8.8 reflects an outstanding restaurant scene built on California produce and Asian and Latin American influence, close behind the London 9.2. The cities for foodies ranking places both inside the global top 15, but London wins on sheer variety.
On nightlife and culture London holds a wide lead, running a 24 hour city of theaters, clubs, and music venues; San Francisco runs an earlier, smaller scene that tilts toward dinner and the bar over the late club. The nightlife ranking places London inside the global top 10, and the most walkable cities ranking rates both well, with London ahead.
The boring section that decides whether the move actually happens.
Both cities run in English. Visa difficulty favors London by two points: the UK Skilled Worker route is demanding but predictable, while the US H1B runs through an annual lottery with odds that fall every year, and the alternatives, the O1 and the intracompany L1, are narrow. For the non American engineer, the visa is often the deciding factor, and it tilts toward London. The visa difficulty checker grades both.
Transit favors London clearly. The Underground and rail network cover a vast city with no car required; San Francisco runs BART and Muni, useful in the core but thin once you reach the wider Bay Area, where a car becomes close to necessary. The public transit ranking places London inside the global top 5 and San Francisco mid table.
Connectivity differs in kind. London sits three hours from the whole of Europe and runs a 120 Mbps average broadband speed; San Francisco runs a faster 190 Mbps and sits at the center of the global tech network, where the right room can change a career. The fastest internet ranking places San Francisco ahead on speed.
For the software engineer or founder whose compensation doubles in the move, San Francisco wins, and the index records it at 7.9 against 7.8. The salary and the proximity to the center of the technology industry outweigh the higher rent and the safety gap for the person whose career lives there.
For almost everyone else, the finance professional, the family weighting safety, the culture seeker, or the non American facing a brutal visa lottery, London wins. It is cheaper, safer, deeper, more walkable, and three hours from the rest of Europe.
For the comparison view across the same axis: Berlin vs London, Amsterdam vs London, London vs New York, New York vs San Francisco, and Austin vs San Francisco. For the profiles: London and San Francisco.
This comparison is one of 25,000 the atlas maintains on a single methodology, refreshed quarterly against the May 2026 Numbeo, Mercer, and OECD data. The next refresh ships in August 2026. If the verdict clashes with your experience, the methodology page walks the weights. The relocation score tool grades your current city against either target, and the where should I live quiz is the entry point if you have no target city yet.
One letter a month, no sponsored placements. Cost shifts, new city profiles, the rankings that moved. The signal, not the feed.