Foreign Tax Credit Calculator

Work out how much of your foreign withholding tax actually becomes a usable credit. Withholding hits gross income, the credit is measured on net: find the critical margin above which recovery is complete.

Calculation parameters
Was this calculator useful?

What the foreign tax credit is

When you invoice a client abroad, in many countries that client does not pay you the full amount. They keep a percentage and hand it straight to their own treasury. It is called withholding tax at source, and your bank statement records it as a payment that arrived smaller than expected.

The theoretical consolation is that the money is not lost: your country of residence grants you a credit for taxes paid abroad, so that the same income is not taxed twice. Thousands of double taxation treaties rest on this principle, and so do most international expansion plans.

The principle is true. Its application almost never is. The credit does not equal the withholding suffered: it is capped, and the cap is computed on a different base from the one the withholding was applied to. This calculator measures exactly how much of the withholding survives that cap and becomes a usable credit, and how much stays a definitive tax.

Withholding hits gross income, the credit is measured on net

This is where the mechanism breaks, and it is a structural break, not a technicality.

Foreign withholding applies to the gross amount: the client computes a percentage of the invoice, neither knowing nor caring what it cost you to deliver the service. Invoice 200,000 with a 20% withholding and they keep 40,000. Full stop.

The credit, on the other hand, is limited to the tax your own country would have levied on that same income. And your country does not tax revenue: it taxes net income, that is revenue minus the costs that produced it. If earning those 200,000 cost you 120,000, net foreign income is 80,000, and at a 24% domestic rate the domestic tax on it is 19,200.

The credit is capped at 19,200. You suffered a withholding of 40,000. You recover less than half. The remaining 20,800 will never come back: it is not a credit to carry forward indefinitely, it is a definitive tax on income that, net, barely existed at home.

Neither administration made a mistake. Each applied its own rule correctly. The gap exists because the two rules measure different things, and the difference between the two tax bases is paid by you.

The critical margin: when recovery is mathematically impossible

From this asymmetry follows a sharp threshold, and it is worth writing down because it is the one thing to remember from this page.

Call m the margin on foreign income, that is net income divided by gross revenue. Recovery is complete only if the cap exceeds the withholding, that is if m × domestic rate ≥ withholding rate. Rearranged: recovery is full only when

margin ≥ withholding rate ÷ domestic rate

That quantity is the critical margin. With a 20% withholding and a 24% domestic rate, the critical margin is 83.3%: your costs would have to stay below 17% of foreign revenue for full recovery. Practically no service business gets there.

And there is a worse case. If the withholding rate equals or exceeds the domestic rate, the critical margin passes 100%: no margin, however high, is enough. Full recovery is impossible by construction, and the excess is lost whatever you do.

The table crosses the two rates and returns the margin you would need. Cells marked impossible are those where foreign withholding is not below domestic tax.

Foreign withholding ↓ / Domestic rate →9%15%21%25%30%
5%55.6%33.3%23.8%20.0%16.7%
10%impossible66.7%47.6%40.0%33.3%
15%impossible100.0%71.4%60.0%50.0%
20%impossibleimpossible95.2%80.0%66.7%
30%impossibleimpossibleimpossibleimpossible100.0%

Read it along the diagonal. As your country cuts corporate tax — which over the past twenty years nearly all of them have done — the critical margin rises, and foreign withholding becomes harder to absorb. A domestic rate cut is good news for home income and bad news for foreign income. The two are never announced together.

How this calculator works

Five values are needed, and none of them depends on the currency you work in: enter the amounts in yours and read the results in the same one.

Gross foreign income is the base the payer applies the withholding to, that is the invoice amount before the deduction. It is not what you received: it is what you would have received.

The foreign withholding rate is the one actually applied. Careful: it is the reduced treaty rate if you filed the residence certificate in time, otherwise it is the full domestic rate of that country, which is often double. Enter the rate on the payment receipt, not the one that ought to be there.

Allocable costs are the expenses directly connected to that income plus a reasonable share of overheads. It is the item nearly everyone underestimates, and the one that decides the outcome: the more costs you allocate, the lower the credit cap.

The domestic rate is the one your country applies to business income. Total domestic tax due is what you pay at home on all your income, foreign and domestic: it matters because the credit cannot exceed the tax you would have paid anyway.

How to read the results

The calculator returns four numbers and a judgement. Withholding suffered is the cash that left. Usable credit is how much of it comes back. Unrecoverable excess is the difference, and it is the figure no adviser will hand back to you.

