Free Excel Templates

Form 1042-S Withholding Calculator (Excel)

An unlocked Excel calculator for accounts payable: enter each payment to a foreign payee and read the withholding rate, the tax, the net payment, the gross-up when you bear the tax, the suggested Form 1042-S codes and the deposit test.

Before a payment to a foreign person goes out, accounts payable needs three answers: what rate applies, how much tax to withhold, and what goes on the Form 1042-S. This calculator answers them for up to 15 payments. It applies 30 percent by default, the treaty rate claimed on a valid form, 14 percent for qualifying scholarships and the chapter 4 rate for undocumented entities, applies the tax once, grosses up a payment when the agent bears the tax and tests the deposit thresholds, with checks that must read zero.

Get the Excel calculator

One unlocked Excel workbook, zero macros. Free: enter your email address and the download opens at once, along with the other free models.

Form_1042S_Withholding_Calculator.xlsx (20 KB)

You join the reader list: one email when a new free model or book comes out. Unsubscribe in one click. Already subscribed? Enter the same address. How your address is used.

The handbook behind this calculator

This calculator is the payment-by-payment core of the eleven-tab workbook in The Nonresident Withholding Handbook, which follows one withholding agent through a year of payments to foreign persons: FDAP and source, Forms W-8 and W-9, treaty claims, chapter 4, royalties, interest, dividends, services and scholarships, the quarter-monthly deposits, Forms 1042-S and 1042, penalties and corrections.

Paperback PDF edition, $19.99 Book page and full workbook

What is inside the workbook

README
What the file does, how to use it in four steps, the rules applied (simplified on purpose) and the limits.
Calculator
The settings in blue (company name, the 30 percent statutory rate, the 14 percent scholarship rate, the $2,000 and $200 deposit thresholds, tax already undeposited in the period) and 15 payment lines: payee name and type, income type, documentation status, treaty rate claimed, chapter 4 status, gross amount and whether the agent bears the tax. For each line it returns the scope, the chapter 3 and chapter 4 rates, the rate applied, the chapter for box 3, the tax withheld or borne, the net payment, the grossed-up amount, the Form 1042-S gross income and the suggested codes, then totals and the deposit test.
Lists
The dropdown values to update each year: income types with their suggested income code and scope, documentation statuses, chapter 4 statuses and whether each triggers chapter 4 withholding, and payee types.
Checks
6 control tests (lines with an amount but no income type, negative amounts, treaty rates above the statutory rate, tax and net payment arithmetic), then a tie-out of each Example Co. result to a written constant. The total counts the exceptions and must read zero.

The prefilled example

The file opens with Example Co., an illustrative company whose every name and amount is invented and which is not the book's case. It uses 12 of the 15 lines: royalties under a treaty claim and without one, independent services performed in the United States, a direct dividend, a scholarship to a visa holder, film royalties paid to an undocumented entity, portfolio interest, services performed entirely outside the United States (out of scope), a royalty on which the agent bears the tax, industrial royalties covered by a Form W-8ECI, interest paid to a passive NFFE that gives no owner information and a prize. Clear the blue cells, keep the formulas, and enter your own payments.

How to use it before a payment run

  1. Save a copy, then delete the Example Co. lines.
  2. For each payment, pick the payee type, income type, documentation status and chapter 4 status from the lists, and type the gross amount and the treaty rate claimed on the form, if any.
  3. Mark yes in the last input column only if your organization pays the tax from its own funds instead of withholding it: the line then shows the grossed-up amount and the tax on it.
  4. Enter any tax already withheld and not yet deposited in the same quarter-monthly period to run the deposit test.
  5. Read the Checks tab, then the rate, tax and suggested codes on each line, and confirm every code against Appendix A of the current Form 1042-S instructions.

For the treaty rates behind the rate column, read W-8BEN withholding rates by country; for the forms and codes, the Form 1042-S filing requirements; for the deposit test, the Form 1042 deposit rules.

The calculator does not determine source, validate a form, test the limitation on benefits article, track dates across a year, build a deposit schedule or reconcile Form 1042. Wages paid to employees follow graduated withholding and are out of its reach. Rates, thresholds and codes reflect the rules as read in November 2026. A screening aid, not a return. Education only, not tax, legal or investment advice.

Questions practitioners ask

What does the Form 1042-S withholding calculator compute?

For up to 15 payments to foreign payees it returns whether each payment is in scope of chapter 3, the chapter 3 and chapter 4 rates, the rate applied (the tax is applied once), the tax, the tax withheld or borne by the agent, the net payment, the grossed-up amount when the agent bears the tax, the Form 1042-S gross income, a suggested income code and chapter 3 exemption code, and a deposit test on the $2,000 quarter-monthly and $200 monthly thresholds.

Does it check the treaty rate?

No. It applies the treaty rate claimed on the form, never above the 30 percent statutory rate. It does not read the treaty, test the limitation on benefits article or validate the form: confirm the article, any protocol and the documentation yourself.

Can it build a deposit schedule or a Form 1042?

No. It does not track dates across a year, so it tests one quarter-monthly period at a time. The eleven-tab workbook of the book builds the full deposit schedule and the Form 1042 reconciliation.

Are the suggested Form 1042-S codes final?

No. Only codes listed in the 2026 Form 1042-S instructions are suggested; anything else reads confirm in Appendix A. The code that fits a borderline payment is a judgment for the people who sign the return.