ToolZoneX
Blog

Capital Gains Tax Calculator — Short & Long-Term

By ToolZoneX Team
August 2026

How long you hold an investment before selling changes its tax rate dramatically. Short-term gains (held a year or less) are taxed as ordinary income at rates up to 37%; long-term gains get preferential 0/15/20% federal rates, stacked on top of your other income. High earners may also owe the 3.8% Net Investment Income Tax on top. This calculator models all of it, plus an optional state estimate.

How to Use Capital Gains Tax Calculator

  • 1.

    Enter your other annual income and the capital gain amount
  • 2.

    Choose short-term or long-term holding period
  • 3.

    Select your filing status and, optionally, your state
  • 4.

    View the federal tax, NIIT, state tax, and net proceeds after tax

Key Features

  • Correct bracket-stacking for both ordinary and long-term capital gains rates
  • NIIT (3.8%) applied above the right MAGI threshold
  • Optional state estimate that reuses each state's real income tax brackets
  • Net proceeds and effective rate shown alongside the tax breakdown

When to Use This Tool

  • Deciding whether to hold an investment a few more weeks to reach long-term treatment
  • Estimating the tax hit before selling stock, crypto, or a rental property
  • Checking whether a large gain will push you into NIIT territory
  • Comparing after-tax proceeds across different states before relocating

Frequently Asked Questions

Selling one day before the one-year mark can mean paying your full ordinary income rate instead of the long-term rate (at most 20% federally) on the same dollar of gain.

Most states tax gains as ordinary income, which this reuses. A few states have unique rules not modeled — Washington, for example, levies a separate 7% excise tax on gains above roughly $270,000 rather than its (nonexistent) regular income tax.

It's an approximation using your entered income plus gain as a stand-in for MAGI. Real MAGI calculations can differ — this is a planning estimate, not a substitute for a tax professional.

Related Tools

Capital Gains Tax Calculator

Use Capital Gains Tax Calculator now

Try Tool