Free Taxes tool

Capital Gains Tax Calculator

Estimate taxable gain and rough federal tax using purchase price, sale price, and tax rate. Educational estimates only.

How to use this calculator

Enter sale proceeds, cost basis, estimated tax rate, and selling fees. The calculator estimates net gain and rough tax owed.

When this calculator is useful

Important limitations

This is not tax advice. Holding period, income level, state taxes, wash sales, depreciation, NIIT, and other rules may apply.

For best results, run at least three cases: a conservative case, a middle case, and a stretch case. If a small change in inputs creates a big change in the answer, that is a sign the decision may be sensitive to rates, fees, timing, or market performance.

Related calculators

All tools

Free newsletter

Get more tools and market explainers

Daily market pulse, AI investing tool watch, gold/crypto/economy explainers, and practical calculators.