Child-care and education expenses have grown considerably in recent years, according to a new government report. Here, 6-year-old Josiah Elam waits for his mother to pick him up from day care in Greenbelt, Md. (Linda Davidson/The Washington Post)

It’s more expensive than ever to raise a child in the United States, where families will shell out an average of $233,610 from birth through age 17 — or about $13,000 a year — according to new figures from the government.

The ballooning price tag, a 3 percent increase from a year earlier, comes at a time when day-care costs can exceed university tuitions and homes prices have skyrocketed to record highs. Families in urban areas in the Northeast, such as New York and Boston, were likely to pay even more — an average of $253,770, or roughly $14,000 a year — because of higher housing and child-care costs, according to a report by the Department of Agriculture.

The amount a family will spend per child varies greatly based on the family’s income, as well as where it lives. Lower-income families are likely to spend $212,300 per child through age 17, while higher-income families will spend more than double that, or about $454,770, according to the report. Families in rural areas, meanwhile, are likely to spend 24 percent less than their counterparts in urban areas in the Northeast.

“People tend to buy what they can afford — and with higher incomes, people are likely to spend more on their children,” said Stephen Fuller, an economist and professor of public policy at George Mason University.

Children also become more expensive as they get older, the data show. Parents spent an average of $12,680 a year on infants, while 15- to 17-year-olds cost $13,900 a year.

“Teenagers are the most expensive,” said Mark Lino, an economist at the Agriculture Department’s Center for Nutrition Policy and Promotion, and the report’s lead author. “They eat more, which means they have higher food costs, and they also have higher transportation costs. These are the years when they start to drive, so you add them to your insurance or even buy them a car.”

Housing expenses — calculated as the average cost for an additional bedroom — amounted to about $3,900 per child in U.S. cities and $2,400 in rural areas for a given year. It was the largest child-related expense, accounting for roughly one-third of total spending.

Back when the report debuted in 1960, child-care and education costs accounted for 2 percent of total child-rearing expenses. Today they make up 16 percent as more women have entered the workforce. The average cost for full-time child care now exceeds $9,500 per child annually, according to a recent report by Washington-based think tank New America. Health-care costs have also increased over the years, as families pay larger insurance premiums and face higher drug costs, Lino said. State governments use the report’s findings to create guidelines for child support and foster care.

But, he says, it’s not all bad news. The cost-per-child generally decreases as families have more children, a phenomenon Lino called the “cheaper by the dozen effect.” Families with three or more children will spend 24 percent less, or an average of $177,544, on each child, according to the report. Only-children, by comparison, will rack up 27 percent more in expenses than their counterparts with siblings.

“As you have more children, your total costs obviously go up but you’re spending less per child,” Lino said. “Children can share a bedroom, clothing and toys can be handed down, and food can be purchased in larger, more economical packages.”

The rebounding economy has also been good to families. After years of stagnant wages, American families saw a boost in earnings in 2015, when median household income rose 5.2 percent to $56,600, up from $53,700 a year earlier. That was the largest year-over-year increase in nearly five decades.

The findings come amid reports that Americans are having fewer children. The U.S. fertility rate — the number of babies born per 1,000 women aged 15 to 44 — last year fell to its lowest point on record. There were 59.7 births per 1,000 women during the first three months of 2016, down significantly from a peak of 122.9 births per 1,000 women in 1957, according to data from the Centers for Disease Control and Prevention.

The study did not include indirect costs of having children, such as forgone income from parents who scale back at work or quit their jobs entirely. Those costs can often exceed what parents spend on housing, education, transportation and other necessities, Lino said.

The cost of college was also excluded from the estimate, as were expenses associated with birth and adoption. Lino estimated that a four-year degree would add an extra $181,480 at private university and $80,360 at a public one.

But, he added, parents shouldn’t just think of their children as money-guzzling liabilities.

“Although children are very costly, they also have many benefits,” he said. “I haven’t studied the benefits extensively, but I think if you talk to any parent they’ll tell you their children bring them joy and happiness.”