The federal government spends approximately $72 billion on education, whereas defense is spending for 2012 is approx $600 billion.
The problems with comparing defense and education spending are numerous. First of all, the Constitution of the United States mandates the government spend on the common defense. The spending on education is a "State's Rights" issue. The proof of this is that the Department of Education did not exist until 1979 under Jimmy Carter. Prior to that each State paid for education or more accurately each town. You know those "school taxes" that are paid.
The second problem is that there is an ASSUMPTION that claims -- money equals education. The reality is that education standards in the US have declined as more money is spent on education. Whereupon, the US is now ranked 25th in math. This is not about spending money, it is about the quality of the student with respect to their character.