Determine basis and holding period before choosing a 2026 rate band
The calculator needs a net long-term capital gain, not sale proceeds. Basis can include purchase cost and supported adjustments; selling costs and prior events may also matter. A holding period generally distinguishes short-term amounts, which join ordinary income, from long-term amounts eligible for preferential treatment. The tool cannot reconstruct lots, wash sales, inherited basis, gifts, options, or partnership adjustments. Use the stock calculator for a simple purchase-and-sale profit check, then carry only a tax-classified amount into this 2026 federal model. IRS records and broker forms remain the evidence.
Stack preferential income rather than multiplying it by one flat percentage
The 2026 zero-, fifteen-, and twenty-percent long-term gain regions are ceilings for taxable income by filing status. Ordinary taxable income consumes the lower space first; qualified dividends and net long-term gains then fill the remaining preferential bands. That is why two taxpayers with the same gain can receive different modeled tax. The federal tax calculator can establish an ordinary-income baseline, while the income tax calculator is better when the result must be combined with other federal taxes, credits, and payments.
Use the state selector as a sensitivity check, not a state return
Most states include capital gains in taxable income and apply regular state income-tax rules, but one percentage cannot reproduce a graduated state return. The selector therefore loads a visible, editable 2026 top-rate planning preset for every state and the District of Columbia. Local income taxes are not included. The presets were reviewed on August 10, 2026 against current state-rate references and special-rule guidance; a taxpayer-specific marginal rate from a current state worksheet or qualified adviser should replace the preset when available.
Several labels intentionally call out special treatment. Arkansas, North Dakota, South Carolina, and Wisconsin presets reflect generally available long-term-gain percentage exclusions. Missouri starts at zero only for qualifying federally reported individual capital gains. Washington uses its top separate capital-gains-tax tier, but the calculator does not apply Washington's annual deduction, lower tier, asset exclusions, sourcing rules, or general real-estate exclusion. Maryland, Massachusetts, and Minnesota show high-income top scenarios that can include a surtax. Review the 2026 state income-tax rate baseline and the selected state's current instructions before relying on the state row.
Run the NIIT test on its own confirmed base
Net Investment Income Tax is not simply 3.8 percent of every capital gain. It applies to the lesser of net investment income or modified adjusted gross income above the filing-status threshold when the statutory conditions are met. This calculator therefore requires confirmed MAGI and net-investment-income inputs rather than deriving them from the sale alone. It does not decide whether an activity is passive, whether an item is excluded, or how investment expenses enter the base. Because confirmed total net investment income can include more than this sale, the result keeps NIIT as a separate return-level component and does not subtract the whole NIIT line from this gain in the remaining-income legend.
Reserve special gains and losses for their governing worksheets
Collectibles, unrecaptured section 1250 gain, qualified small-business stock, installment sales, depreciation recapture, wash sales, capital-loss carryovers, business property, residence exclusions, state tax, and foreign transactions may follow other rules. Filing status and basis eligibility are user-confirmed facts. Save the 2026 threshold source, basis schedule, holding-period evidence, ordinary taxable-income baseline, and NIIT assumptions. This article explains a bounded educational calculation; it is not individualized investment, tax, accounting, or legal advice and cannot determine whether or when an asset should be sold.
Follow a worked example from gain to the result legend
Suppose a single filer enters $60,000 of ordinary taxable income before the sale and a $25,000 net long-term gain, with no qualified dividends and NIIT excluded. Because ordinary income already exceeds the single-filer zero-rate ceiling, the full $25,000 enters the 15-percent band in this bounded example. The modeled federal preferential-rate tax is $3,750. Selecting Illinois loads a 4.95-percent editable state shortcut, adding $1,237.50 and producing a $4,987.50 combined planning estimate. The preferential income remaining after those modeled taxes is $20,012.50.
The result cards keep return-level NIIT separate. The first legend allocates the entered gain and qualified dividends among federal preferential tax, the selected state estimate, and the amount remaining; it does not attribute the whole NIIT line to this sale. Each legend row prints both dollars and its share of modeled preferential income. The second legend shows how much income sits in the federal 0-, 15-, and 20-percent bands. These are different views: a rate-band amount is taxable income allocated to a bracket, while a tax-breakdown amount is the tax produced by that allocation. When inputs change, recalculate before sharing the displayed totals.
For multiple sales, preserve a lot-level schedule showing acquisition date, disposition date, proceeds, basis adjustment, selling cost, gain or loss, and holding-period class. Net only after each line has been classified. This discipline prevents a short-term loss, long-term gain, or special-category asset from being merged prematurely into the calculator's supported preferential-income input.
Supporting investment views include the stock calculator for transaction profit, the dividend calculator for declared yield and income, and the options profit calculator for an expiration payoff rather than a tax conclusion.