Stock Capital Gains Calculator

From purchase price to after-tax profit โ€” every number behind your stock sale in one calculator.

No login Educational estimate Shareable URL
BracketGain TaxedTax

Complete trade view

Cost, proceeds, gain and tax all in one place.

Period-aware rates

Short-term uses income brackets, long-term uses 0/15/20%.

Practical planning

Know your tax before you sell, not after.

Example Calculation

Run through a typical scenario with the sample values below โ€” hit See an example to load them instantly.

InputSample value
Shares200
Buy Price ($)80
Sell Price ($)110
Purchase Date2025-01-10
Sale Date2026-08-15
Filing StatusMarried filing jointly
Taxable Income ($/yr)80000
๐Ÿ“˜

How to Use This Tool

Follow the steps below to get accurate results.

  1. Enter the trade Shares bought, buy price and sell price.
  2. Pick purchase & sale dates Dates decide short-term vs long-term automatically.
  3. Set your profile Filing status and annual taxable income.
  4. See the tax Cost basis, sale proceeds, gain, tax rate, NIIT, effective rate and after-tax profit.

Input Fields

  • Shares  ยท  e.g. 200
  • Buy Price ($)  ยท  e.g. 80
  • Sell Price ($)  ยท  e.g. 110
  • Purchase / Sale Date  ยท  auto short/long
  • Filing Status
  • Taxable Income ($/yr)  ยท  e.g. 80000

Outputs You Will Get

  • Cost Basis
  • Sale Proceeds
  • Capital Gain
  • Holding Period
  • Tax Rate
  • Capital Gains Tax
  • NIIT (if any)
  • Effective Rate
  • After-Tax Profit
Holding longer than one year drops your rate to the lower long-term capital gains brackets.
๐Ÿง 

How This Calculator Works

From purchase price to after-tax profit โ€” every number behind your stock sale in one calculator.

What you will get

Good to know

Stock Capital Gains Calculator is an interactive estimate built for quick planning. Always double-check the numbers that matter before acting on them, and reach out to a professional for personalized advice.

More finance calculators

Explore the rest of the investment toolkit.

?

Frequently Asked Questions

How does the Stock Capital Gains Calculator work?

Simply fill in the fields and press Calculate. From purchase price to after-tax profit โ€” every number behind your stock sale in one calculator.

What information do I need to provide?

Just the basics โ€” Shares and Buy Price ($) and Sell Price ($), plus a few simple inputs. No account or signup is required; everything runs in your browser.

Is Stock Capital Gains Calculator really free to use?

Yes โ€” completely free, with no login, no watermarks and no limits. Bookmark it and share the URL with anyone who needs it.

How accurate is the estimate?

The calculator uses current, standard formulas to produce an educational estimate. Real-world figures can vary based on your specific situation, so treat it as a planning aid rather than a final answer.

Can I use it on my phone?

Absolutely. The tool is fully responsive and works smoothly on mobile, tablet and desktop browsers.

What should I keep in mind?

The result is an estimate for educational purposes only and is not financial, legal or tax advice. Consult a qualified professional before making important decisions.

Disclaimer: The Stock Capital Gains Calculator is provided for educational and informational purposes only and does not constitute financial, investment, legal or tax advice. Results are estimates and may not reflect your complete financial situation. Always consult a qualified professional before making financial decisions.