At roughly 16.8%, health spending is the largest budget function category for the federal budget. It is followed by Medicare (16%) and national defense (15%).