Worth Shield Financial Services

Worth Shield Financial Services · Personal planning estimate

Capital Gains Tax Calculator

No valid results to print. Calculate a valid scenario before printing this report.

Back to Calculators
Tax Calculator

Capital Gains Tax Calculator

Calculate taxes on your investment gains and explore tax-loss harvesting opportunities

Enter ordinary adjusted gross income BEFORE these sales, not taxable income; no other capital income or carryovers are assumed. Empty deductions use the basic standard deduction; enter your total allowed deduction to override (including zero for MFS if your spouse itemizes). MAGI defaults to that AGI.

Investment Transactions

Ready to Calculate?

Enter your income and investment transactions, then click "Calculate" to see your capital gains analysis.

Understanding Capital Gains Tax

When you sell an investment for more than you paid, that profit is a capital gain — and how it's taxed depends heavily on how long you held the asset. The difference between short-term and long-term treatment can change your tax bill on the same dollar of profit substantially, which is why holding period is one of the simplest levers investors have to manage their tax bill.

This calculator walks through multiple transactions at once, automatically classifying each as short-term or long-term based on the dates you enter, and layers in the Net Investment Income Tax and state tax where applicable.

How This Calculator Works

Enter ordinary AGI before sales, your allowed deductions, filing status, and each investment transaction's purchase price, sale price, quantity, and dates. The calculator computes your holding period for each transaction, taxes net short-term gains across ordinary tax brackets and net long-term gains across the 0/15/20% brackets for your selected tax year, adds 3.8% NIIT on the lesser of net gain or MAGI excess, and applies your state rate — showing your total tax, after-tax gain, and the savings from long-term treatment.

Frequently Asked Questions

A gain is short-term if you held the asset for one year or less, and long-term if you held it for more than one year. Short-term gains are taxed as ordinary income at your marginal rate; long-term gains get preferential 0%, 15%, or 20% federal rates depending on your income — often a significant tax savings for the exact same profit. For example, a $10,000 gain held for 11 months and taxed as ordinary income at an entirely 24% ordinary-income slice would owe $2,400 in tax, while the same $10,000 gain held for 13 months and taxed at the 15% long-term rate would owe only $1,500 — a $900 difference from holding the identical investment for two additional months, assuming no other changes and neither gain crossing a bracket boundary.

Tax years and sources

Tax years supported: 2025 and 2026.

Capital-gains figures and core rules checked: .

Checked the 0%/15%/20% long-term capital-gains thresholds for all four supported filing statuses, ordinary-income stacking, the 3.8% NIIT thresholds and lesser-of rule, and the annual ordinary-income capital-loss deduction cap against the engine used by this page. This is a scoped review, not a certification of every transaction, tax-return worksheet or special-asset rule.

This models eligible investment sales in a taxable account, not IRA or 401(k) withdrawals. NIIT assumes no other net investment income; state tax is a flat-rate illustration. Prior-year loss carryovers, wash-sale adjustments, inherited/gift holding periods, collectibles, home-sale exclusions, real-estate recapture, AMT and credit or deduction phase-out effects are not modeled. Use adjusted basis and allowable losses; confirm your complete tax situation before trading or filing.