Software Engineer vs Data Scientist: Which Pays More?

Side-by-side salary comparison by city, experience level, and career growth outlook. Data reflects current market rates.

National Median Salary Comparison
Software Engineer
$145,641
Higher Pay
Data Scientist
$122,407
Higher Pay
Technology

Software Engineer

Design, develop and maintain software systems and applications.

National Median
$145,641/yr
Entry
$134,741
Mid
$208,353
Senior
$322,181
+25% demand/yr48% AI risk
PythonJavaScriptSystem DesignGit
Full Software Engineer salary data →
Technology

Data Scientist

Analyse large datasets and build predictive models to drive decisions.

National Median
$122,407/yr
Entry
$112,286
Mid
$173,630
Senior
$268,488
+36% demand/yr40% AI risk
PythonMachine LearningSQLStatistics
Full Data Scientist salary data →
Verdict

Software Engineer earns more on average — the national median is $23,234/year (19%) higher than a Data Scientist. However, salaries vary significantly by city, employer, and experience level — see the city-by-city breakdown below.

Software Engineer vs Data Scientist — Salary by City

National median figures in USD across top cities.

CitySoftware EngineerData ScientistDifference
San Francisco, CA$240,759$207,524Software +$33,235
New York, NY$208,353$173,630Software +$34,723
Seattle, WA$202,359$175,827Software +$26,532
Austin, TX$159,836$133,458Software +$26,378
Chicago, IL$172,147$144,487Software +$27,660
Boston, MA$202,539$170,251Software +$32,288
London, UK£109,470£91,551Software +$17,919
Toronto, CanadaCA$188,669CA$156,348Software +$32,321
Pay Gap
19%
Software Engineer earns more
Demand Growth
25% vs 36%
Software Engineer vs Data Scientist YoY
AI Risk
48% vs 40%
Software Engineer vs Data Scientist

Frequently Asked Questions

Does a Software Engineer or Data Scientist earn more?+

A Software Engineer earns more on average. The national median salary for a Software Engineer is $145,641/year, compared to $122,407/year for a Data Scientist — a difference of $23,234 (19%).

Which has better career growth — Software Engineer or Data Scientist?+

Software Engineer roles are growing at 25% YoY while Data Scientist demand is growing at 36% YoY. Data Scientist has stronger near-term demand growth.

Can you switch from Software Engineer to Data Scientist?+

Yes. Many professionals transition between these roles, especially since both are in the same category. Shared skills include: Python, SQL.

Which is harder to automate — Software Engineer or Data Scientist?+

Data Scientist has a lower AI automation risk (40% vs 48%). Based on Oxford Martin School and McKinsey 2023 analysis.