Tax CalculatorsFree Tool

Capital Gains Tax Calculator

Provided byNerdWallet Financial Calculatorsnerdwallet.com

Computes capital gains tax owed on the sale of investments by holding period.

Screenshot of Capital Gains Tax Calculator on NerdWallet Financial Calculators
nerdwallet.comOpen the live tool →
About this tool

What Capital Gains Tax Calculator does

A capital gains tax calculator that estimates the tax owed when selling investments for a profit. Users enter the purchase price, selling price, and holding period to determine whether gains are short-term or long-term, then the tool applies current tax rates to compute the estimated liability. The calculator supports planning for stocks, real estate, and other assets by breaking down the tax impact before a sale is executed.

Step by step

How to use the NerdWallet Financial Calculators Capital Gains Tax Calculator

  1. 1

    Enter the purchase price of the investment in the designated field

  2. 2

    Enter the current selling price or expected sale value

  3. 3

    Select the holding period or indicate if the asset was held short-term or long-term

  4. 4

    View the estimated tax liability and breakdown of short-term versus long-term rates displayed in the results

Is it right for you

Best for

Investors and asset owners who need a quick estimate of capital gains tax before selling stocks, real estate, or other investments, particularly those unsure how holding period affects their tax bracket.

Limitations

  • Results are estimates based on current tax rates and may not reflect individual tax situations
  • Does not account for deductions, losses, or specific tax law changes beyond the stated year
  • No unit switching or currency conversion; inputs are assumed to be in US dollars
Questions

Capital Gains Tax Calculator FAQ

How does the holding period affect the capital gains tax rate?
The calculator distinguishes between short-term gains, taxed as ordinary income, and long-term gains, which benefit from reduced tax rates depending on taxable income and filing status.
Can this calculator be used for real estate or only stocks?
The tool is designed for investment assets generally; users can input purchase and sale values for stocks, real estate, or other capital assets to estimate the tax owed.
Does the calculator include state or local taxes?
The estimate is based on federal capital gains tax rates; state and local taxes are not factored into the result.
What if I have both gains and losses in the same tax year?
This calculator estimates tax on a single asset sale; net gains or losses across multiple assets would require separate calculations or consultation with a tax professional.
Keep Exploring

Similar tools

Based on shared tags