Regular readers in this forum know that the United States has dropped to No. 12 in the Heritage Foundation’s latest worldwide rankings of economic freedom.

James Pethokoukis of the American Enterprise Institute isn’t convinced. He thinks the ranking should be lower. He explains why for National Review Online readers.

A continuous, nearly decade-long slide leaves the U.S. economy at number twelve, just ahead of Bahrain and right behind Estonia. Blame “large losses in property rights, freedom from corruption, and control of government spending” for the steady erosion of America’s free-enterprise system. Blame Obamanomics — that, of course, is the unsubtle subtext here.

Both that analysis and the ranking itself are far too charitable toward the current American economy. They’re also too harsh toward the president. Consider social-democratic Sweden, which comes in at number 20. When we look at the Index of Economic Freedom’s ten subcategories, we see that Sweden bests the United States in seven, offering slightly stronger property rights and higher levels of freedom in areas such as trade and investment. Where the U.S. scores big over Sweden is in the subcategory of government expenditure. Spending at all levels of American government consumes 42 percent of our GDP, considerably less than Sweden’s 51 percent.

But that nine-point spending gap between the two nations — equal to $1.4 trillion from the U.S. perspective — is an accounting trick that masks the true size of the vast American welfare state. Start with health care. In Sweden, health-insurance premiums come from taxes. In the U.S. — at least until Obamacare subsidies take effect — they’re mostly deducted from paychecks or contributed directly by employers. Either way, workers have less after-tax income. And when those employer-sponsored premium payments are accounted for, according to the Manhattan Institute, total U.S. spending amounts to roughly 48 percent of GDP.

Then there are all manner of tax subsidies that aren’t counted as spending. According to Pew Charitable Trusts, in the U.S., aggregate housing-tax subsidies alone were $304 billion in 2010. This includes the value of deductions for mortgage interest and property taxes, as well forgone tax revenue on imputed rental income — essentially the value of housing services provided by homeowners to themselves. That works out to two percentage points of GDP for a government “program” that subsidizes bigger, or at least more costly, homes for relatively high-income Americans at the expense of everyone else.

The ten biggest “tax expenditures,” as classified and measured by the Congressional Budget Office, are collectively worth nearly $1 trillion. But more than half of the combined benefits accrue to households with income in the top fifth of the population, with 17 percent going to the top 1 percent. Not only does America have market-distorting government as big as Sweden’s, it runs a welfare state that’s heavily targeted toward the top rather than the middle or bottom. If government spending were calculated in this more transparent way, the U.S. would fall to Swedish levels of economic freedom, if not a bit lower. Likewise, if Sweden spent the way the index thinks the U.S. does, it would take America’s spot behind Estonia.