How does it get spent? It might surprise you to know that only about 2 cents of that dollar goes to education. How does the government arrive at that figure? Many of the expenditures in the federal budget are mandatory, like Social Security, Medicare, Medicaid, and servicing the national debt.