Capital Gains Tax Calculator
You sold an investment. Great. Now the government wants its share. Capital gains tax is one of those things most investors understand exists but wildly underestimate until the April bill arrives. The difference between short-term and long-term treatment can mean tens of thousands of dollars on the same transaction — sometimes the single biggest financial decision you can make is simply waiting a few extra months before selling.
The Basis Problem: Where Most Investors Go Wrong
Most people know their sale price. Fewer accurately know their cost basis. And the IRS doesn't correct your math — it just sends a notice when the numbers don't match. Cost basis includes the original purchase price plus commissions, adjustments for stock splits, and for inherited assets, a stepped-up basis to fair market value at the date of inheritance.
Take Rachel Nguyen, a 38-year-old marketing director from Seattle who inherited $85,000 worth of stock from her grandmother. The original purchase price was $3,200 — made decades ago. Because the basis stepped up to the full $85,000 at inheritance, Rachel paid zero capital gains tax when she sold those shares later that year. Had her grandmother gifted the shares while still alive, Rachel would have inherited the original $3,200 basis and owed taxes on the full $81,800 gain — roughly $12,270 at the 15% long-term rate. The stepped-up basis saved her over $12,000 on a decision requiring no action from her at all.
Making Better Selling Decisions With This Calculator
Before selling any investment, run the numbers first. Enter your purchase price, sale price, income, and filing status. Select short-term or long-term holding period. The outputs — capital gain, tax owed, and net proceeds — give you a complete picture in seconds.
If the tax bill looks painful, think through your options. Could you hold slightly longer to shift from short-term to long-term treatment? Do you have losses elsewhere to harvest against this gain? Would donating the appreciated asset to charity (which avoids capital gains entirely for the donor) serve your goals better than selling? Could you spread the sale across two calendar years to manage bracket exposure? The calculator arms you with exact numbers — and exact numbers are what make those decisions clear rather than gut-driven.