Free Tax Calculator · 2026
US Capital Gains Tax Calculator 2026
Estimate your 2026 capital gains tax at 0%, 15% or 20%, plus the 3.8% Net Investment Income Tax — and see how much US tax still survives your foreign tax credits if you live in the UK.

Enter net gains after selling costs. The exclusion is capped at the 2026 maximum of $132,900.
Your 2026 estimate
US tax on your gains
$34,560
Total 2026 federal tax including other income: $52,130
Estimate for tax year 2026 using the rates in IRS Revenue Procedure 2025-32 and the standard deduction. Federal tax only — it excludes state tax, the alternative minimum tax and the 28% collectibles rate. The UK comparison uses 2026/27 capital gains tax rates and assumes the gain is taxable in the UK and creditable against US tax, which depends on sourcing and on the treaty position for your circumstances. Not personal advice.
Free download
Get your results as a branded PDF
Enter your details to download a TaxYork-branded PDF of your estimate. A specialist can then help you plan.
How the US Capital Gains Tax Calculator works
This US capital gains tax calculator follows the order the Schedule D worksheet uses. It starts with your ordinary income, subtracts the 2026 standard deduction for your filing status, and treats short-term gains as ordinary income taxed at your normal rate. Long-term gains then stack on top of that figure, which is what determines whether they fall in the 0%, 15% or 20% band.
That stacking is the part most people get wrong. The preferential rates are set by your total taxable income, not by the size of the gain, so a $60,000 gain can be taxed entirely at 0% for one household and entirely at 20% for another. Finally the calculator adds the 3.8% Net Investment Income Tax where your modified adjusted gross income crosses the threshold for your status.
The 2026 rates in full
For 2026 the 0% rate on long-term gains applies to taxable income up to $49,450 for single filers, $98,900 for joint filers, $66,200 for heads of household and $49,450 for married filing separately. The 15% rate then runs to $545,500, $613,700, $579,600 and $306,850 respectively, with 20% above those points. The standard deduction is $16,100 for single filers, $32,200 for joint filers and $24,150 for heads of household.
Why the 3.8% surtax matters more than the headline rate
The Net Investment Income Tax applies at 3.8% to the lesser of your net investment income and the excess of your modified adjusted gross income over $200,000 for single filers, $250,000 for joint filers or $125,000 for married filing separately. Those thresholds sit in the statute and are not indexed for inflation, so they catch more households every year while the income tax brackets move up around them. For a top-rate taxpayer the real rate on a long-term gain is therefore 23.8%, not 20%.
The trap for Americans abroad: the exclusion comes back
This is the point no mainstream calculator models, and it costs real money. For section 1411 purposes your modified adjusted gross income is your adjusted gross income increased by the amount excluded under section 911, net of any deductions disallowed because of the exclusion. In other words, the Foreign Earned Income Exclusion that removes your salary from US income tax is added straight back when the 3.8% threshold is tested.
Consider an American in London excluding the full $132,900 for 2026, with $40,000 of other US-taxable income and a $60,000 gain. On the face of the return the income looks modest. For the surtax the calculation uses $232,900, which is over the $200,000 threshold, so the 3.8% bites on the excess. Tick the box above and the calculator isolates exactly how much of your NIIT exists only because of the add-back.
Foreign tax credits do not touch the surtax
The second half of the problem is that relief which works everywhere else fails here. Foreign income tax credits under sections 27(a) and 901(a) may not be used to reduce your NIIT liability. The credit operates against chapter 1 tax, while the surtax sits in chapter 2A, and the two do not meet.
The practical consequence for a US citizen in the United Kingdom is stark. You pay UK capital gains tax at 24% on the disposal. That credit is usually more than enough to extinguish the US income tax on the same gain, so the return shows nothing due on the income tax line. The 3.8% survives in full and has to be paid in cash to the IRS on a gain that has already borne 24% in the UK. The calculator shows that residue as a separate figure because it is the number that actually leaves your bank account.
There is an alternative worth modelling in the right year. Electing to deduct foreign income taxes rather than credit them can allow some or all of that deduction against net investment income, which shrinks the NIIT base. It is rarely the better answer overall because you surrender a credit worth more against regular tax, but in a year dominated by a single large gain it can be.
What the United Kingdom charges on the same gain
For 2026/27 the United Kingdom charges capital gains tax at 18% within the basic rate band and 24% above it, after an annual exempt amount of £3,000. Residential and non-residential rates are now aligned, so a buy-to-let and a share portfolio are charged identically. Gains stack above income, so anyone earning more than £50,270 pays 24% on essentially the whole gain.
Sourcing is where cross-border planning is won or lost. Section 865 generally sources a gain on personal property by reference to the residence of the seller, and a US citizen may be treated as a US resident for that purpose, which leaves the gain US-source and the foreign tax credit with nothing to bite on. The treaty can re-source the gain so that relief works, but it is a position that must be claimed deliberately and disclosed properly rather than assumed.
Before you sell
Large disposals reward planning and punish improvisation. The holding period, the tax year the disposal falls in, whether losses are realised alongside it, which country taxes it first, and whether you have genuinely broken state residency all move the final figure by more than the rate itself. Because tax on gains is not withheld, the liability is also due through quarterly estimated payments, and a well-advised sale funds that at the point of sale rather than discovering it the following April.
Common Questions
US Capital Gains Tax Calculator — FAQs
What are the capital gains tax rates for 2026?
+
Long-term gains on assets held for more than a year are taxed at 0%, 15% or 20% depending on your taxable income. For 2026 the 0% rate applies up to $49,450 of taxable income for single filers and $98,900 for joint filers, the 15% rate runs to $545,500 and $613,700 respectively, and the 20% rate applies above that. Short-term gains on assets held for a year or less are taxed as ordinary income at rates up to 37%.
How is the difference between short-term and long-term treated?
+
The holding period is measured from the day after you acquire the asset to the day you dispose of it. More than one year makes the gain long-term and eligible for the preferential 0%, 15% and 20% rates. One year or less makes it short-term, taxed at your ordinary income rate. For a top-bracket taxpayer the difference between 37% and 20% on the same profit is substantial, so a disposal falling a few days either side of the anniversary is worth checking before you sell.
What is the Net Investment Income Tax?
+
The Net Investment Income Tax is a 3.8% charge under section 1411 on the lesser of your net investment income and the amount by which your modified adjusted gross income exceeds a threshold. The thresholds are $200,000 for single and head of household filers, $250,000 for joint filers and $125,000 for married filing separately. They are set in the statute and are not adjusted for inflation, so more taxpayers are caught every year.
Does the Net Investment Income Tax apply if I live abroad?
+
Yes. US citizens and resident aliens are subject to it wherever they live; only nonresident aliens are outside its scope. This surprises many Americans overseas, who reasonably assume that living and paying tax in another country removes them from a tax badged as a domestic health-care levy. It does not.
Does the Foreign Earned Income Exclusion keep me under the NIIT threshold?
+
No, and this is the trap this calculator is built to show. For section 1411 purposes your modified adjusted gross income is your adjusted gross income increased by the amount excluded under section 911, net of any disallowed deductions. The excluded salary is therefore added straight back when the threshold is tested. Someone excluding the full $132,900 for 2026 can appear to have modest US income yet still be pushed over $200,000 and taxed at 3.8% on their gains.
Can I use foreign tax credits against the Net Investment Income Tax?
+
Generally no. Foreign income tax credits under sections 27(a) and 901(a) may not be used to reduce your NIIT liability, because the credit operates against chapter 1 tax while the NIIT sits in chapter 2A. This is the single most important point for Americans in the UK: you can pay UK capital gains tax at 24%, wipe out your US income tax on the same gain with the credit, and still owe the 3.8% in full. Some taxpayers have argued for treaty-based relief, but that is a position to take advice on rather than assume.
Can I deduct foreign taxes instead of crediting them?
+
You can. Where you elect to deduct foreign income taxes rather than claim them as a credit, some or all of that deduction may be allowed against net investment income, which reduces the NIIT base. The trade-off is that you lose the credit against your regular US income tax, which is usually worth far more. Modelling both routes is worthwhile in a year with large gains and little other foreign tax.
How much UK capital gains tax would I pay on the same disposal?
+
For 2026/27 the UK charges capital gains tax at 18% on gains falling within the basic rate band and 24% above it, after the annual exempt amount of £3,000. The residential and non-residential rates are now aligned, so the same figures apply to a rental property and to a share portfolio. Gains stack on top of your income, so a higher-rate earner pays 24% on effectively the whole gain.
Do I pay tax twice if I am American and live in the UK?
+
Both countries can tax the same gain, but relief is available so that you are not left paying the full amount twice. In broad terms the foreign tax credit lets the US tax on the gain be reduced by the UK tax paid on it. Because UK rates on gains are usually the higher of the two, the credit often covers the US income tax in full. The residue that survives is the 3.8% NIIT, which no credit reaches.
Which country taxes the gain first?
+
Order matters for the credit. Where the UK has the primary taxing right, UK tax is paid first and then credited against the US liability on the same income. Sourcing rules complicate this for share sales, because section 865 generally sources gains on personal property by the residence of the seller, and a US citizen can be treated as a US resident for that purpose. The treaty can re-source the gain so the credit works, but that is a filing position that needs to be taken deliberately.
How do capital losses reduce the bill?
+
Losses offset gains of the same kind first, then the other kind. Where losses exceed gains, up to $3,000 a year ($1,500 if married filing separately) can be set against ordinary income, and anything left is carried forward indefinitely. This calculator applies losses to short-term gains first because those are taxed at the highest rate, then to long-term gains, and shows any carryforward separately.
What is the wash sale rule?
+
If you sell at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the loss is disallowed and added to the basis of the replacement holding. It is deferred rather than lost. Americans in the UK need to watch this alongside the UK bed-and-breakfasting rules, which work on a similar 30-day principle but with different mechanics, so a trade can fall foul of one regime and not the other.
What is unrecaptured section 1250 gain?
+
When you sell a rental property, the part of the gain that reflects depreciation you claimed is taxed at ordinary rates capped at 25%, rather than at the normal long-term rates. It is a common and expensive surprise for landlords who expected 15% or 20% across the whole gain. Entering the depreciation figure in this calculator applies the cap correctly rather than assuming a flat 25%.
Can I exclude the gain on selling my home?
+
Section 121 lets you exclude up to $250,000 of gain, or $500,000 on a joint return, where you have owned and used the property as your main home for two of the previous five years. It applies to a home abroad as well as one in the United States. The wrinkle for Americans in the UK is that the UK gives full relief on a main residence through private residence relief, so the US exclusion may cap out and leave a taxable US gain on a property that is entirely free of UK tax, with no foreign tax to credit against it.
Do exchange rate movements create a taxable gain?
+
They can. Gains are computed in dollars, so the basis and the proceeds are each translated at the rate on the relevant date. A property bought when sterling was strong and sold when it was weak can produce a dollar gain that looks nothing like the sterling profit, and occasionally a dollar gain on a sterling loss. Where a foreign currency mortgage is repaid, a separate section 988 gain can also arise.
Are qualified dividends taxed at the same rates?
+
Yes, qualified dividends are taxed at the same 0%, 15% and 20% rates as long-term capital gains and stack in the same way. Dividends from UK companies are generally qualified because of the US-UK treaty. They also count as net investment income for the 3.8% charge, so a portfolio of UK shares can generate a NIIT liability without any disposal at all.
Do I pay state tax on capital gains as well?
+
Possibly, depending on the state and on whether you have genuinely broken residency. Most states tax gains as ordinary income and a handful do not tax them at all. Moving abroad does not automatically end state residency, and the sticky states will keep taxing you until you can demonstrate a change of domicile. Anyone planning a large disposal after leaving the United States should settle their state position before the sale, not after.
When do I have to pay the tax on a large gain?
+
Tax on gains is not withheld, so it is paid through quarterly estimated payments. A significant disposal can create an underpayment penalty even where the return itself is filed and paid on time. Americans abroad are caught by this more often than most, because their income tax is usually covered by the exclusion or by credits and they have no habit of making estimated payments, yet the NIIT on a gain has to be funded in the quarter it arises.
Get in Touch
Ready to get
your US taxes
sorted?
Whether you need help with IRS Streamlined filings, annual US tax returns, or cross-border tax planning — our team is here for you.
View Contact DetailsSend us a message
Powered by Next Source AI Ltd