Federal capital gains tax
How much additional federal tax could selling this investment create this year?
Enter one ordinary stock or ETF trade: buy/sell prices, shares, holding period and other ordinary income. Use advanced mode for adjusted costs or other capital gains and losses.
Example inputs
- Tax year
- 2026 · Usually filed in 2027
- Cost per share when buying
- $100
- Price per share when selling
- $150
- Number of shares sold this time
- 100 shares
- How long have these stocks been held?
- More than 1 years
Example: Increase/decrease in federal taxes on this transaction · $750.00
Demonstration only, not current terms or your eligibility. Other inputs use the form’s example settings.
Your inputs
Your result
Example · 2026 tax year estimateEstimated increase in federal taxes from this transaction
2026 tax year|Single ordinary securities transaction
Some taxes are not included: state taxes, AMT, and special securities rules; tax reduction does not equal IRS guaranteed cash refund.
Profit from this transaction $5,000.00, estimated federal tax increase of $750.00; no state tax reduction.
Estimate, not a completed tax return
Key figures
- Transaction pretax profit and loss
- $5,000.00
- Federal after-tax transaction profit and loss
- $4,250.00
- NIIT Increment
- $0.00
- Holding-period classification
- Long term · More than one year
Result analysis
- pretax profit and loss
- $5,000.00
- Ordinary income tax changes
- $0.00
- Long-term/dividend preferential tax changes
- -$750.00
- NIIT changes
- $0.00
- Federal after-tax profit and loss
- $4,250.00
Calculate the tax difference based on pre-transaction income, costs and holding period; profit cannot be multiplied by the ordinary marginal tax rate.
Show calculation details
- This transaction pretax profit and loss
- $5,000.00
- Ordinary income tax changes
- $0.00
- Long-term/dividend preferential tax changes
- $750.00
- NIIT Increment
- $0.00
- Net capital loss deducted against ordinary income this year
- $0.00
- Remaining loss carry forward reference
- $0.00
- Net short-term gains
- $0.00
- Net long-term gains
- $5,000.00
- Cost of this transaction
- $0.00
- Federal after-tax profit and loss for this transaction
- $4,250.00
Calculation basisFormula, assumptions & scope
The inter-temporal net amount is deducted first; the short-term positive net amount is subject to ordinary tax brackets, and the long-term positive net amount is stacked with qualified dividends and is subject to 0%/15%/20%; then the NIIT tax difference is calculated
- 2026 Simplified model of ordinary securities in the tax year; negative values are model tax reductions, not guaranteed refunds. Loss carryforward amounts do not replace the Schedule D short-term/long-term classification worksheet.
- Does not include state taxes, AMT, collectibles, home sale exclusions, unrecaptured depreciation, or special rules for securities. The input should have completed cost and wash sale adjustments.
- NIIT uses the entered pre-transaction MAGI and net investment income, comparing only the change brought about by the net capital amount.
2026 tax year; long-term single ordinary securities pro forma calculation, excluding state taxes, other transactions or wash sale adjustments.
IRS: 2026 Ordinary tax brackets and capital gains thresholds
IRS: Common Security Costs and Holding Period
Inputs used for this calculation
- Tax year
- 2026 · Usually filed in 2027
- How to fill in a transaction?
- A common stock/ETF transaction
- Tax filing status
- Single
- Cost per share when buying
- 100 USD
- Price per share when selling
- 150 USD
- Number of shares sold this time
- 100 shares
- How long have these stocks been held?
- More than 1 years
- In addition to this transaction, how much ordinary income will there be this year?
- 100000 USD
- How to fill in the holding time?
- Directly select the holding period limit
- The purchase fee allocated to the number of shares sold this time
- 0 USD
- Cost of this sale
- 0 USD