Let's assume that in the beginning of the year a person lived and worked in one state and then relocated to another state. For simplicity, in total the person earned 200k and it is evenly distributed (100k was earned while the person was in state CA and 100k in state IL).
If I understood correctly, this person will pay federal tax on 200k and then they have to pay taxes to each state just on 100k. Is this right?