Capital Gains Tax Calculator Tool 2026

Capital Gains Tax Calculator Tool 2026
Capital Gains Tax Calculator 2026: Federal + State (Free)
Tax & Government

Capital Gains Tax Calculator

Selling a stock, a rental property, or a chunk of crypto and wondering what you’ll actually owe? This capital gains tax calculator is built for 2026 and does what most free tools skip: it stacks your gain on top of your real income to find your exact bracket, layers on the 3.8% Net Investment Income Tax where it applies, and adds New Jersey or Minnesota state tax using their real brackets — not a flat guess. Whether you’re running this as a stock capital gains tax calculator or checking a one-time asset sale, you’ll get a precise dollar figure and a full breakdown of exactly where your tax bill comes from.

Your taxable income after deductions, before adding this sale
Leave at 1 for a single asset like real estate
Total Tax Owed
$0
federal + NIIT + state
Effective Tax Rate
0%
of your total gain
Net Proceeds After Tax
$0
on $0 gain
Low (0% bracket): $0  ·  Most Likely (your bracket): $0  ·  High (top bracket + NIIT): $0
This is a planning estimate, not filed tax advice. State brackets shown are simplified approximations (New Jersey and Minnesota single-filer tables applied across filing statuses), and this tool does not account for the Alternative Minimum Tax, Section 1250 depreciation recapture, or Minnesota’s investment income surtax above $1M. Verify your exact liability with a CPA before filing.

How This Capital Gains Tax Calculator Works

Most free tools apply one flat percentage to your whole gain. Real tax law doesn’t work that way — your gain stacks on top of your other income, and only the portion that crosses into a higher bracket gets taxed at the higher rate. This tax calculator capital gains tool runs the actual 2026 IRS math.

1. Long-Term vs. Short-Term Classification

Assets held more than one year qualify for long-term capital gains rates (0%, 15%, or 20%). Assets held one year or less are short-term and taxed as ordinary income, at rates up to 37%.

2. Federal Bracket Stacking

Long-term: Tax on gain = Tax(Other Income + Gain, LTCG brackets) − Tax(Other Income, LTCG brackets) Short-term: Tax on gain = Tax(Other Income + Gain, ordinary brackets) − Tax(Other Income, ordinary brackets)

For 2026, the long-term brackets are 0% up to $49,450 taxable income (single) / $98,900 (married filing jointly), 15% up to $545,500 / $613,700, and 20% above that (IRS Revenue Procedure 2025-32). This stacking method means your first dollars of gain may be taxed at 0% even if your overall income is well into six figures.

3. Net Investment Income Tax (NIIT)

NIIT = 3.8% × MIN(Net Investment Income, MAGI − $200,000 single / $250,000 MFJ)

This 3.8% surtax under IRC §1411 applies on top of your regular capital gains rate once your modified adjusted gross income crosses the threshold, pushing the effective top federal rate on gains to 23.8%.

4. State Tax (NJ and MN Modeled Directly)

Neither New Jersey nor Minnesota gives capital gains a preferential rate — both states tax gains as ordinary income under their regular Gross Income Tax brackets, which this calculator applies directly (New Jersey: 1.4%–10.75%; Minnesota: 5.35%–9.85%) rather than using one blended guess.

Step-by-Step Example Calculation

A single New Jersey resident has $70,000 in other taxable income this year and sells stock held for two years, with a $10,000 cost basis and a $40,000 sale price — a $30,000 long-term gain.

Federal LTCG tax: Stacked on $70,000 of other income, the $30,000 gain falls entirely in the 15% bracket (since $70,000 already exceeds the $49,450 zero-rate threshold, and $100,000 total stays under $545,500). Federal tax = $30,000 × 15% = $4,500.

NIIT: MAGI of $100,000 is below the $200,000 single threshold, so $0 NIIT applies.

New Jersey state tax: Stacking the gain on NJ’s brackets (tax on $100,000 minus tax on $70,000) works out to roughly $1,869.

Total tax owed: $4,500 + $0 + $1,869 = $6,369 — an effective rate of about 21.2% on the $30,000 gain, leaving $23,631 in net proceeds.

What Affects Your Capital Gains Tax Result

Stock Capital Gains Tax Calculator: Cost Basis Matters

Your cost basis isn’t always just what you paid — reinvested dividends, stock splits, and brokerage fees all adjust it. Using the wrong cost basis on a stock capital gains calculator is one of the most common ways people overpay, since it directly inflates the taxable gain.

