Decision guide
What to Compare Before You Sell an Investment
Before a sale, the most useful estimate is rarely “the tax rate on this investment.” A decision-ready comparison tests basis, holding period, other capital activity, income stacking, and possible NIIT without pretending tax is the only consequence.
9 minute read · 2026 U.S. federal tax
Test the decision
Apply rate stack and optional NIIT
- 1Calculate each transaction
- 2Net by holding period
- 3Apply rate stack and optional NIIT
How far can this estimate carry the decision?
Follow the path that matches the quality and complexity of the available facts.
- Path 1
Yes—inputs are documented and the scenario stays inside scope
Estimate is probably enoughUse it for a bounded planning comparison.
- Path 2
A material amount, date, classification, or eligibility fact is uncertain
Verify more dataResolve the fact, then rerun the same scenario.
- Path 3
The issue is disputed, specialized, or outside the model
Consider professional reviewUse current forms, instructions, or advice based on the full facts.
Compare the no-sale case with fact-specific sale cases
Use a baseline without the proposed transaction, then add the supported sale at the expected proceeds and costs. If the sale date could cross the one-year boundary, compare short-term and long-term character only if both dates are genuinely possible.
A separate downside or upside price case can show sensitivity. Do not change basis merely to match market value.
- No-sale baseline
- Expected proceeds and correct current holding period
- Plausible price case or later-date holding-period case
Basis, carryovers, and the income stack can dominate the result
A basis error flows directly into gain or loss. A carryover can absorb gains before a rate applies. Existing ordinary income and qualified dividends determine which preferential ranges remain.
For NIIT, small changes around the MAGI threshold can change the separate estimate. Review that layer independently from regular capital-gain tax.
Three scenarios worth separating
Each column changes a distinct planning assumption so the cause of movement stays visible.
No-sale baseline
- Change
- Exclude proposed transaction
- Use
- Establish current federal tax
Expected sale
- Change
- Use supported basis and proceeds
- Use
- Measure transaction impact
NIIT sensitivity
- Change
- Compare supported NIIT inputs
- Use
- Separate the additional-tax layer
Stop short of calling the lowest-tax scenario the best sale
Holding an asset longer changes market exposure, diversification, liquidity, and the risk that price moves before sale. TaxArith models none of those consequences.
Use form-level guidance or professional review for uncertain basis, wash sales, special-rate property, business assets, installment transactions, home sales, concentrated positions, or material NIIT uncertainty.
Data-readiness signals
Use the three lanes to decide whether to compare, verify, or widen the review.
Ready to compare
- Basis and selling costs are documented
- Holding period is confirmed
- Carryover character is reconciled
Verify first
- MAGI or NII is provisional
- Sale date may cross one year
- Broker basis is incomplete
Widen the review
- Special-rate or business property
- Wash sales, installment sale, home exclusion, or AMT
Before you use the estimate
- Gather acquisition and sale records plus basis adjustments.
- Confirm holding period and carryover character.
- Include other gains, losses, and qualified dividends.
- Evaluate NIIT and non-tax consequences separately.
Where this estimate stops
- The calculator does not recommend whether or when to sell.
- The estimate excludes portfolio outcomes, future tax, and special transaction rules.
Sources and references
Only the primary federal sources used for the rules discussed in this guide are listed here.
- Revenue Procedure 2025-32
Internal Revenue Service · The inflation-adjusted 2026 ordinary brackets, standard deductions, preferential-rate thresholds, and other indexed amounts used by the applicable calculation.
- Topic No. 409, Capital Gains and Losses
Internal Revenue Service · General capital gain and loss character, netting, the annual capital-loss deduction, and carryover treatment.
- Publication 550, Investment Income and Expenses
Internal Revenue Service · Investment income, basis, holding-period, capital netting, and wash-sale concepts discussed in the guide.
- Net Investment Income Tax
Internal Revenue Service · The separate 3.8% NIIT framework and MAGI-threshold concept used by the optional estimate.
TaxArith provides illustrative 2026 U.S. federal tax estimates for general information. It is not tax, legal, financial, or investment advice and does not prepare or file a return. Results depend on the accuracy and completeness of the submitted facts.