Capital Gains Tax Calculator (2026)

Estimate federal tax on capital gains in 2026 and compare short-term vs long-term treatment. Useful for pre-sale planning and “what-if” testing.

Last updated: Feb 2026 • Federal-only unless stated otherwise

Capital Gains Tax Calculator (2026)

Estimate capital gains tax for 2026. Enter your gain amount and whether it’s short-term or long-term. For a better estimate, include your other taxable income.

Last updated: February 2026

Calculator

These are estimates for planning. Always confirm with official IRS guidance for your filing situation.

Related Guides

Methodology

  1. Collect gain amount and holding period (short vs long).
  2. Use a user-entered rate to estimate the tax (gain × rate).
  3. Show total income context (other income + gain) as a planning signal.
  4. Direct users to the guide for official tier thresholds and special-case rules.

How this calculator works

Quick promise: we’re not doing “mystery math.” The calculator follows the same logic you’d use manually — it just does the repetitive parts fast so you can test scenarios.

What this tool does not include

Real-life tax situations can include extra layers. We keep the core estimate clean and explain what’s excluded so you don’t over-trust the number.

Examples

These examples show the *kind* of output you should expect. Your exact result depends on your taxable income, filing status, and assumptions.

Example 1: Small long-term gain with moderate income

If your ordinary taxable income is moderate, a long-term gain may fall partly or fully into lower LTCG bands. The calculator shows how the gain is taxed based on your income stack.

Example 2: Short-term gain after a quick trade

Short-term gains are treated like ordinary income. If you’re already in a higher bracket, the tax on the short-term gain can be much higher than long-term treatment.

Example 3: Comparing “sell now” vs “wait for long-term”

Run the same gain as short-term and long-term. The difference gives you a rough idea of the tax incentive to hold longer (assuming the holding period flips).

Common mistakes

Next steps (learn + verify)

Short-term vs long-term (why the holding period matters)

Capital gains tax is really two different systems: short-term gains are generally taxed like ordinary income, while long-term gains generally use a separate federal rate table. That’s why the same $10,000 profit can create very different tax outcomes depending on how long you held the asset.

Stacking explained in 30 seconds

For long-term gains, the rate you pay depends on where your gain sits on top of your other taxable income. Think of your ordinary taxable income as the “base.” Your long-term gain gets stacked on top of it, and each slice of that stacked gain can fall into different long-term rate bands.

This is the single biggest reason people mis-estimate capital gains tax. The full explanation (with rate table + examples) is here: Capital Gains Tax Rates 2026.

What to gather before you run this calculator

Most “surprise taxes” come from one thing: people only look at the gain, but the tax depends on how the gain stacks on total income. That’s why we ask for other income — it changes the rate band.

Sell planning: three quick questions

  1. Is the gain short-term or long-term? If you’re close to the 1-year mark, the difference can be material.
  2. What is your other taxable income? Higher income can push long-term gains into higher LTCG bands.
  3. Can you control timing? Sometimes spreading sales across tax years changes the rate-band outcome.

This tool gives an estimate, then the guide explains the rate table and stacking logic in detail: Capital Gains Tax Rates 2026.

Quick terminology (so you don’t mix things up)

If you keep that list straight, 90% of capital gains confusion disappears. The remaining confusion is usually stacking and holding period — which is exactly what this calculator and guide focus on.

Timing strategies (high-level)

Capital gains planning is often about timing. If you can choose when to sell, you can sometimes control which tax year the gain falls into and how it stacks with other income. This calculator helps you estimate outcomes, but the “right” timing depends on your goals, risk tolerance, and portfolio strategy — not just tax.

FAQ

Do you include state capital gains tax?

No. This is a federal estimate unless explicitly stated otherwise.

Why does my other income change the gain tax?

Because gains can stack on top of ordinary taxable income, changing the rate band used.

Does this include NIIT?

Not by default. This calculator focuses on core federal capital gains logic.