Cost of living comparison

compared to

Sunnyvale vs. Madrid Cost of Living Summary

Sunnyvale is 45.0% more expensive than Madrid.

Restaurants
pay 15.9% more in Sunnyvale
Groceries
pay 1.5% more in Sunnyvale
Transportation
pay 21.4% more in Sunnyvale
Housing
pay 2.1 times more in Sunnyvale
Childcare
pay 2.1 times more in Sunnyvale
Entertainment and Sports
pay 39.2% more in Sunnyvale
Clothing
pay 0.4% more in Sunnyvale

The cost of housing, childcare, entertainment and sports, transportation, restaurants, and groceries in Sunnyvale are more expensive than in Madrid. Notably, housing and childcare are significantly more expensive in Sunnyvale.

Sunnyvale vs. Madrid Cost Breakdown

If you lived in Sunnyvale instead of Madrid, you would:

pay 15.9% more for restaurants

 
Madrid
Sunnyvale
Basic meal with drink at inexpensive restaurant $17.92
€16.07
$24.00
 
Fast food combo meal
McDonalds, or similar
$11.20
€10.05
$11.89
 
Bottle of Coca-Cola (11 fl. oz) $3.30
€2.96
$2.70
 

Improve prices ·

pay 1.5% more for groceries

 
Madrid
Sunnyvale
Bread
1 loaf
$1.57
€1.41
$3.86
 
Local cheese (8 oz) $8.35
€7.49
$3.31
 
Milk (1 gallon) $5.25
€4.71
$5.50
 

Improve prices ·

pay 21.4% more for transportation

 
Madrid
Sunnyvale
Gasoline (1 gallon) $6.88
€6.17
$5.67
 
Monthly public transit pass $36.95
€33.15
$90.00
 
New Volkswagen Golf 1.4 (standard edition) $35,271.67
€31,643.98
$36,998.00
 

Improve prices ·

pay 2.1 times more for housing

 
Madrid
Sunnyvale
Internet connection
50 mbps or faster, cable/dsl
$34.86
€31.28
$61.24
 
1-Bedroom apartment in downtown area $1,491.38
€1,337.99
$3,292.50
 
1-Bedroom apartment outside city center $1,193.86
€1,071.07
$2,912.50
 

Improve prices ·

pay 2.1 times more for childcare

 
Madrid
Sunnyvale
Private preschool for 1 child, monthly $668.48
€599.73
$2,117.50
 
Middle school for 1 child, two semesters $17,859.91
€16,023.02
$24,600.00
 

Improve prices ·

pay 39.2% more for entertainment and sports

 
Madrid
Sunnyvale
Domestic/local beer (1 pint) $3.92
€3.52
$5.50
 
Cappuccino in mid-range area $3.07
€2.76
$5.94
 
Pack of cigarettes
Marlboro or similar
$6.72
€6.03
$11.71
 

Improve prices ·

pay 0.4% more for clothing

 
Madrid
Sunnyvale
Regular jeans
Levi's brand
$86.50
€77.60
$63.17
 
Regular dress
from H&M or similar store
$42.98
€38.56
$35.00
 
Running shoes
Nike or Adidas
$108.99
€97.78
$105.00
 

Improve prices ·

We average the price of thousands of data points entered by users across the world. Sources: MyLifeElsewhere's cost-of-living dataset (prices updated November 2026). How we calculate this

Share this

Compare countries by overall cost of living

See the cost of living in Spain vs. United States. This provides a comparison of the average cost of living from cities within Spain and United States.

Help us improve these prices

MyLifeElsewhere is a collaborative project. Please enter price information for your location to help assist us in making these comparisons more accurate. Learn more

Ask the Elsewhere Community

Join the Elsewhere community and ask a question about Sunnyvale or Madrid. It's a free, question-and-answer based forum to discuss what life is like in countries and cities around the world.