Capital Gains Stock Calculator: Wash Sale Rule

If you sell a losing stock and buy a substantially identical one within 30 days before or after, the IRS disallows the loss for offsetting gains this year. This matters if you’re trying to use losses elsewhere in your portfolio to reduce the number this calculator produces.

NJ Capital Gains Tax Calculator: No Preferential Rate

Unlike federal law, New Jersey has no separate 0/15/20% capital gains schedule — a $500,000 long-term gain and a $500,000 salary are taxed identically under NJ’s regular brackets, topping out at 10.75% above $1 million in taxable income.

MN Capital Gains Tax Calculator: The Investment Income Surtax

Minnesota adds a 1% surtax on net investment income above roughly $1 million for high earners, on top of its regular 9.85% top bracket — this calculator’s MN estimate does not include that surtax, so very large gains will run higher than shown.

Holding Period Timing

An asset sold one day before its one-year anniversary is short-term; sold one day after, it’s long-term. That single day can be the difference between a 37% federal rate and a 15% or 20% rate — always confirm your exact purchase date before selling near that line.

Long-Term Capital Gains Tax Brackets — 2026

RateSingle (Taxable Income)Married Filing Jointly
0%$0 – $49,450$0 – $98,900
15%$49,450 – $545,500$98,900 – $613,700
20%Over $545,500Over $613,700
+3.8% NIITMAGI over $200,000MAGI over $250,000

Frequently Asked Questions

How does this tax on capital gains calculator figure out my rate?

It stacks your gain on top of your other taxable income and checks which 2026 IRS bracket that combined total lands in. Long-term gains (assets held over one year) use the 0%/15%/20% brackets; short-term gains (held one year or less) use your regular 10–37% ordinary income brackets, since the IRS taxes them the same as wages.

What’s the difference between this and a basic tax calculator capital gains tool?

Most basic tools apply one flat rate to your whole gain, which overstates or understates your real bill. This calculator stacks your gain on your actual income to find exactly which portion falls in the 0%, 15%, and 20% brackets, then layers on the 3.8% Net Investment Income Tax and your selected state tax separately.

How do I use this as a stock capital gains tax calculator?

Enter your purchase price per share, sale price per share, and number of shares — the calculator multiplies these to find your total gain automatically. This works identically for a single stock sale, a mutual fund distribution, or any other per-unit asset; just leave shares at 1 for a one-time asset like real estate.

Does the nj capital gains tax calculator option use New Jersey’s real brackets?

Yes — New Jersey taxes capital gains as ordinary income under its Gross Income Tax brackets (1.4% to 10.75%), not at a separate capital gains rate. This calculator applies NJ’s progressive single-filer brackets; married joint filers have slightly wider NJ brackets at some income levels, so treat the NJ figure as a close estimate and confirm exact numbers with the NJ Division of Taxation.

How accurate is the mn capital gains tax calculator estimate?

Minnesota also taxes capital gains as ordinary income (5.35% to 9.85%), and this calculator uses Minnesota’s actual single and married-filing-jointly brackets. Minnesota additionally applies a 1% net investment income surtax above roughly $1 million in net investment income, which this tool does not model — factor that in separately if your gain is in that range.

What is the capital gains stock calculator formula for the 3.8% NIIT?

The Net Investment Income Tax applies a 3.8% surtax on the lesser of your net investment income or the amount your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). It stacks on top of your regular capital gains tax rate, so a 20% top bracket gain effectively costs 23.8% federally.

Can I use this stock capital gains calculator for cryptocurrency?

Yes — the IRS taxes cryptocurrency sales using the same short-term and long-term capital gains rules as stock. Enter your cost basis as the purchase price, your sale proceeds as the sale price, and select your actual holding period; the same federal brackets and NIIT rules apply.

Why is my short-term gain taxed so much higher than long-term?

Short-term gains (held one year or less) are taxed at your full ordinary income rate, which tops out at 37% federally, versus a maximum 20% for long-term gains. Holding an appreciated asset for just one extra day past the one-year mark can move it from ordinary rates to the much lower long-term brackets.

Sources: IRS 2026 Tax Inflation Adjustments (Rev. Proc. 2025-32), IRS Net Investment Income Tax FAQ, and the New Jersey Division of Taxation. This calculator provides estimates only and is not a substitute for professional tax preparation.

Related Calculators

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *