Skip to content
Menu
Tax calculators

Capital Gains Tax Calculator (2026 and 2027)

Estimate the extra federal tax from one investment sale in 2026 or 2027, including long-term rates and net investment income tax.

Your sale and income

Net investment income tax

Other sales, qualified dividends, special rates, deduction changes, credits, AMT and state taxes need separate calculations.

Federal estimate

Your result will show the gain or loss and the estimated additional federal tax on a gain.

Rules and IRS sources

The estimate uses the federal brackets. IRS Tax Table amounts can differ on a filed return.

    Built by Financial Sales Insider · Updated

    Written by John Logan, CEO of Financial Sales Insider

    Estimates are for planning. Your calculator entries and results stay in this tab.

    Cite or embed this calculator

    Find personal tax help for an investment sale

    What it does

    Use it before or after you sell stock, fund shares or crypto to see what that one sale adds to your federal tax bill. IRS guide to capital gains and losses.

    What you need

    Gather the sale proceeds, selling costs, and adjusted basis. Basis often starts with what you paid, then changes for events such as stock splits or reinvested amounts. Use your filing status, holding period, and taxable income after deductions before this sale. If the net investment income tax may apply, have your income and investment figures from before the sale. IRS guide to basis.

    How it works

    The calculator subtracts selling costs and basis from proceeds. It compares federal tax with and without that gain. A gain on an asset held more than one year can fall into more than one long-term rate band. Short-term gains generally use regular income tax rates. The calculator includes the net investment income tax when it applies to your figures. IRS net investment income tax guide.

    When to get help

    The tool reports a loss without estimating a deduction. Check separately if you have other sales, prior losses, qualified dividends, special-rate assets, or state tax. Bring your transaction record and the estimate to a tax professional if your basis is uncertain.