nexgentaxes.com

By NexGen Support Team

January 23, 2026

Capital Gains Tax Calculator (2025)

Capital Gains Tax Calculator (2025)

Estimate your federal tax on capital gains for tax year 2025, including the difference between short-term gains (generally taxed like ordinary income) and long-term gains (often 0% / 15% / 20%). The IRS explains the basics of capital gains and holding periods in Topic 409, and the additional Net Investment Income Tax (NIIT) is reported on Form 8960.

What this calculator does (one clear decision)

This tool estimates your federal tax on a single capital gain by applying the same rate logic used in your current 2025 calculator implementation :contentReference[oaicite:1]{index=1}: choose a holding period (short-term or long-term), enter ordinary income, and enter a gain (or let proceeds minus basis compute it). For IRS definitions of “basis” and how gains are computed on asset sales, see IRS Topic 703 (Basis of Assets) and IRS Topic 409.

If you want an easy, reputable overview of short-term vs long-term treatment (and why holding period matters), Fidelity’s explainer is a useful complement: capital gains tax rates and basics.

  • Compares short-term vs long-term capital gains rate treatment
  • Optional NIIT (3.8%) estimate for higher-income scenarios (Form 8960 framework)
  • Shows estimated net after-tax proceeds from the gain amount
  • Keeps the tool focused on one transaction (no unrelated calculations)

Enter your investment details

Wages, business income, etc., before capital gains.
If entered with basis, we can compute the gain (proceeds − basis).
Generally what you paid plus certain costs; see IRS Topic 703.
Enter directly, or let the calculator compute from proceeds and basis.
Holding period rules are summarized in IRS Topic 409.
0%
Long-term bracket tile (income thresholds vary by filing status)
15%
Long-term mid-rate tile (most taxpayers fall here)
20%
Long-term top-rate tile
3.8%
NIIT (if applicable)

Your estimated 2025 results

Total tax on gains
$0
Capital gain $0
Holding period Long-term
Rate applied (primary) 0%
Capital gains tax $0
Combined taxable income (simplified) $0
Net after-tax proceeds (from gain) $0
Effective rate on gain 0%
For documentation and reporting, capital gains are generally reported on Schedule D and Form 8949 depending on the transaction. If you are reconciling broker statements, review the IRS overview in Topic 409 and the NIIT filing context in Form 8960.

How the calculator works

1) Determine the gain

Enter a gain directly, or compute it as proceeds minus basis. IRS basis concepts are summarized in Topic 703.

2) Apply holding period

Short-term gains are treated like ordinary income, while long-term gains may qualify for preferential rates. See IRS Topic 409.

3) Optional NIIT estimate

If selected, the calculator estimates the 3.8% NIIT on the applicable base using a simplified threshold approach aligned to the logic in your existing build :contentReference[oaicite:3]{index=3}. NIIT is filed on Form 8960.

4) Show after-tax proceeds

The output shows estimated total tax and net proceeds from the gain amount, plus an effective rate on the gain for quick comparison.

Frequently asked questions

What is the difference between short-term and long-term capital gains?

Short-term gains (assets held one year or less) are generally taxed like ordinary income, while long-term gains (held more than one year) may qualify for preferential rates. The IRS overview is in Topic 409, and Fidelity provides a practical explanation here: capital gains tax rates and basics.

How do you calculate a capital gain?

A basic gain is sale proceeds minus your basis (often what you paid plus certain costs). The IRS discusses basis concepts in Topic 703.

What is NIIT (the 3.8% tax) and when might it apply?

NIIT is an additional 3.8% tax on certain net investment income for some higher-income taxpayers and is filed on IRS Form 8960. This calculator provides a simplified estimate when you enable the NIIT option.

Does this calculator include state capital gains tax?

No. This tool estimates federal tax only. State rules vary widely; treat state impact as a separate calculation.

Does this handle special capital gains categories?

No. Some gains can be subject to special federal rates or rules (for example, certain real estate depreciation recapture or collectibles). This calculator is intended for the most common “standard” capital gain scenarios and keeps the decision focused.