Social Security and Medicare are ~26% and ~16.5% of the federal budget (excluding the 15% of the budget that's just financing previous years' budgets):
https://fiscaldata.treasury.gov/americas-finance-guide/feder...