Here's how much money millennials say they need to make to be happy

Drew Gehling as Danford (l) and Ellie Kemper as Kimmy Schmidt (r) in "Unbreakable Kimmy Schmidt." 
Universal Television | NBCUniversal | Getty Images

As millennials get older, their financial ambitions mature too. TD Ameritrade's recent "Millennials and Work" survey found that the average amount millennials (defined, in this case, as those aged 21 to 37) say they need to earn be happy has risen $30,000 since 2016, jumping from $50,000 a year to $80,000.

Nearly a quarter of millennials (22 percent) say earning between $50,000 and $74,999 a year is what it will take to make them happy, while 41 percent say they'll need $75,000 or more. That's significantly more than young people actually take home: Those between the ages of 25 and 34 earn a median salary of just $41,288 per year, according to the BLS, and SmartAsset estimates that those 19 to 37 years old earn an average of $35,592.

Still, there's a strong contingent of millennials — 22 percent — who say they can earn $25,000 or less per year and keep their spirits up.

Click to enlarge.

Older millennials tend to say they need a larger amount to be content: Those 30 and up report needing an average salary of $101,500, while respondents under 30 average only about half that, or $53,500.

As millennials age, they're earning more and starting families, and their aspirations are keeping pace, Chris Bohlsen, a director in investor services at TD Ameritrade, tells CNBC Make It. And as they get a better idea of what they have the potential to earn, they're able to set higher expectations about what it will take to make themselves, and their families, happy.

Having kids matters as well: Nearly 40 percent of respondents with children say that they need over $100,000. "There is a need to provide a higher quality of life for your children," Bohlsen says. "When you have to take care of somebody else, you give yourself something bigger to shoot for."

Here's how to be happier and more successful in 2018
Here's how to be happier and more successful in 2018

It's worth noting that the survey didn't ask how millennials spend their money, and spending actually plays a key role in how money relates to happiness. Studies have shown that money can increase happiness when it's used to save time, create lasting memories or be generous to others.

Achieving a certain level of wealth can also give individuals the freedom to start their own business, or to retire early.

And although young people seem to have high expectations, they are also putting in the required effort. Over 40 percent of survey respondents have a side hustle, for example. Technology has made it easier than ever to get started making extra money on the side, like by driving for ride-sharing apps or renting out spare rooms.

Bohlsen believes the average amount millennials say they need to be happy will rise even more as the generation ages: "They will continue to have higher goals because they're putting in the work to achieve the goals that they have right now."

Don't miss: 54% of those worth $1 million or more say money can indeed buy happiness

Like this story? Subscribe to CNBC Make It on YouTube!

Gretchen Rubin: The key to your happiness depends on these 2 things
Gretchen Rubin: The key to your happiness depends on these 2 things