Can you get a message saying you owe federal before filling in all your w2 then end up with a federal refund?

If I do owe money, how do I find out the amount I owe?