That’s a lot of bake sales.

Parent Teacher Associations at city public schools have amassed nearly $50 million in their coffers as of June, according to self-reported figures released by the Department of Education.

But while some parent groups were raking in dough — others were barely sweeping up crumbs.

Six learning establishments said they had at least a million saved up. But many schools had less than $100 tucked away, with some reporting completely empty war chests, according to the unaudited account.

The Queens HS for the Sciences at York College in Jamaica reportedly had $5,474,062 saved up and the Brooklyn School for Global Scholars in Bath Beach stockpiled $3,479,539, according to numbers submitted to the DOE.

On the Upper West Side, one of the city’s top Gifted & Talented programs, The Anderson School, had $2,129,248 to play with, while two of the city’s top specialized high schools, Stuyvesant and Bronx Science had $532,024 and $410,498, respectively.

That’s compared with more than 20 schools in Bedford-Stuyvesant’s District 16 that had just $10,278 total.

The DOE compiled the rundown based on information submitted by each school’s principal.

The agency submitted the report to the City Council amid concerns that the funds worsen inequalities.

“We are thankful for and greatly value these contributions, but in some instances, and without clear intent, these systems can also perpetuate or exacerbate disparities in opportunities for students,” said Schools Chancellor Richard Carranza in a statement.

“While we respect the autonomy of these associations and value the support of parent and community partnership, we recognize the need to increase transparency and foster greater collaboration between parent leaders.”

Additional reporting by Joe Marino