The number that really matters is the fourth, withholding recovery: a percentage, hence a dimensionless value, identical in any currency and at any scale. At 100% there is no double taxation. Above 60% the situation is manageable. Between 25% and 60% you are financing a foreign administration out of your margin. Below 25% double taxation is, in substance, complete.

The written assessment also tells you which of the two caps is binding, and that is operational information: the two caps are fought in opposite ways.

The two caps: tax base and domestic tax due

The credit limit is the lower of two quantities, and knowing which one binds changes the next move entirely.

The first cap is the one we have seen: the theoretical domestic tax on net foreign income. It bites when you carry heavy costs or a thin margin. You fight it by working on cost allocation — if an expense is not genuinely connected to foreign income, booking it there shrinks your credit without shrinking any tax — and on the mix of what you sell abroad.

The second cap is the total tax due at home. It bites when you are loss-making, or when credits and deductions have already wiped out your domestic charge. It is the paradox of a great year abroad and a terrible one at home: there is no tax to offset against, and the credit is stranded. Here the margin is irrelevant, and improving cost allocation achieves nothing.

In the limiting case of a loss-making year, domestic tax due is zero, the credit is zero, and foreign withholding is entirely a cost. A bad year at home makes foreign withholding more expensive, not less. If you want the full picture of your tax burden, the effective tax rate calculator lines up all the components.

Why dividends are a special case

If you have used the dividend withholding tax calculator, you will have noticed that the margin problem never appears there. That is not a simplification: it is a property of the income.

A dividend has no allocable costs. Gross and net coincide, the margin is 100% by definition, and the critical margin is almost always satisfied. That is why withholding on dividends is nearly always recovered in full, and why the intuition investors carry around — "withholding is recoverable" — is correct in their world.

Move that same intuition onto a service fee, a software royalty or a consulting retainer, and it turns false. There, costs exist, net is a fraction of gross, and the credit collapses. Same treaty, same rate, same return: the only difference is that this time you had to incur costs to earn the income, and the system penalises you for precisely that.

What to do with the excess

When the credit has no room, the excess meets different fates depending on the jurisdiction, and it is worth knowing which before giving up.

Many countries allow the excess to be carried forward to later years, sometimes back to earlier ones. This helps only if the cap blocking you is the second one, the tax-due cap: a better year at home will absorb the excess. If instead the tax base is what blocks you, carry-forward is useless, because next year the ratio of costs to revenue will probably be the same, and the excess will pile up without ever finding room.

Some systems offer, as an alternative, a deduction of the foreign tax from taxable income rather than a credit. It is almost always worse — a deduction is worth the rate, a credit is worth one — but when the credit is zeroed out by the cap, a partial deduction can beat a nil credit. Both routes are worth computing.

The most effective lever, however, is not a filing matter: it is contractual. It is pulled before signing, and we come to it further down.

Limits of the estimate

This tool is a simplified model for educational purposes, not tax advice and not an opinion. It assumes a single foreign jurisdiction, a single category of income and one flat domestic rate.

Many systems require the cap to be computed country by country, others by income basket, others again allow blending across countries. The difference is substantial: a per-country cap prevents you from using the excess of a high-withholding jurisdiction against the unused room of a low-withholding one. The model here uses a single overall cap, which is the most favourable assumption.

It does not model cost allocation rules, which are the real battleground with the tax authority, nor progressive rates, nor the exemption regimes that in some countries replace the credit altogether. It ignores foreign levies that your own system does not recognise as income taxes, which give rise to no credit at all. Use it to understand the structure of the problem and the order of magnitude of the loss; for the return itself, consult a professional.

Why the business model decides the recovery

Two firms from the same country, with the same foreign client, the same invoice and the same 15% withholding, recover radically different amounts of tax. Not because of a tax choice, but because of how they earn.

At a 24% domestic rate the critical margin is 62.5%. Those below it lose, in proportion to how far below they are. The table takes one identical withholding and runs it through five business models.

Type of foreign incomeMargin on revenueWithholding recoveryLost (% of gross)
Hardware resale8%12.80%13.08%
On-site consulting25%40.00%9.00%
Project software development40%64.00%5.40%
Subscription SaaS75%100.00%0.00%
Pure licence or royalty95%100.00%0.00%

The same 15% levy costs the reseller 13.08% of foreign revenue and the licensor exactly zero. The reseller, who has the thinnest margin, also bears the largest tax loss: withholding strikes hardest precisely where there is least to defend with.

