This question points out the familiar but bizarre mechanism that tax withholding uses: every paycheck is extrapolated to the year, tax is computed on that amount, and tax is withheld for the fraction of the year that the pay period covers. Bonuses, for example, may receive very high withholding, leading to excess tax being withheld and returned to the recipient far in the future.
On the other hand tax could be withheld based on cumulative income on the cumulative pay period. That is, starting at the start of the year or the start of payroll within the year, each pay period adds to the cumulative pay period and each paycheck adds to the cumulative income. The cumulative income is extrapolated to the year based on the cumulative pay period, as is currently done with a single paycheck and a single pay period, to compute an estimated income. The estimated income gives an estimated annual tax, which is scaled down to the fraction of the year that the cumulative pay period covers to determine a cumulative tax amount. The amount withheld from your paycheck is the cumulative tax amount amount minus the cumulative withholding in all previous pay periods.
The result of this scheme is withholding goes up and down to target the correct tax rate throughout the year. If you get a bonus it averages in with your past paychecks, and future pay checks further smooth it out.
Is there any reason why withholding is so primitive and doesn't use a cumulative method like the one described above?
There's been some confusion about the cumulative scheme above. Say you are paid every 2 weeks. The tax scheme is 25% of income from $50k to $100k and 50% of your income above $100k. In the first pay period you get paid $3k, in the second $5k, and in the third $4k.
status quo
paycheck 1:
- paycheck: $3k
- estimated income: $3k * 26 = $78k
- estimated tax: $7k
- withholding: $7k / 26 = $269
paycheck 2:
- paycheck: $5k
- estimated income: $5k * 26 = $130k
- estimated tax: $27,500
- withholding: $27,500 / 26 = $1058
paycheck 3:
- paycheck: $4k
- estimated income: $4k * 26 = $65k
- estimated tax: $14,500
- withholding: $14,500 / 26 = $558
total paid: $1,885
cumulative
paycheck 1:
- cumulative pay period: 2 weeks
- cumulative income: $3k
- estimated income: $3k * 26 = $78k
- estimated tax: $7k
- cumulative tax: $7k / 26 = $269
- withholding from this paycheck: $269
paycheck 2:
- cumulative pay period: 4 weeks
- cumulative income: $8k
- estimated income: $8k * (26/2) = $104k
- estimated tax: $14,500
- cumulative tax: $14,500 / (26/2) = $1,115
- withholding from this paycheck: $1,115 - $269 = $846
paycheck 3:
- cumulative pay period: 6 weeks
- cumulative income: $12,000
- estimated income: $12,000 * (26/3) = $104k
- estimated tax: $14,500
- cumulative tax: $14,500 / (26/3) = $1,673
- withholding from this paycheck: $1,673 - $1,115 = $558
total paid: $1,673