Capital gains tax on a $40,000 gain in the US, 2026
Capital gains tax on a $40,000 gain in 2026 is $0 with no other income and $5,168 with $60,000 of other income.
Worked out for a single filer who held the asset for more than 12 months, sold in 2026, with no losses. Federal tax only, including the net investment income tax where it applies; state tax is not included.
| Other income in the year | Federal tax, held over 12 months | Gain kept | Tax as a share of the gain | Federal tax, held 12 months or less |
|---|---|---|---|---|
| $0 | $0.00 | $40,000.00 | 0% | $2,620.00 |
| $20,000 | $0.00 | $40,000.00 | 0% | $4,630.00 |
| $40,000 | $2,167.50 | $37,832.50 | 5.4% | $6,150.00 |
| $60,000 | $5,167.50 | $34,832.50 | 12.9% | $8,150.00 |
| $100,000 | $6,000.00 | $34,000.00 | 15% | $9,164.00 |
| $150,000 | $6,000.00 | $34,000.00 | 15% | $9,600.00 |
Nearby gains: $30,000 gain · $50,000 gain · £40,000 gain in the UK
2026 tax year rates, checked 2026-11-15. Sources: IRS Revenue Procedure 2025-32: 2026 tax rate tables, standard deduction and maximum capital gains rate amounts, IRS news release IR-2025-103: tax inflation adjustments for tax year 2026, IRS Topic 751: Social Security and Medicare rates and the 2026 wage base, IRS Topic 560: Additional Medicare Tax rate and thresholds, IRS news release IR-2025-111: 2026 401(k) elective deferral limit, IRS Topic 409: capital gains holding period, IRS Topic 559: net investment income tax rate and thresholds.
With JavaScript on, this page is the TakeHome calculator set to a $40,000 gain: change any input and the result updates. Or open TakeHome, or browse all apps on OnePassApps.
These figures are an estimate, not tax advice.