For a part-year resident ....All your income for the entire year is included on the form D-400 down to line 12. Then line 13 is a decimal multiplier that reduces the taxable income by the % of total taxable income income that was earned in NC, to produce an effective NC taxable income on line 14......and that is the taxable income that the ~5% NC tax is applied to.
The multiplier on lien 13 depends on you going thru and assigning the proper $$ as being NC income, or not NC income, during the NC interview.
BUT..I suspect you haven't gone thru the NC interview to do the Income allocations yet...or have not done them properly since the tax you see does seem to be too much.
Run thru the entire NC interview again> when you get to the income allocations boxes, you enter the sub-portion of Fed income that was NC income in the "North Carolina Resident" column. The "North Carolina Income While nonresident" is usually all zero's
............(Unless you had income produced in NC after you moved out...normally that last column is just for people who had a rental property in NC after leaving)
Thus late year mutual fund distributions tend to go with one state or another.
Then it looks correct: 864 divided by 17,000 equals 5%.
North Carolina state income tax rate table for the 2018 - 2019 filing season
has one income tax bracket or a flat NC tax rate of 5.499% for
Single, Married Filing Jointly, Married Filing Separately, and Head of Household statuses.