With nearly two dozen U.S. states now saying they won’t resettle Syrian refugees, President Barack Obama took a moment during the G20 meeting to acknowledge the pressures faced by other countries at the gathering.

"The United States, as the largest provider of humanitarian assistance to displaced persons and refugees, stands shoulder-to-shoulder with Turkey, Europe, and others in trying to help those who need help right now, even as we hope to reduce the flow of migrants because of the situation inside of Syria," Obama said.

We wanted to know if America in fact is the largest provider of aid for displaced people and refugees. If we simply look at the dollars spent on international assistance, the numbers largely back up Obama. (We asked the White House for comment but didn't hear back.) But the dollars don’t tell the whole story. Any country that houses refugees incurs costs apart from its support for international aid agencies.

The dollars

Development Initiatives is a British organization focused on gathering data to help reduce global poverty. It reports that in 2012 , the United States provided more humanitarian aid than any other nation. The U.S. government spent $3.8 billion, representing nearly a third of all aid from donor countries. The second highest donor was not a single country but agencies of the European Union with about $1.8 billion in humanitarian aid.

From the Development Initiatives report, here are the top 10 donors in 2012:

Donor Amount Share of total United States $3.8 billion 29.4% EU $1.88 billion 14.5% United Kingdom $1.16 billion 9.0% Turkey $1.03 billion 8.0% Sweden $784 million 6.1% Germany $757 million 5.9% Japan $606 million 4.7% Canada $512 million 4.0% Norway $509 million 3.9% Australia $442 million 3.4%

The United States ranks first, but it also represents the largest national economy. As a percentage of Gross National Income (the research center’s economic yardstick), Luxembourg and Sweden are the top donors giving 0.16 percent and 0.14 percent respectively. This table shows the line-up, again using Development Initiative data:

Donor Share of GNI Luxembourg 0.16% Sweden 0.14% Turkey 0.13% Norway 0.10% Denmark 0.09% Ireland 0.08 Finland 0.07% UK 0.05% Featured Fact-check Democrats and Joe Biden “want to abolish the suburbs altogether by ending single-family home zoning.” Netherlands 0.05% Switzerland 0.05% Belgium 0.04% Canada 0.03% Australia 0.03% New Zealand 0.03% United States 0.02%

We should note that these donations go toward problems that range beyond refugees and people displaced by conflict. This humanitarian aid also provides food when people are starving and shelter when a flood or other disaster drives them from their homes.

To get a slightly different angle, we looked at the donors to the UN High Commission on Refugees . That’s the UN lead agency for refugee assistance. Again, the United States comes out on top with $792 million given in 2012. The next highest was Japan.

Susan Fratzke is a policy analyst at the Migration Policy Institute, a research center in New York City. Fratzke said the donor numbers only take you so far.

"Not all the refugee aid goes to the UNHCR," Fratzke said. "Some governments also give to big nonprofits, like the International Rescue Committee."

But Fratzke said specific to Syria, America has been the largest donor to help people fleeing that conflict. She said she’s comfortable that all told, the United States most likely is the largest donor across the board.

Hosting refugees

There’s another way to look at providing aid, though, and that’s by looking at how many displaced persons are residing in a country.

According to the UNHCR, in 2014 no country dealt with more refugees than Turkey. More than 1.5 million Syrians fled their war-torn country to find safety in Turkey. Not only is Turkey the fourth largest donor of humanitarian aid, it shelters the greatest number of refugees within its borders. Data from UNHCR produces this table:

Country Refugees Turkey 1,587,345 Pakistan 1,505,516 Lebanon 1,154,024 Iran (Islamic Rep. of) 982,025 Ethiopia 659,510 Jordan 654,116 Kenya 551,336 Chad 452,877 Uganda 385,498 China 301,047 Afghanistan 300,421 Sudan 277,818 Iraq 271,137 United States 267,174 Cameroon 264,102 Yemen 257,632 France 252,228 South Sudan 248,152 Egypt 236,050 Russian Federation 235,717

It is difficult to put a dollar value on such efforts, but the hosting of refugees represents another form of providing assistance.

Our ruling

Obama said that the United States is the largest provider of humanitarian assistance to displaced persons and refugees. We found that America gives more humanitarian aid than any other country, and it ranks first in supporting the UN’s lead agency in helping refugees. While the numbers are a bit inexact, an expert we reached said all the numbers point toward the United States being the top donor. While other countries give more relative to the size of their economy, the total volume of dollars matters most in terms of being able to provide more food, shelter and medical care.

However, countries that host refugees also provide humanitarian assistance in ways that are not so easily tallied. Those efforts should factor into an assessment of each nation’s level of aid.

Obama was likely thinking in terms of financial support and in that regard, his statement holds water. But it’s important to acknowledge that other forms of assistance matter.

The statement is largely correct but it requires a bit more information. We rate it Mostly True.