What this calculator does
Most finance tools bury the answer under ads and jargon. The capital gains calculator shows the number first, the breakdown next, and the assumptions in plain language.
Long-term capital gains (assets held >1 year) are taxed at preferential rates.
How to use the Capital Gains Calculator
- Start by entering **Purchase Price** — this anchors every downstream number in the capital gains calculator.
- Fill in **Sale Price** to reflect your specific situation.
- Set **Other Income**; the result and chart recalculate the moment you finish typing.
- Review the breakdown card for the components that make up the headline number.
- Use Copy, Share, or Print to save the exact scenario — or star it to keep it in your favorites.
The formula
Gain = Sale − Cost basis. Rate depends on income (0%, 15%, 20%).
Worked example
$10k → $25k = $15k gain × 15% = $2,250 tax.
Common mistakes
- Confusing short and long-term
- Missing state tax
- Ignoring wash sale rules
When to use it
Use before selling investments to plan tax impact.
Pro tips for the Capital Gains Calculator
- Change one input at a time to see which lever actually moves the answer the most.
- Round-trip check: reverse the inputs to confirm the formula matches what you'd compute by hand.
- Bookmark this page: the URL and inputs are all you need to reproduce the exact result later.
Frequently asked questions
›Short-term rate?
Same as ordinary income.
›Long-term thresholds?
$47k, $518k for single filer (2024).
›State tax?
Most states tax as ordinary income.
›Loss harvesting?
Offset gains with losses to reduce tax.
›Real estate?
Homes have $250k/$500k exclusion.
›Can I embed the Capital Gains Calculator on my site?
Embedding isn't public yet, but you can link directly to this page — the URL is stable and shareable.
›Is the Capital Gains Calculator free to use?
Yes. Every calculator on CalcPilot, including the Capital Gains Calculator, is free with no sign-up, no watermark, and no export limit.
Embed this calculator
Drop the Capital Gains Calculator into your own site or blog post. Free to use — a small “Powered by CalcPilot” link is appreciated.
<iframe src="https://calcpilot.tools/calculators/capital-gains-calculator?embed=1" width="100%" height="720" style="border:1px solid #e5e7eb;border-radius:12px;max-width:720px;" loading="lazy" title="Capital Gains Calculator — CalcPilot"></iframe>Related calculators
Hand-picked next steps if you found the Capital Gains Calculator useful.