Nearly two-dozen New York non-profits are among the richest in the country, raking in hundreds of millions in donations, according to a new analysis.

Columbia University landed at the ninth spot nationwide, and first in New York, with $1 billion in cash donations last year, according to the Chronicle of Philanthropy’s list of the country’s 100 favorite charities based on the dollar amount of donations.

The Virginia-based United Way Worldwide was ranked first nationwide with $3 billion in support. The Chronicle calculated only cash and stock contributions and did not include government grants or donated products.

Much of Columbia’s bounty came from the largesse of the estate of Florence Irving and her husband, Herbert, who co-founded the Sysco Corp. The family in 2017 announced a $700 million gift to the Ivy League university and its affiliated hospital, New York-Presbyterian Medical Center.

Columbia graduate Dr. P. Roy Vagelos, the former CEO of Merck, and his wife Diana Vagelos, announced a $250 million donation in 2017 for Columbia’s medical school. The university said the money would allow about 20 percent of students to get a full scholarship.

The Planned Parenthood Federation of America, which is based in Manhattan, raked in $600 million, a 23 percent increase in donations from the previous year, the Chronicle found.

The organization saw a surge in cash after President Trump’s election, from donors worried about what his presidency might mean for women’s health care. Some even made donations in the name of Planned Parenthood opponent Vice President Mike Pence.

The Chronicle analysis found donations to public universities rose by 21 percent overall, with private colleges seeing a four percent increase.

New York University’s donations dipped 11 percent, to $501 million. Cornell University’s contributions fell 32 percent to $507 million.

1. Columbia University – $1 billion, up 67% percent from 2017

2. Planned Parenthood – $594 million, up 23%

3. Cornell University – $507 million, down 32%

4. NYU – $500 million, down 11%

5. US Fund for UNICEF – $446 million, up 23%

6. Leukemia & Lymphoma Society – $418 million, up 34%

7. Doctors Without Borders – $395 million, up 6%

8. Memorial Sloan Kettering – $392 million, up 20%

9. American Jewish Joint Distribution Committee – $287 million, up 9%

10. International Rescue Committee – $282 million. down 1%