Capital Gains Tax Calculator
Total federal tax (income tax plus NIIT)
7,187.50 USD
Capital Gains Tax Calculator
Federal income tax (Form 1040 line 16)
7,187.50 USD
Net investment income tax (3.8%)
0.00 USD
Extra federal tax caused by the gains
2,167.50 USD
Holding period of the entered sale
No sale entered
Gain or loss on the entered sale
0.00 USD
Gain excluded under section 121
0.00 USD
Net long-term gain after exclusion
20,000.00 USD
Net short-term gain
0.00 USD
Overall net capital gain or loss (Schedule D line 16)
20,000.00 USD
Capital loss deducted this year
0.00 USD
Capital loss carried forward
0.00 USD
Adjusted gross income
80,000.00 USD
Standard deduction
16,100.00 USD
Taxable income
63,900.00 USD
Net capital gain inside taxable income
20,000.00 USD
Ordinary portion of taxable income
43,900.00 USD
Tax on the ordinary portion
5,020.00 USD
Gain taxed at 0%
5,550.00 USD
Gain taxed at 15%
14,450.00 USD
Gain taxed at 20%
0.00 USD
Tax on the long-term gain (15% and 20% bands)
2,167.50 USD
Worksheet: ordinary tax plus gain tax
7,187.50 USD
Worksheet: tax on all taxable income as ordinary
8,770.00 USD
Total federal tax rounded to whole dollars
7,188 USD
Worked out from IRS Rev. Proc. 2025-32: 2026 rate tables (section 4.01), maximum zero and 15% rate amounts (section 4.03), standard deduction (section 4.14) and 7 other sources.
Federal only, standard deduction only. State tax, itemized deductions, qualified dividends, AMT and the 25% (unrecaptured section 1250) and 28% (collectibles) rates are not included.
For taxable income under $100,000 the IRS Tax Table, which uses $50 ranges, can differ from this exact figure by up to about $3.
A federal estimate using the standard deduction only. It leaves out state tax, itemized deductions, qualified dividends, AMT, the 25% and 28% special-rate gains and the IRS Tax Table's $50-range rounding. Confirm with a tax professional before acting.
How this is worked out
6 steps
- AGI = 60000 + 20000 = 80000; taxable income = AGI - 16,100 standard deduction = 63900
- Net capital gain inside taxable income = 20000; ordinary portion = 43900
- Tax on the ordinary portion from the 2026 schedule = 5020
- Stack the gain: 5550 up to the 49,450 breakpoint at 0%; 14450 up to 545,500 at 15%; 0 above at 20% = 2167.5
- Worksheet: lesser of 5020 + 2167.5 = 7187.5 and the tax on all 63900 as ordinary income, 8770 -> income tax 7187.5
- NIIT = 3.8% x lesser of net investment income 20000 and MAGI 80000 - 200,000 = 0
Results are general information, not financial, tax, legal, medical or engineering advice.