Machine Learning Engineer salary: Barcelona vs Stockholm (2026)

Stockholm pays Machine Learning Engineers 1246% more than Barcelona at the mid-level band — a median of kr 754k vs €56k.

Estimates based on public benchmarks and modelled data. How we calculate →

Median salary gap
1246%
Stockholm wins by kr 698k/yr at mid-level
2026 · Gross annual base

Barcelona

Median (mid-level)
€56k
Typical range (p25–p75)
€44k€70k
Senior median
€82k
Junior median
€31k

Stockholm

Higher pay
Median (mid-level)
kr 754k
Typical range (p25–p75)
kr 617kkr 936k
Senior median
kr 1.1M
Junior median
kr 445k

Barcelona vs Stockholm — the verdict

Stockholm pays Machine Learning Engineers a median of kr 754k per year, around 1246% more than Barcelona's €56k. That's roughly kr 698k of additional gross base pay every year for the same role at the mid-level band.

The premium narrows once you factor in cost of living, tax, and housing. Barcelona often delivers stronger real purchasing power, especially for early-career professionals — and the local market is typically less competitive.

Use the CompVerdict offer checker below to test a specific offer against either city's market. A strong offer sits above the p75; a fair offer lands near the median; below p25 there's a clear case to negotiate.

Machine Learning Engineer salary by experience band

BandBarcelonaStockholmGap
Junior€31kkr 445k1318%
Mid-level€56kkr 754k1246%
Senior€82kkr 1.1M1297%

Medians shown. Gap is computed against the lower-paying city at each band.

Got an offer in either city?

Knowing the gap is step one. The real question is where your specific offer sits within Barcelona's or Stockholm's range. If your offer is in the bottom 30% for the role and city, there's a strong case to push back.

Use the CompVerdict tool to get your verdict instantly. No signup. You'll also get a ready-to-send negotiation script based on the local market.

Check an offer →

Frequently asked questions

Which city pays more for Machine Learning Engineers — Barcelona or Stockholm?

+

Stockholm pays more. The median Machine Learning Engineer salary in Stockholm is kr 754k vs €56k in Barcelona — a 1246% gap at the mid-level band. Barcelona median is €56k; Stockholm median is kr 754k.

What's the salary gap between Barcelona and Stockholm for Machine Learning Engineers?

+

At the mid-level (3–5 years experience) band, Stockholm pays 1246% more than Barcelona for Machine Learning Engineers. The absolute difference is roughly kr 698k per year on the median. Junior and senior bands shift the gap slightly, but the direction is consistent.

Which is better for senior Machine Learning Engineers — Barcelona or Stockholm?

+

Senior Machine Learning Engineers earn kr 1.1M median in Stockholm vs €82k in Barcelona. Stockholm maintains its lead at the senior band, often widening as total comp (equity, bonus) compounds with seniority. Barcelona can still close the gap when you adjust for cost of living.

Are Barcelona and Stockholm salaries cost-of-living adjusted?

+

No — these are gross annual base salary figures. Stockholm typically has higher living costs alongside its higher pay. To see how either salary translates into rent affordability, use SpendVerdict; for savings potential, use PathVerdict. The headline gap of 1246% narrows significantly once you adjust for housing, tax, and lifestyle costs.

Salary estimates are based on public benchmarks and modelled data. They represent gross annual base salary and do not include bonuses, equity, or benefits. Read our methodology →