The difference is pretty big.

When it comes to deciding where to raise your kids, there’s a lot to think about—schools, community, proximity to family, and more. But one key factor for most people is the cost of living. Zillow and partnered on the “Cost of Living” analysis to find out exactly how much it costs to raise a family in the city and the suburbs.

After looking at three common living expenses (property taxes, mortgage payments, and child care costs) and their costs around the country, the experts found that a family who lives in the city will end up spending $9,000 more a year than their counterparts in the suburbs.

From the analysis, they found that nationally, families who live in the city spend an average of $43,652 a year on housing and child care. In the suburbs, families spend $34,579. The experts also looked at other factors such as home size and commute times. It’s no surprise that in the suburbs you get more space—the median home is about 280 square feet larger. Commute times generally are the same for both suburban and urban families.

Of course, there are some variations for certain cities. In metro areas like New York, Chicago, and Dallas residents may spend more than $6,000 a month. But, in the suburbs of Philadelphia and Baltimore, families actually pay $14,000 more a year. There are also differences in childcare and housing costs: child care in Minneapolis is $4,119 more in the city, while housing is $189 cheaper.

“Deciding whether to live in the city or suburbs is a personal choice, but when you do the math, it’s easy to see why moving to the suburbs is about more than just a bigger yard—it can also save you a lot of money,” Zillow’s Chief Economist, Svenja Gudell, said in a press release.

To see where your city falls on the scale, take a look the Zillow and’s Cost of Living report.