Most Americans file returns for both state income tax and federal income tax. You can do that through H&R Block or TurboTax – both of which offer free tax filing for eligible taxpayers – or an accountant.

Nearly everyone is subject to federal income taxes. How much you pay depends on how much you earn, also known as your tax bracket.

When it comes to state income tax, the amount you pay varies depending on where you live. Seven US states have no state income tax – Alaska, Florida, Nevada, South Dakota, Texas, Washington, and Wyoming. New Hampshire and Tennessee don’t have a state income tax either, but they do tax interest and dividends at 5% and 6%.

The rest of the states either have a flat income tax – meaning everyone, regardless of how much they earn, pays the same percentage of their income to the government – or a progressive income tax, which means the tax rate is determined by income.

Among the 41 states that tax income, North Dakota has the lowest maximum rate at 2.9%. California is the only two state with double-digit tax rate for the highest earners, topping out at 13.3%.

After you file your tax return, you may get a state tax refund or a federal tax refund – or both. The IRS says the fastest way to get your tax refund is the method already used by most taxpayers: filing electronically and selecting direct deposit as the method for receiving your refund.

Below, we’ve created a ranking of states from the highest state income tax rate to the lowest income tax rate. For states that have a range of tax rates based on income, we used the highest rate to determine the ranking.