New York spent more money per public-school student than any other state in the nation in 2015 and blew past the national average by 86 percent, according to new data.

Figures from the US Census Bureau show that the Empire State shelled out $21,206 per student in fiscal year 2015, the most recent period available.

That dwarfed the national average of $11,392 per student, according to the data.

New York shelled out a total of $64.8 billion on elementary and secondary schools in 2015 to educate approximately 2.6 million students.

That trailed only California in terms of total expenditure. The Golden State — with 6.2 million kids in its school system in 2015 — had roughly $75.1 billion in costs and spent far less per student, $10,467.

Per-student spending on salaries and benefits in New York state was $14,769 — an eye-popping 114 percent higher than the national average, according to the Empire Center for Public Policy’s E.J. McMahon.

For central and school administration costs, New York spent $5,972 per student, the seventh- highest in the country and 49 percent over the national average, according to the study.

Eight of the top 10 spending averages per student were located in the Northeast.

After New York and Alaska ($20,172), the District of Columbia came in third, at $19,396 per student, Connecticut fourth, at $18,377, and New Jersey fifth, at $18,235.

New York’s per-student 2015 costs were 16 percent higher than New Jersey’s, 15 percent higher than Connecticut’s and 36 percent higher than Massachusetts’, according to the Empire Center study.

Not surprisingly, New York City spent the most money per student than any other district in the country, at $21,980. Boston schools came in second, at $21,552.

With the country’s largest enrollment of 995,000 students, New York City’s Department of Education spent roughly $27 billion to run the sprawling system in 2015.

Los Angeles County, which had the country’s second-highest enrollment in 2015 with roughly 646,000 kids, spent $9.1 billion.

Total US spending on public- school education in 2015 was $639 billion, according to the data. That’s up from $613 billion in fiscal year 2014.

The 2015 per-student spending average was 3.5 percent higher than the prior year. That represented the sharpest jump since 2008, according to US Census officials.

Per-student spending increased in every state in the country in 2015, with Arizona and California posting the steepest hikes.

According to the Census numbers, Utah doled out the least amount of money per student, at just $6,575 in 2015.