cityparity

$280,000 in San Francisco ≈ €159,215 in Madrid

Moving to Madrid from San Francisco with a family

Equivalence is solved so household net cash matches across both cities, with taxes, housing, childcare, healthcare, food, and travel all included.

What changes: San Francisco → Madrid

  • 7 more vacation days per year in Madrid (statutory)
  • 4 more paid parental-leave weeks (16 vs 12)
  • Universal healthcare in Madrid (no premium / minimal OOP)
  • Childcare drops ~$37k/yr in Madrid (subsidized)
  • Income + payroll tax runs 33.6% in Madrid vs 26.2% in San Francisco
  • Housing runs about 55% less in Madrid
  • Groceries and dining runs about 23% less in Madrid

The headline math

San Francisco household gross $280,000
San Francisco taxes (26.2%) −$73,450
San Francisco living costs −$155,220
San Francisco net cash $51,330
Madrid household gross needed €159,215($181,545)
Madrid taxes (33.6%) −€53,445
Madrid living costs −€60,753
Madrid net cash €45,016

Computed at the city-median tech-worker salary, San Francisco (a family with two kids) · effective tax rates: 26.2% vs 33.6%

The bottom line

Inbound-worker tax regime — Madrid. Spain's Beckham Law is the rare regime that genuinely cuts a locally-earned salary: a qualifying new arrival pays a flat 24% on Spanish employment income up to EUR 600,000 (47% above) for six years, instead of the ordinary progressive scale — which at EUR 150k would otherwise push the effective rate into the mid-30s. You must not have been a Spanish tax resident in the prior five years and must apply within six months of starting work; a direct local hire qualifies. It's worth roughly EUR 15,000+ a year at this salary, so if you'd qualify your real take-home is meaningfully higher than the ordinary-tax figure shown. See it applied in the calculator →

These numbers use one scenario's assumptions. Plug in your own salary, family size, and lifestyle.

Open the interactive calculator to run your own →

No signup. Your salary stays in your browser — we never see it.

Moving from San Francisco to Madrid for a family

For a family of four, this comparison produces a different answer than a single-person look at the same cities. Childcare costs, parental leave policy, and the second earner's tax treatment all push the number. With a partner at 60% of the primary salary and two kids in daycare, a $280,000 household in San Francisco needs €159,215 in Madrid to keep the same net cash.

Childcare is the biggest single swing factor in this comparison. San Francisco households pay $38,400 per year; Madrid caps it at €1,087 via subsidy. That difference flows directly to net cash. A standard salary comparison won't show it at all.

Parental leave is similar: 12 weeks paid in San Francisco, 16 in Madrid.

With kids in the house, healthcare is the line that quietly compounds. Madrid runs a universal system, so a rough year doesn't turn into a billing event. The San Francisco side carries $11,324 a year in premiums and out-of-pocket costs, exposure that simply doesn't follow you across.

K-12 schools score higher on PISA 2022 in USA (489 (math 465, reading 504, science 499)) than in Spain (477 (math 473, reading 474, science 485)), a 12-point gap on the OECD's standardized 15-year-old assessment. PISA is one signal; local school choice and curriculum philosophy matter at least as much.

Madrid also adds 7 more vacation days per year (22 vs 15). With kids, that is school breaks actually covered without burning PTO.

The second-earner question is worth running separately. In high-childcare-cost cities, full-time daycare can eat most of a partner's after-tax income. In Madrid, subsidized childcare changes that math entirely: both salaries actually make it to the household. Use the "Partner works in" toggle in the calculator to see what that shift does to your specific numbers.

Understand what's behind these numbers

Common questions

How much do you need to earn in Madrid to match a $280,000 salary in San Francisco?

About €159,215. cityparity solves for the Madrid gross salary whose net cash (after taxes, housing, childcare, healthcare, and the rest) equals what you keep in San Francisco. It's an equivalence, not a raw conversion.

How much is childcare in Madrid compared with San Francisco?

Childcare is one of the biggest swings for a family moving from San Francisco to Madrid. cityparity nets each city's daycare cost against any government child allowance, so the figure reflects what you'd actually pay out of pocket.

Is healthcare free in Madrid?

Madrid has universal healthcare, so there are no US-style premiums or large deductibles. cityparity counts that as real money you don't spend, which is part of why the equivalent salary is lower than the raw number suggests.

How much vacation and parental leave do you get in Madrid?

Madrid has about 36 paid days off a year (vacation plus public holidays) and 16 weeks of parental leave. cityparity surfaces these as deltas rather than dollars, because time off is part of the real comparison.

Run your own numbers in the interactive calculator →

Related comparisons

Every figure here comes from the same engine as the interactive calculator: real progressive tax brackets, city-median costs, childcare net of government allowances, and the social safety net priced in. Sources are cited per row in the calculator, refreshed annually. Read the full methodology →