IRS doesn’t calculate your withholding, you (and your employer) do. If you end up owing money at the end of the year, you probably failed to properly update your W4. For example, my employer only withholds 22% on RSU grants. It’s my responsibility to update my W4 to withhold extra from my regular pay to compensate, or make estimated quarterly tax payments.