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.

📈

Understanding Capital Gains Tax

Capital gains tax is owed when you sell an investment (stocks, real estate, crypto) for more than its purchase price. The profit (gain) is classified as either short-term (held 1 year or less, taxed as ordinary income) or long-term (held more than 1 year, taxed at preferential rates). Long-term capital gains rates are typically 0%, 15%, or 20% depending on income level, compared to ordinary income rates up to 37%.

Smart investors use tax strategies like holding investments 1+ years to qualify for long-term rates, harvesting losses to offset gains, and timing sales strategically. Special rules apply to specific assets: primary residences get $250k/$500k exclusions per person, while collectibles face different rates. Understanding your basis (original cost) and holding period is critical for accurate tax calculation.

Capital Gains Tax Formula

Capital Gain = Sale Price - Cost Basis
Tax Owed = Capital Gain x Tax Rate
Long-term Tax: 0% (above $44k single), 15% ($44k-$492k), 20% (above $492k)
Short-term Tax: Same as ordinary income brackets (up to 37%)

Cost basis includes purchase price plus improvements. Long-term rates apply to assets held more than 1 year. Tax brackets change annually; rates above are 2024 approximations.

Key Terms & Definitions

Cost Basis

Original purchase price plus improvements; used to calculate gain

Long-Term Gain

Assets held more than 1 year, taxed at preferential rates (0/15/20%)

Short-Term Gain

Assets held 1 year or less, taxed as ordinary income (up to 37%)

Tax-Loss Harvesting

Selling losing investments to offset capital gains

Wash Sale

Selling at loss then buying same/similar asset within 30 days; disallowed

Adjusted Gross Income (AGI)

Income threshold determining long-term capital gains rate

Capital Gains Tax Strategies

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 support@globalcalqulate.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