Salary Comparison

Machine Learning Engineer Salary:
San Francisco, CA vs Los Angeles, CA

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

San Francisco, CA
$281,690
/ year
+20%
difference
Los Angeles, CA
$234,282
/ year
Bottom line: Los Angeles offers better purchasing power despite San Francisco paying more gross. How is this calculated? โ†’
Metric
San Francisco
Los Angeles
Median Gross Salary
Annual, before tax
$281,690โœ“ higher
$234,282
Entry Level
0โ€“2 years experience
$182,168โœ“ higher
$151,509
Senior Level
8+ years experience
$435,584โœ“ higher
$362,276
Est. Take-Home Pay
After income tax + FICA
$187,858โœ“ higher
$157,042
Purchasing Power
Equivalent in median-CoL city
$167,673
$169,770โœ“ higher
Cost of Living Index
Relative to US median (1.00)
1.68ร—
1.38ร—โœ“ lower
Percentile 10 (Low)
Bottom 10% of earners
$182,168โœ“ higher
$151,509
Percentile 90 (High)
Top 10% of earners
$435,584โœ“ higher
$362,276

What if you move from San Francisco to Los Angeles?

Gross salary change
$47,408
20% decrease
Take-home change
$30,816
per year after tax
Purchasing power change
+$2,097
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
Los Angeles, CA$234,282
P10: $151,509Median: $234,282P90: $362,276

Frequently Asked Questions

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

The median Machine Learning Engineer salary in San Francisco, CA is $281,690/yr compared to $234,282/yr in Los Angeles, CA. San Francisco pays 20% more in gross terms.

โ–ถIs a Machine Learning Engineer salary worth more in San Francisco or Los Angeles 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 $169,770/yr for Los Angeles. Los Angeles offers stronger real purchasing power.

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

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