Skip to main content
us

Capital Gains Tax Calculator (USA) | Stocks, Crypto & Real Estate Gains

Use GlobalCalqulate’s free Capital Gains Tax Calculator (USA, 2026) to estimate taxes on profits from selling stocks, ETFs, crypto, and real estate. Compare short-term vs long-term capital gains tax, enter purchase price (cost basis), sale price, holding period, and income level to estimate tax owed and after-tax profit. Helpful for investment planning, tax-loss harvesting decisions, and smarter sell timing.

Transaction Details

Tax Profile

%
Total Capital Gains Tax
USD 1,000.00
Long-Term Capital Gain
Net Capital Gain
USD 5,000.00
Federal Tax
USD 750.00
State Tax
USD 250.00
NIIT (3.8%)
USD 0.00
After-Tax Profit
USD 4,000.00

✓ Last updated: March 2026 | Built with CRA-official rates, Bank of Canada data, and OSFI guidelines

How to Use This Calculator

Enter purchase and sale price

Provide what you paid and what you sold the asset for.

Add fees and losses

Include brokerage fees and capital losses to improve accuracy.

Select holding period

Choose short-term or long-term based on how long you held the asset.

Enter income and filing status

Used to determine federal capital gains and NIIT thresholds.

View tax and net profit

See total tax, NIIT, and after-tax capital gain.

Understanding Your Results

Net Capital Gain
Capital gain after deducting transaction fees and capital losses.
Federal Capital Gains Tax
Tax applied based on holding period and income level.
NIIT (3.8%)
Net Investment Income Tax for higher-income taxpayers.
After-Tax Profit
Amount you keep after all capital gains taxes.

Key Tips

  • Holding investments longer than one year can reduce tax.
  • Capital losses can offset gains and lower taxes.
  • High earners may owe NIIT in addition to capital gains tax.
  • State taxes can significantly affect after-tax returns.

US Capital Gains Tax Calculator – Complete Guide (2026)

Short-Term vs Long-Term Capital Gains

Assets held for one year or less are taxed at ordinary income rates, while long-term gains receive preferential rates.

Net Investment Income Tax (NIIT)

A 3.8% surtax applies to certain investment income for high earners.

State Capital Gains Tax

Many states tax capital gains separately, impacting total tax owed.

Reducing Capital Gains Tax

Strategies include holding assets longer, harvesting losses, and timing sales.

Example Capital Gains Calculation

Investor sells stock after holding it for over one year.

Example Inputs
  • Purchase Price$10,000
  • Sale Price$15,000
  • Annual Income$60,000
Example Results
  • Total Capital Gains Tax$750 (approx)
  • After-Tax Profit$4,250 (approx)
Figures are indicative only. Actual repayments may vary by lender.
Help & FAQs

Frequently Asked Questions

Clear answers to common questions to help you use this calculator confidently.

What is a Capital Gains Tax Calculator?

Tap to view the answer

A Capital Gains Tax Calculator estimates the tax you may owe when you sell an asset for a profit. It uses your gain amount, holding period, and basic tax details to provide an indicative tax figure. The results are meant for planning and general understanding.

How does GlobalCalqulate’s Capital Gains Tax Calculator work?

Tap to view the answer

The calculator uses your purchase price, sale price, and holding period to determine the gain. It then applies commonly used U.S. capital gains tax principles. Outputs are indicative and may vary from actual tax outcomes.

What information do I need to enter?

Tap to view the answer

You typically enter the asset’s purchase price, sale price, and how long you held the asset. Some versions may also ask for filing status or income level. Providing accurate figures improves the usefulness of the estimates.

How accurate are the capital gains tax estimates?

Tap to view the answer

The calculator is based on standard tax formulas and user inputs. Actual tax owed may differ due to exemptions, deductions, or updated IRS rules. Results should be treated as indicative.

Does the calculator assume current U.S. capital gains rates?

Tap to view the answer

The calculator is designed around commonly available U.S. capital gains tax guidelines. Rates and thresholds may change over time. The estimates are meant for planning rather than exact filing.

Are state capital gains taxes included?

Tap to view the answer

The calculator generally focuses on federal capital gains tax. State and local taxes are not always included. Your total tax liability may vary.

Who should use a Capital Gains Tax Calculator in the United States?

Tap to view the answer

Investors selling stocks, real estate, or other assets may find it useful. It can help estimate potential tax impact. The calculator is meant for planning and awareness.

Is this calculator useful for real estate sales?

Tap to view the answer

Yes, you can use it to estimate taxes on property sales. Certain exclusions may apply in practice. Results are indicative.

Can active traders use this calculator?

Tap to view the answer

Active traders can use it for individual transactions. Their overall tax situation may be more complex. Results should be viewed as planning-level estimates.

What happens if I change the sale price?

Tap to view the answer

Updating the sale price will change the estimated gain and tax owed. You can adjust inputs to explore scenarios. The calculator updates results accordingly.

How does changing the holding period affect results?

Tap to view the answer

Holding an asset longer may qualify for long-term capital gains treatment. This can change the estimated tax rate. Results are indicative.

What if I include transaction costs?

Tap to view the answer

Including buying or selling costs can reduce the taxable gain. You can adjust the effective purchase or sale price to reflect this. Actual outcomes may vary.

What if my income changes?

Tap to view the answer

Different income levels can affect applicable capital gains rates. You can update income assumptions to explore scenarios. Results are indicative.

Can I use this calculator for New York, Los Angeles, or Chicago?

Tap to view the answer

Yes, the calculator can be used for major cities such as New York, Los Angeles, and Chicago. Federal capital gains rules apply nationwide. Location does not affect the core calculation.

Does the calculator account for state-specific rules?

Tap to view the answer

The calculator generally does not model state-specific capital gains taxes. It focuses on federal-level estimates. Results are meant for high-level planning.

Does GlobalCalqulate’s Capital Gains Tax Calculator provide financial advice?

Tap to view the answer

No, the calculator provides estimates for informational and planning purposes only. It does not offer tax or investment advice. Users should rely on professional guidance for decisions.

What are the main limitations of this Capital Gains Tax Calculator?

Tap to view the answer

The calculator uses simplified assumptions and user-provided data. It does not capture every exemption or special rule. Results should be treated as indicative, not guaranteed.

Need more help? Contact support or email pavantejakusunuri@gmail.com

We typically reply within 24–48 hours.

How this capital gains tax calculator works

The calculator estimates US federal capital gains tax using either the short-term (ordinary income) or long-term (0 %, 15 % or 20 %) rate. It optionally adds the 3.8 % Net Investment Income Tax (NIIT) for high earners introduced under the Affordable Care Act.

State capital gains taxes and depreciation recapture are not included. Consult a tax professional for investment decisions.

More free tools you may find helpful

Free tools for every financial decision

Capital Gains Tax Calculator (USA) | Stocks, Crypto & Real Estate Gains | GlobalCalqulate