"In 2010, state expenditures totaled $1.9 trillion dollars while state spending on corrections was $48.5 billion. Between fiscal years 1982 and 2010, spending on corrections represented between 1.9% and 3.3% of total expenditures by state governments. Since 2003, corrections expenditures, as a share of total spending, fluctuated between 2.5% and 2.9% of state expenditures (figure 1).
"Between 1982 and 2010, spending on education varied between 29% and 33% of total state expenditures, spending on public welfare varied between 22% and 25%, spending on highways varied between 5.7% and 8.6%, and spending on health care and hospitals varied between 6.2% and 7.5%. Other expenditures (including air transportation, financial administration, police protection, and public safety expenditures) ranged between 29% and 32% of state expenditures."

Source

Kyckelhahn, Tracey, "State Corrections Expenditures, FY 1982-2010" (Washington, DC: US Dept. of Justice Bureau of Justice Statistics, Dec. 2012), NCJ239672, p. 1.
http://www.bjs.gov/content/pu…