The average expenditure per K-12 student is $7,734 nationwide, according to the National Center for Education Statistics. Of that, $4,755 goes for instruction. Utah, at $4,900 per student, spent the least; the District of Columbia spent the most, $12,102. California was right in the middle, spending more than Texas but a lot less than New York and New Jersey.
Adding in capital expenditures, the national average was $8,589 with D.C. spending more than $15,000 per student, and getting very little education for the dollars.
Update: As commenters noted, the cost of living is much higher in California than in Texas. A reader sent me a link to a salary calculator, which says that $35,000 in Houston is the equivalent of $49,000 in Los Angeles.