Job ranking

Best Cities for Data Scientists (2026)

Where data science careers pay the most and stretch the furthest.

Rankings last updated: April 2026 · Based on verified salary and cost data from 20 cities
#1 City
San Francisco
Top Score
100.0
Cities Ranked
20
Avg Score
63.8
Data science sits at the intersection of statistics, engineering, and business strategy — and companies in every major tech hub are competing fiercely for qualified practitioners. The right city can mean the difference between a comfortable career and an exceptional one, with salary spreads of $40,000–$70,000 between the highest and lowest-paying markets in our dataset. This ranking goes beyond raw salary figures to evaluate where data scientists get the best overall package. We weight median data scientist compensation at 60%, but also consider each city's tech hub score (25%) as a proxy for job availability and career advancement opportunities, plus purchasing power index (15%) to capture how far that salary goes in practice. Cities with strong AI and machine learning ecosystems tend to offer premium compensation for data scientists, as the skillset overlaps significantly with the booming ML engineering field. Markets like San Francisco, Seattle, and New York lead in nominal pay, but European and Asia-Pacific cities often surprise when purchasing power is factored into the equation.
🏆

Complete Rankings: Best Cities for Data Scientists

🥇
United States
$162,000 Data Scientist median +4% YoY salary growth Tech hub score: 10/10
San Francisco offers a median Data Scientist salary of $162,000, with a high cost of living (index: 105), and a thriving tech ecosystem (score: 10/10).
100.0
/ 100
🥈
United States
$152,000 Data Scientist median +4.5% YoY salary growth Tech hub score: 9/10
Seattle offers a median Data Scientist salary of $152,000, with a moderate cost of living (index: 88), and a thriving tech ecosystem (score: 9/10).
92.8
/ 100
🥉
United States
$140,000 Data Scientist median +4.8% YoY salary growth Tech hub score: 9/10
New York offers a median Data Scientist salary of $140,000, with a high cost of living (index: 100), and a thriving tech ecosystem (score: 9/10).
86.4
/ 100
4
Switzerland
$133,000 Data Scientist median +3.8% YoY salary growth Tech hub score: 7/10
Zurich offers a median Data Scientist salary of $133,000, with a high cost of living (index: 115).
79.6
/ 100
5
United States
$132,000 Data Scientist median +4.2% YoY salary growth Tech hub score: 8/10
Los Angeles offers a median Data Scientist salary of $132,000, with a high cost of living (index: 90), and a thriving tech ecosystem (score: 8/10).
79.4
/ 100
6
United States
$129,000 Data Scientist median +4.8% YoY salary growth Tech hub score: 8/10
Boston offers a median Data Scientist salary of $129,000, with a high cost of living (index: 92), and a thriving tech ecosystem (score: 8/10).
78.9
/ 100
7
United States
$115,000 Data Scientist median +5.8% YoY salary growth Tech hub score: 8/10
Austin offers a median Data Scientist salary of $115,000, with a moderate cost of living (index: 72), and a thriving tech ecosystem (score: 8/10).
73.3
/ 100
8
United States
$119,000 Data Scientist median +4.3% YoY salary growth Tech hub score: 7/10
Chicago offers a median Data Scientist salary of $119,000, with a moderate cost of living (index: 78).
71.3
/ 100
9
United Arab Emirates
$98,000 Data Scientist median +6.2% YoY salary growth Tech hub score: 7/10
Dubai offers a median Data Scientist salary of $98,000, with a moderate cost of living (index: 72).
62.8
/ 100
10
Australia
$92,000 Data Scientist median +4.5% YoY salary growth Tech hub score: 7/10
Sydney offers a median Data Scientist salary of $92,000, with a moderate cost of living (index: 80).
57.3
/ 100
11
Canada
$88,000 Data Scientist median +5.5% YoY salary growth Tech hub score: 7/10
Toronto offers a median Data Scientist salary of $88,000, with a moderate cost of living (index: 75).
55.2
/ 100
12
Singapore
$72,000 Data Scientist median +5.5% YoY salary growth Tech hub score: 9/10
Singapore offers a median Data Scientist salary of $72,000, with a moderate cost of living (index: 82), and a thriving tech ecosystem (score: 9/10).
52.7
/ 100
13
United Kingdom
$72,000 Data Scientist median +4.2% YoY salary growth Tech hub score: 9/10
London offers a median Data Scientist salary of $72,000, with a moderate cost of living (index: 85), and a thriving tech ecosystem (score: 9/10).
51.0
/ 100
14
Canada
$80,000 Data Scientist median +5% YoY salary growth Tech hub score: 7/10
Vancouver offers a median Data Scientist salary of $80,000, with a moderate cost of living (index: 73).
50.8
/ 100
15
Ireland
$75,000 Data Scientist median +4.8% YoY salary growth Tech hub score: 8/10
Dublin offers a median Data Scientist salary of $75,000, with a moderate cost of living (index: 76), and a thriving tech ecosystem (score: 8/10).
50.7
/ 100
16
Australia
$82,000 Data Scientist median +4% YoY salary growth Tech hub score: 6/10
Melbourne offers a median Data Scientist salary of $82,000, with a moderate cost of living (index: 70).
50.3
/ 100
17
Netherlands
$72,000 Data Scientist median +5% YoY salary growth Tech hub score: 8/10
Amsterdam offers a median Data Scientist salary of $72,000, with a moderate cost of living (index: 72), and a thriving tech ecosystem (score: 8/10).
48.5
/ 100
18
Germany
$72,000 Data Scientist median +5% YoY salary growth Tech hub score: 7/10
Munich offers a median Data Scientist salary of $72,000, with a moderate cost of living (index: 72).
47.5
/ 100
19
Germany
$68,000 Data Scientist median +5.8% YoY salary growth Tech hub score: 8/10
Berlin offers a median Data Scientist salary of $68,000, with a relatively low cost of living (index: 62), and a thriving tech ecosystem (score: 8/10).
46.8
/ 100
20
France
$60,000 Data Scientist median +4.5% YoY salary growth Tech hub score: 7/10
Paris offers a median Data Scientist salary of $60,000, with a moderate cost of living (index: 73).
40.0
/ 100
🌍

