NASA within the US Federal Budget Pie Chart

The United States government spent approximately $4.5 trillion in fiscal year 2019, of which just 0.5% ($22.6 billion) was provided to NASA. In this chart, shades of blue represent mandatory spending programs; shades of orange are discretionary programs that require annual appropriations by Congress. Source: Office of Management and Budget Historical Tables 8.5 and 8.7.