Free Tax Tool

Capital Gains Tax Estimator

Estimate potential federal tax on a capital gain using general long-term and short-term capital-gain concepts.

Free educational calculator • No signup required • Calculator inputs stay in your browser

This is an educational planning tool only. It is not investment advice, legal advice, tax advice, valuation advice, or transaction advice, and it does not recommend buying, selling, holding, exchanging, gifting, donating, or investing in any asset. It does not prepare a tax return, Form 8949, Schedule D, Form 4797, depreciation recapture, Section 1202 gain, installment-sale treatment, Section 1031 exchange treatment, or any state tax calculation.

Capital Gain Inputs

Sale Information

Examples may include qualifying improvements or other basis adjustments. Do not include ordinary repairs unless they increase tax basis.

Examples may include broker commissions, transaction fees, legal fees, listing fees, or other selling expenses.

Holding Period

Short-term gains generally apply to assets held one year or less. Long-term gains generally apply to assets held more than one year.

Other Tax Information

Enter estimated taxable income before this sale, after deductions. This is used only to estimate the federal long-term capital-gain rate.

Enter expected capital losses from other transactions, if known. This calculator does not track loss carryovers or detailed ordering rules.

Optional. This is used only for a simplified estimate of possible Net Investment Income Tax. Leave at $0 if you are unsure.

This is used only if the gain is short-term. Short-term capital gains are generally taxed as ordinary income.

For general educational use only. Do not enter Social Security numbers, brokerage account information, wallet addresses, property addresses, tax documents, bank information, transaction documents, payment information, or other sensitive information.

Tax-year settings in use: 2026 • Last reviewed August 11, 2026

Your Estimated Capital Gain Results

Enter a sale price, original purchase price, and estimated taxable income, then select Calculate Capital Gain Estimate.

Short-Term vs. Long-Term Capital Gains

Short-term capital gains generally apply to assets held for one year or less and are generally taxed as ordinary income. Long-term capital gains generally apply to assets held for more than one year and may receive preferential federal tax rates.

What Is Cost Basis?

Cost basis generally begins with what you paid for an asset and may be adjusted for certain improvements, reinvested distributions, fees, depreciation, and other tax events. Your actual basis may differ from the purchase price.

What About Capital Losses?

Capital losses generally offset capital gains. If losses exceed gains, the amount that may reduce ordinary income is generally limited each year, with unused losses potentially carried forward subject to applicable rules.

Common Capital-Gains Tax Mistakes

  • Using sale proceeds instead of gain
  • Forgetting transaction costs and basis adjustments
  • Assuming all gains are taxed at one rate
  • Confusing taxable income with gross income
  • Ignoring capital losses or loss carryovers
  • Forgetting possible Net Investment Income Tax
  • Ignoring depreciation recapture on rental or business property
  • Assuming cryptocurrency, collectibles, real estate, or business assets receive ordinary stock-like treatment
  • Ignoring state tax
  • Making an investment decision based only on a tax estimate

Need Help Planning for a Sale or Investment Gain?

HW & Associates CPA PLLC can help clients evaluate tax projections, estimated-tax payments, capital-gain timing, business-asset sales, investment-income planning, and related tax considerations.

Schedule a Tax Planning Consultation

Educational use only. This calculator provides a simplified, general estimate of potential federal tax related to a capital gain or loss based solely on the information entered by the user and selected tax-year settings. It is not tax, legal, accounting, financial, investment, valuation, securities, real-estate, or transaction advice. It does not prepare or file a tax return, Form 8949, Schedule D, Form 4797, or any other tax form, and it does not determine, guarantee, or eliminate any tax liability, interest, penalty, tax savings, investment outcome, or transaction result.

Capital-gain taxation can be affected by holding period, cost basis, wash-sale rules, capital-loss carryovers, depreciation recapture, Section 1231 rules, Section 1250 rules, Section 1202 rules, collectibles rules, primary-residence exclusions, installment sales, like-kind exchanges, Net Investment Income Tax, alternative minimum tax, state and local taxes, filing status, deductions, credits, other income, and changes in law. The calculator does not account for every rule, exception, or tax interaction. Consult a qualified tax professional before selling, exchanging, gifting, donating, purchasing, or otherwise disposing of any asset.

Use of this calculator or website does not create a CPA-client, accountant-client, attorney-client, fiduciary, investment-adviser, broker, real-estate, securities, or other professional relationship with HW & Associates CPA PLLC. A professional relationship begins only when HW & Associates CPA PLLC accepts an engagement and the parties execute an applicable engagement agreement.

Do not enter Social Security numbers, employer identification numbers, brokerage account numbers, wallet addresses, property addresses, bank-account details, payment-card information, tax returns, transaction documents, or other sensitive information. Calculator inputs and results are processed locally in the visitor’s browser and are not intentionally saved or transmitted by this calculator.