Rankings by Region

US
83.2 avg
7 cities
MENA
62.8 avg
1 city
Top: Dubai
AU
53.8 avg
2 cities
Top: Sydney
CA
53.0 avg
2 cities
Top: Toronto
APAC
52.7 avg
1 city
Top: Singapore
EU
52.2 avg
6 cities
Top: Zurich
UK
51.0 avg
1 city
Top: London
📐

How We Rank: Methodology

Scoring uses data scientist median salary (60%), tech hub score (25%), and purchasing power index (15%). All metrics are normalized to 0–100 before weighting.

data scientist salary tech hub score purchasing power

Explore Related Data

Get Your Personalized Salary Report

See how your salary compares in any of these 20 cities with a detailed breakdown of taxes, cost of living, and purchasing power.

Get Salary Report — $9
📊

Related Rankings

Frequently Asked Questions

San Francisco earned the top spot with a composite score of 100.0/100, reflecting its strong performance across all weighted metrics: data scientist salary, tech hub score, purchasing power. The city benefits from a well-developed tech ecosystem, competitive compensation packages, and a labor market that consistently attracts top talent. Our scoring methodology normalizes each metric to a 0–100 scale before applying weights, and San Francisco excels in the factors that matter most for this category. That said, individual circumstances like visa eligibility, personal preferences, and remote work options can shift the ideal choice for any given professional.
Each city is scored using a weighted composite of real data points: data scientist salary, tech hub score, purchasing power. Every metric is normalized to a 0–100 scale based on the min and max values across all 20 cities in the dataset, ensuring a fair apples-to-apples comparison. For metrics where lower is better (such as cost of living or rent), the scale is inverted so that more affordable cities score higher. The final score is a weighted average reflecting the relative importance of each factor for this specific use case. We update the underlying data quarterly to keep rankings accurate.
The top 3 cities are: 1) San Francisco (score: 100), 2) Seattle (score: 92.8), and 3) New York (score: 86.4). These cities consistently outperform others across all key metrics. The gap between #1 and #3 is often tighter than you'd expect, meaning any of these cities could be the best fit depending on your personal priorities and circumstances.
US leads with 7 cities in the ranking, which reflects the region's concentration of tech industry investment and talent. However, cities in other regions often offer a compelling value proposition when cost of living is factored in — a lower nominal salary can translate to higher purchasing power in more affordable markets. Europe's strong worker protections and quality-of-life metrics make several European cities competitive, while Asia-Pacific cities are rapidly climbing thanks to booming tech sectors and growing startup ecosystems. The best region ultimately depends on whether you optimize for raw earnings, net savings, or lifestyle.
Yes — demand for Data Scientists continues to grow across virtually all major tech markets. Companies are expanding engineering and product teams, and emerging fields like AI, cloud infrastructure, and cybersecurity are creating entirely new sub-specialties. Year-over-year salary growth data across cities in our dataset confirms an upward trend in compensation for this role, particularly in cities with established tech ecosystems. Remote and hybrid work models have also expanded the geographic scope of opportunities, allowing professionals to earn top-tier salaries while living in lower-cost cities. If you're considering a career move, the cities at the top of this ranking offer the strongest combination of compensation, opportunity density, and growth trajectory.
Cost of living is a critical factor because a high salary means little if everyday expenses consume the bulk of your income. We incorporate the cost of living index (benchmarked to New York City = 100), rent prices for 1-bedroom and 2-bedroom apartments, grocery costs, and public transport expenses. Cities with high nominal salaries but extreme living costs — like San Francisco or Zurich — may rank lower than mid-range salary cities with excellent affordability. Our purchasing power index captures this dynamic directly: it measures how much real goods and services your salary can buy in each location. For this specific ranking, cost of living carries a weight that reflects its importance relative to the primary metric — check the methodology section for exact weights.
The highest-paying cities reward specialization and depth. Focus on in-demand technologies and frameworks specific to your role — for example, cloud-native architectures, AI/ML pipelines, or modern frontend frameworks depending on your track. Certifications from major cloud providers (AWS, GCP, Azure) and domain expertise in industries like fintech, healthtech, or cybersecurity often command salary premiums of 10–20% over generalist roles. Soft skills matter too: system design interview preparation, leadership experience, and cross-functional collaboration are increasingly valued at senior levels. We recommend checking our salary percentile tool to see exactly where you stand and what the next compensation tier looks like in your target city.