During the Aug. 6 Republican debate, Mike Huckabee and Chris Christie engaged in one of the calmer exchanges of the evening, discussing how best to reform Social Security and Medicare.

Christie laid out his position first: raising the retirement age and cutting benefits for those who maintained a steady stream of high income into their old age. Huckabee countered with his own vision of a "fair tax" on consumption, which, he memorably claimed, would apply to everyone, "including illegals, prostitutes, pimps, drug dealers, all the people that are freeloading off the system now."

As part of his follow-up, Huckabee said, "One of the reasons that Social Security is in so much trouble is that the only funding stream comes from people who get a wage. The people who get wages is declining dramatically. Most of the income in this country is made by people at the top who get dividends and capital gains."

We decided to check whether the funding stream for Social Security is in danger because the number of people receiving wages is declining dramatically.

Sources of funding for Social Security

While payroll taxes comprise the bulk of the program’s income -- making up about $750 billion in revenue in 2014 -- Huckabee ignores two other sources of revenue that provided support for Social Security. One is that wealthier beneficiaries pay taxes on their Social Security income. For 2014, the revenue collected this way came out to $29.7 billion.

Another method of funding for Social Security comes from interest earnings on investments on the $2.8 trillion worth of reserves in Social Security. This amounted to $98.2 billion in 2014.

More significantly, has there been a "dramatic" decline in wage-earners?

It’s unclear exactly what kind of timeline Huckabee was using when he referred to the "dramatically declining" number of people getting wages, and Huckabee’s campaign did not respond to us.

But going by the raw numbers, at least, there’s been no decline in the ranks of wage-earners at all. The total civilian labor force has been steadily increasing since 1948, the first year the Bureau of Labor Statistics started counting it, with a brief stagnation at the height of the recent recession. The labor force participation rate — which measures people who are working age and either employed or looking for a job — has fallen since the Great Recession, partly due to economic trends but also due to the aging of the Baby Boom generation.

More useful for the purposes of Huckabee’s claim is a look at the total number of people paying into Social Security. In 2013, the number of wage and salary contributors to Social Security (a different category from those who are self-employed, though their earnings are also taxed for Social Security) was virtually the same as in 2007, and one expert predicted that it had probably continued to go up in 2014 and 2015.

So the total number of people in the labor force and paying into Social Security is about the same as it was before the recession, not a dramatic decline.

However, Jagadeesh Gokhale of Wharton School’s Public Policy Initiative said Huckabee would have been more accurate if he had phrased his claim more carefully. The number of wage-earners is indeed decreasing in relation to the number of Social Security beneficiaries. This is happening due to the increase of Baby Boomer recipients. When a Boomer retires, it’s a double whammy -- the retirement shrinks the number of wage earners while increasing the number of beneficiaries.

So Huckabee has reason to be concerned about the number of wage-earners supporting Social Security. It’s just that he didn’t correctly describe the problem.

What’s the impact of earnings from capital gains and dividends?

Huckabee also suggests another reason why insufficient money is being funneled into Social Security: that the richest people are accumulating a significant portion of their wealth from capital gains and dividends, profits that aren’t taxed for the benefit of Social Security. We wanted to see how well this theory held up.

One study that we found on this issue came from the Tax Policy Center, an independent think tank that analyzes tax policy. The center looked at the composition of income reported on tax returns in 2012 and found that the highest-income earners make up a disproportionate share of non-wage earnings, said Roberton Williams, who co-authored the study.

The study found that for those with an adjusted gross income above $5 million, capital gains made up nearly half their income, with dividends and interest accounting for another 14 percent.

According to a calculation we did with the same data set — 2012 income statistics from the IRS — capital gains and dividends make up an even larger percentage of income for those earning more than $10 million. For those, capital gains, interest and dividends make up 62.7 percent of their adjusted gross income, while salaries and wages only account for 16.1 percent. (Business income and retirement funds round out the rest.)

So there’s something to what Huckabee says on this point. But it’s important to keep it in context.

There were only about 17,000 Americans making more than $10 million in 2012; combined, their adjusted gross income totaled about $546 billion, or just 6 percent of the country’s total pool of income.

You have to adjust the cut-off point all the way down to $100,000 before you can include half of the income in the United States for 2012. Cumulatively, that group earned 56.5 percent of the nation’s income.

And the further you extend the pay scale downward, the smaller the role capital gains and dividends play. For those earning $100,000 and up, non-wage income only accounts for 17 percent. Salaries and wages make up 59 percent.

It’s also important to remember that wage and salary earnings are only taxed by Social Security up to $118,500.

Our ruling

Huckabee said that "one of the reasons that Social Security is in so much trouble is that the only funding stream comes from people who get a wage. The people who get wages is declining dramatically."

Several aspects of this claim are problematic, starting with the inaccuracy that only wages support Social Security. In addition, Baby Boomer retirements are shifting the ratio of recipients to workers in the wrong direction, but it’s not as simple as there being a dramatic decline in the number of people who get their income from wages.

In fact, Huckabee overstates the impact of non-wage income on Social Security’s fiscal health; the shift from wage income to non-wage income is happening among the richest Americans, but this group still accounts for a fraction of all income earned in the country. On balance, we rate the claim Mostly False.