This is kind of fun.
The economists at the Center for Economic and Policy Research have put together an interactive chart demonstrating the effect of healthcare spending on the federal budget. You can look at the federal budget as projected by the Congressional Budget Office—and recoil in horror as the deficit, which has bubbled along at 0 to 6% of GDP for decades, explodes to 50% of GDP by 2080!!!
Then you can see how that projection would change if the US could deliver healthcare as efficiently as, say, Australia, Canada, Germany, or the UK.
If the US healthcare system wasn’t so grossly inefficient we would be projecting a massive surplus.
Update: by the way, this is just healthcare. No change whatsoever to Social Security.