This explains a regularity visible everywhere in the international services trade. Licence, software-as-a-service and intellectual property contracts withstand withholding at source. Resale, people-intensive consulting and systems integration contracts do not, and whoever signs them without doing the arithmetic discovers the bill on the tax return, months after the margin has already been promised to somebody else.

The two caps in action: when more domestic tax does not help

People who discover the second cap often make the opposite mistake, concluding that all they need is more domestic tax to offset against. It does not work, because the caps are stacked and the lower one always wins.

In the table the situation is fixed: 200,000 of foreign revenue, a 20% withholding so 40,000 taken, a 60% margin and a 24% domestic rate. The tax base cap is 120,000 × 24% = 28,800, and it does not move. Only the total tax due at home changes.

Domestic tax dueEffective limitUsable creditRecoveryBinding constraint
0000.0%tax due
10,00010,00010,00025.0%tax due
28,80028,80028,80072.0%tax base
50,00028,80028,80072.0%tax base
90,00028,80028,80072.0%tax base

The last three rows tell the whole story: recovery stops at 72% and never moves again. Once past the tax base cap, every additional unit of domestic tax is irrelevant. Anyone trying to create more room when the base is what blocks them is solving the wrong problem.

The first row, by contrast, is the loss-making year: tax due zero, credit zero, withholding entirely lost. This is why a hard year at home worsens, rather than eases, the foreign tax bill.

Gross-up: the lever that works before the tax return

Everything above describes how withholding is suffered. There is, however, a way not to suffer it at all, and it goes through no tax form: it goes through the contract.

The gross-up clause obliges the payer to remit a gross amount such that the net received by the supplier is exactly the agreed figure. If the fee is 100 and the withholding is 20%, the payer books and pays 125, withholds 25 and credits you the promised 100. The cost of the withholding moves to the party that created it.

The clause is not exotic: it is standard in international financing agreements and in intellectual property licences, where no licensor accepts that its royalty be shaved by a withholding it does not control. It is instead systematically absent from services and consulting contracts, where the supplier is the weaker party and discovers the rate only at the first payment.

The practical question is what asking for it is worth. Use this calculator to estimate the unrecoverable excess: that figure, not the whole withholding, is the economic value of the clause to you. If your recovery is near 100%, gross-up is worth little and you can trade it for something else. If you are below 30%, you are leaving a tenth of the contract on the table, and a harder negotiation is worth the risk.

The residence certificate and the cost of being late

The treaty rate does not apply by itself. It applies only if, before payment, the foreign payer holds a valid certificate of tax residence, often on a specific national form, sometimes with an apostille or a sworn translation.

Without the certificate, the payer applies the full domestic rate. The difference is rarely marginal: where the treaty provides 10%, the domestic rate may be 20% or 25%. And doubling the rate, as the critical margin matrix shows, can move you from the zone where recovery is possible to the one where it is impossible by construction.

A remedy exists — the refund procedure with the foreign administration — but it is slow, costly, and in many countries carries a success rate that does not justify the effort for modest amounts. A document obtainable in a few weeks, requested after payment instead of before, can cost more than the entire year's compliance work.

The operational rule is trivial and almost always ignored: the certificate is requested when the contract is signed, not when the invoice is issued.

The same invoice in three jurisdictions

A consultant with a 40% margin and a 24% domestic rate invoices the same amount to three clients in three different countries. The first applies no withholding, the second 10%, the third 20%. For each country the critical margin is the ratio of that withholding to 24%.

In the first country there is nothing to recover and the income is taxed once. In the second the critical margin is 41.7%: with a 40% margin the consultant is just below, and loses a sliver. In the third the critical margin is 83.3%, and less than half comes back. Three identical contracts, three different net incomes, and the difference depends on nothing the consultant did or can do.

From which follows a point worth making explicit: when choosing between two foreign clients equivalent on price, the client's country is an economic variable on a par with price. A contract worth 100 in a jurisdiction with no withholding beats a contract worth 108 in one that keeps 20%, and commercial pricing almost never reflects it.

When the same group operates across several countries, the question shifts to adjacent ground: how much income may legitimately be attributed to each entity. The transfer pricing calculator tackles that problem, which is complementary to this one and just as expensive.

Mistakes that cost more than the withholding

The first is confusing net cash received with revenue. The invoice is 200,000, the credit to the bank is 160,000, and more than one set of accounts records 160,000 as revenue. Doing so loses track of the 40,000 of tax paid, no credit is claimed, and a lower income ends up declared with nothing recovered. It is the simplest way to pay twice without noticing.

