In the following article, Ron Paul points out that future obligations are not included in the debt ceiling calculation.
Stop Raising the Debt Ceiling
The federal government once again has reached the limit of its legal ability to borrow money, meaning it cannot issue new Treasury debt without action by Congress to increase the debt ceiling limit. As of this month, our “official” national debt- which doesn’t include the staggering future payments promised to Social Security and Medicare beneficiaries- stands at $14.2 trillion.
The debt ceiling law, passed in 1917, enables Congress to place a statutory cap on the total amount of government debt rather than having to approve each individual Treasury bond offering. It also, however, forces Congress into an open and presumably somewhat shameful vote to approve more borrowing.
...