You could spend $97,000 on rent before you turn 30—that’s way more than your parents did

Max Greenfield and Hannah Simone in FOX's "New Girl"
FOX | Getty Images

Thanks to skyrocketing costs, student debt is more of a burden for millennials than it was for any previous generation just starting out. Prices for health care, child care and real estate pose more of a problem. And that's not all: According to a new analysis from Rent Cafe, the generation that largely hasn't been able to buy homes has also had to deal with way higher rent prices.

Rent Cafe's report found that younger millennials are paying a median rent total of $97,400 in 2017 dollars between the ages of 22 and 29, and those who are now 30 paid a median rent total of $93,400 in that eight-year span.

Gen Xers, by contrast, only paid the equivalent of $81,400, while baby boomers paid even less. When today's septuagenarians were in their 20s, their rent amounted to $66,900.

If prices continue to rise, the situation looks grim for Gen Zers: Tomorrow's twenty-somethings could pay a median total rent of $102,100 before they turn 30, the site forecasts.

One bright spot: Millennials today may have to spend more on housing than any previous generation of young people, but they also make the most in the same time frame. Their median earnings total $206,600.

Generation X made slightly less in their 20s ($202,100), and boomers made the least ($195,700).

Higher salaries offset higher rent costs to some degree, but millennials still must put the largest share of their income toward rent. An estimated 45 percent of their pay goes to keeping a roof over their heads, making them significantly "cost burdened."

Gen Xers, by contrast, spent 41 percent of their income on rent before turning 30, while boomers spent a more reasonable 36 percent.

Rent Cafe used data from the U.S. Census Bureau, and the study refers only to single people paying their rent without help. It's also notable that these are median values and rent prices and salaries vary considerably based on where you live. Still, as the study makes clear, rent in the U.S. is an increasingly heavy burden.

Like this story? Like CNBC Make It on Facebook!

Don't miss: You can live longer if you retire early, research shows—here's why

Here's how rent changed in 2017 in 5 major cities
Here's how rent changed in 2017 in 5 major cities