In 17 years, a middle-income family is expected to have spent $234,900 if their baby was born in 2011.

A middle-income family is expected to spend $234,900 to raise a baby born in 2011. This amount counts 17 years of food, transportation, shelter and other necessities, according to a United States Department of Agriculture report.

The cost rose 3.5 percent from 2010 to 2011. Expenses with the largest increase from 2010 to 2011 were food, transportation, education and childcare. Childcare made up 18 percent of the total costs while housing made up the largest cost at 30 percent. Housing costs average $70,560 over 17 years, according to the report.

Where the child is raised is a factor in cost. The urban Northeast is the most expensive area to raise a family and the urban West is second, according to the USDA.

The report also found that if a family had three or more children they were able to share more items, which dropped expenses by 22 percent.