Arizona residents pay 13 percent less in taxes than the average U.S. taxpayer, according to a ranking by personal finance website WalletHub.

The ranking used average national income and purchasing patterns and compared the taxes assessed in each state and Washington to calculate the ranking.

Arizona ranked 13th lowest for taxes in the country, with the average resident paying about $6,000 in state and local taxes, the ranking showed.

The state's ranking came in large part because of the lack of local income taxes and comparatively low gasoline taxes.

Arizona, for instance, has no tax on grocery store food, and was ranked low for its 18 cents per gallon state gasoline tax.

The ranking drew on information from the IRS, Census Bureau and other federal agencies and trade organizations.