\n\n
Calculate capital gains tax on investments and assets
Enter your purchase price, sale price, and holding period. Select your income tax bracket. Click Calculate to see your total gain, short-term or long-term tax, and net after-tax profit.
Key Output — This is the primary number the calculator returns. It represents the answer to the question you asked, calculated using standard financial formulas.
Breakdown Details — These supporting numbers show you how the result was reached. They help you understand what's driving the outcome and where you might adjust your inputs.
What to Look For — Pay attention to how small changes in inputs affect the outputs. The relationship between your inputs and results is where the real insight lives — that's what helps you make better decisions.
Every calculation uses standard financial math — the same formulas banks, lenders, and investment platforms use. The inputs you provide determine the accuracy of the result.
Marcus bought a small condo five years ago for $185,000 and put $30,000 into renovations. He's selling it now for $265,000, with $12,000 in selling costs. He earned $72,000 last year and is trying to figure out what he'll owe on the gain.
"I was bracing for a much bigger tax bill. I didn't realize I could subtract the renovation costs and the realtor fees. It's not nothing, but it's manageable."
Takeaway: Always track purchase improvements and closing costs — they directly reduce your taxable gain.
Nina and David each received 2,000 shares of a tech company through RSUs when the price was $22 per share. After a merger, the stock jumped to $78. They want to sell all shares to buy a house, but don't know how the different vesting dates and tax lots affect their liability.
"We thought we'd just pay capital gains on the whole thing. Turns out how we say we acquired the shares changes the number. We're holding some lots for a few more months to get the lower rate."
Takeaway: With RSUs and ESPP shares, the holding period starts after vesting — mixing short- and long-term lots can complicate your tax picture.
Elaine sold a rental property she'd owned for 18 years, netting a $210,000 gain. She also held $68,000 of a biotech stock that became worthless this year when the company folded. She's wondering if she can use the loss to reduce her tax bill on the property sale.
"I was going to write off the biotech as a total loss and just eat it. I had no idea I could use it to cut the property tax almost in half. That's real money."
Takeaway: Don't ignore worthless assets — they can offset large gains in the same tax year, reducing your overall liability substantially.
See how different inputs affect the result:
| Scenario | Key Input | Result A | Result B |
|---|---|---|---|
| Marcus | Renovation costs included? | Tax: $5,700 (with $30k reno) | Tax: $10,200 (no reno listed) |
| Nina & David | Holding period just under 1 year | Tax: $28,400 (short-term) | Tax: $22,800 (long-term) |
| Elaine | Using worthless stock loss | Tax: $46,200 (no loss claimed) | Tax: $31,240 (loss applied) |
The biggest difference comes from whether you actively track and apply all eligible deductions — renovation costs, holding periods, and capital losses each create thousands of dollars in variance on the same base gain.
Disclaimer: All calculations and scenarios are hypothetical and for illustrative purposes only. They assume constant conditions — real-world results may vary. These calculators are educational tools, not financial advice. Consult a qualified professional before making financial decisions.