Salary Comparison

Machine Learning Engineer Salary:
San Francisco, CA vs Phoenix, AZ

Side-by-side gross salary, after-tax take-home pay, and purchasing power comparison. Updated June 2026.

San Francisco, CA
$281,690
/ year
+75%
difference
Phoenix, AZ
$160,861
/ year
Bottom line: San Francisco wins on all three metrics โ€” higher salary, more take-home pay, and greater purchasing power. How is this calculated? โ†’
Metric
San Francisco
Phoenix
Median Gross Salary
Annual, before tax
$281,690โœ“ higher
$160,861
Entry Level
0โ€“2 years experience
$182,168โœ“ higher
$104,028
Senior Level
8+ years experience
$435,584โœ“ higher
$248,743
Est. Take-Home Pay
After income tax + FICA
$187,858โœ“ higher
$107,799
Purchasing Power
Equivalent in median-CoL city
$167,673โœ“ higher
$165,836
Cost of Living Index
Relative to US median (1.00)
1.68ร—
0.97ร—โœ“ lower
Percentile 10 (Low)
Bottom 10% of earners
$182,168โœ“ higher
$104,028
Percentile 90 (High)
Top 10% of earners
$435,584โœ“ higher
$248,743

What if you move from San Francisco to Phoenix?

Gross salary change
$120,829
75% decrease
Take-home change
$80,059
per year after tax
Purchasing power change
$1,837
equivalent real income

Take-home pay is estimated using 2024 US federal tax brackets (single filer) + 7.65% FICA, or a blended international effective rate. Purchasing power converts gross salary to an equivalent in a US median cost-of-living city (index 1.00ร—). Full methodology โ†’

Salary Range Comparison

San Francisco, CA$281,690
P10: $182,168Median: $281,690P90: $435,584
Phoenix, AZ$160,861
P10: $104,028Median: $160,861P90: $248,743

Frequently Asked Questions

โ–ถDoes a Machine Learning Engineer earn more in San Francisco or Phoenix?

The median Machine Learning Engineer salary in San Francisco, CA is $281,690/yr compared to $160,861/yr in Phoenix, AZ. San Francisco pays 75% more in gross terms.

โ–ถIs a Machine Learning Engineer salary worth more in San Francisco or Phoenix after cost of living?

After adjusting for local cost of living, your San Francisco salary has the purchasing power of $167,673/yr in a median-cost city, vs $165,836/yr for Phoenix. San Francisco offers stronger real purchasing power.

โ–ถWhat is the take-home pay for a Machine Learning Engineer in San Francisco vs Phoenix?

After estimated taxes, a Machine Learning Engineer in San Francisco, CA takes home approximately $187,858/yr, vs $107,799/yr in Phoenix, AZ. These are estimates based on standard federal tax rates and do not account for state/local taxes or deductions.