All public education: funding by federal, state, and local governments. And all levels: pre-K through college.
How about just primary and secondary? Start talking universities and you get into public vs. private, research vs. subsidies, etc., etc.
In 2006 they received $521 billion in state, federal, and local funding out of a GDP of $13,202 billion. That comes to 3.9%.