The second is allocating to foreign income costs that do not belong there, out of accounting prudence or allocation laziness. Every extra cost allocated shrinks net foreign income, which lowers the credit cap, which raises the tax actually paid. It is a recklessness disguised as prudence.

The third is treating the excess as a credit and carrying it forward forever. If the tax base is what blocks you and your business model does not change, that excess will never find room: recognising it as an asset overstates it, and sooner or later somebody will have to write it down.

The fourth is failing to check that the foreign levy is recognised as an income tax by your own system. Some charges called withholding taxes are not, for credit purposes — digital services taxes, sector levies, taxes on gross turnover — and give rise to no offset at all. The credit you will not claim is, in that case, a credit that never existed.

Frequently asked questions

What is the foreign tax credit?

It is the mechanism by which your country of residence prevents the same income being taxed twice: against tax already paid abroad it grants a credit to be set off against domestic tax. The credit, however, never exceeds the limitation, and for that reason it almost never equals the withholding actually suffered.

How is the foreign tax credit calculated?

Withholding suffered = gross foreign income × withholding rate. Credit limit = the lower of (a) net foreign income × domestic rate and (b) total domestic tax due. Usable credit = the lower of withholding suffered and the limit. The excess is the difference, and it is a definitive tax unless it can be carried forward.

Why do I not recover all the foreign withholding?

Because withholding is computed on gross revenue while the credit is measured on net income. The two tax bases differ. If you have costs, net income is lower than revenue, the theoretical domestic tax on it is lower than the withholding, and the difference finds no room. It is not an error: it is the structure of the system.

What is the critical margin?

It is the ratio of the foreign withholding rate to the domestic tax rate. If your margin on foreign income (net income divided by gross revenue) reaches that value, you recover everything; below it you lose a proportional share. With a 20% withholding and a 24% domestic rate the critical margin is 83.3%.

What if the withholding rate exceeds the domestic rate?

The critical margin passes 100%, meaning no margin is sufficient. Even with zero costs the credit would stay below the withholding, and the excess would be lost. In that case the only lever is to reduce the withholding rate itself, typically by invoking the applicable treaty.

What are the two caps on the credit?

The first is the theoretical domestic tax on net foreign income: it bites when you carry heavy costs. The second is total domestic tax due: it bites when you are loss-making or have already wiped out your home charge. The credit is limited to the lower of the two, and the corrective move differs depending on which one binds.

Why is withholding on dividends almost always recovered?

Because a dividend has no allocable costs: gross and net coincide, the margin is 100% and the critical margin is almost always met. That is exactly why the intuition "withholding is recoverable", correct for investors, turns false for anyone who supplies services and incurs costs.

What happens to the unrecoverable excess?

It depends on the jurisdiction. Many countries allow it to be carried forward to later years, some also back to earlier ones. But carry-forward only solves the case where the tax-due cap blocks you: if the tax base is what blocks you, next year the cost-to-revenue ratio will be similar and the excess will pile up without ever finding room.

Is a deduction better than a credit?

As a rule no: a deduction is worth the tax rate, a credit is worth one. But when the limitation wipes out almost the whole credit, a partial deduction can beat a nil credit. If your recovery is below 25%, it is worth computing both routes before choosing.

Do allocable costs include overheads?

In most systems yes, for a reasonable share. It is the most contested item on audit. Watch the perverse effect: allocating to foreign income costs that do not belong there shrinks your credit without shrinking any tax. Allocate on a defensible basis and document the basis.

Does the calculator work in any currency?

Yes. All amounts are treated as pure numbers: enter revenue and costs in the same currency and the monetary results come out in that currency. The verdict metric — withholding recovery — is a percentage, hence dimensionless, and holds identically anywhere.

Does this tool replace a tax adviser?

No. It is a simplified model: it assumes one foreign jurisdiction, a single overall limitation and a flat domestic rate. Many systems impose per-country or per-basket limitations, which are more restrictive. Use it to grasp the structure and the order of magnitude; for the return itself, consult a professional.

Updated July 2026

Formula

W = w\,R, \qquad L = \min\!\left(t\,(R-C)^{+},\; D\right), \qquad \rho = \dfrac{\min(W,\,L)}{W}, \qquad m^{*} = \dfrac{w}{t}

Comments (0)

No comments yet. Be the first!