Capital Gains Tax Calculator — Short-Term vs Long-Term, by Bracket
Calculate federal tax on stock, crypto, or fund gains. See exactly how much you save by holding past the 1-year mark.
Quick answer: Capital gains tax depends on holding period, taxable income, filing status, and state tax. Long-term gains usually receive lower federal rates than short-term gains taxed as ordinary income.
On a $5,000 gain, you pay $750 in federal tax at 15.00%.
The signed short-term-minus-long-term scenario difference is $450. Holding period alone does not determine the final bill.
See the full pictureHolding this gain long-term instead of short-term saves about $450 in federal tax at the rates you entered.
- 1
Calculate the baseline result with your current numbers
Apply user-entered federal tax-rate scenarios to a nonnegative stock or crypto gain.
- 2
Check the assumptions before using the result for a high-stakes decision
Assumptions change the answer, especially when rates, taxes, or timing matter.
- 3
Save the result to Money Map or use the linked next action
Turn the result into a prioritized action instead of treating it as a one-off number.
This is an educational estimate, not tax, legal, investment, or lending advice. Tax rules, rates, and eligibility change and depend on your full situation. Confirm with a qualified professional or the provider before acting.
Turn this result into a decision
Every SwitchWize calculator connects to a product comparison, rate context, guidance, alerts, and Money Map.
Add this calculator to your site
Paste this snippet into any page. No account or API key required, the widget is responsive, and it updates with live rates. A SwitchWize attribution link is included in the embed automatically.
<iframe src="https://www.switchwize.com/embed/capital-gains-tax?source=embed_selfserve" width="100%" height="680" loading="lazy" style="border:1px solid #e2e8f0;border-radius:14px;max-width:100%;width:100%" title="SwitchWize calculator"></iframe>
<script>(function(){window.addEventListener("message",function(e){if(e.origin!=="https://www.switchwize.com")return;var d=e.data;if(!d||d.type!=="sw-embed-resize")return;var f=document.getElementsByTagName("iframe");for(var i=0;i<f.length;i++){if(f[i].contentWindow===e.source){f[i].style.height=d.height+"px";break;}}});})();</script>Frequently Asked Questions
Everything you need to know.
When does the 1-year clock start?
What are the 2026 long-term capital gains brackets?
Do state taxes also apply to capital gains?
What if I have capital losses?
Is the Capital Gains Tax Calculator — Short-Term vs Long-Term, by Bracket free to use?
Does using the Capital Gains Tax Calculator — Short-Term vs Long-Term, by Bracket affect my credit score?
Are the results personalized financial advice?
What should I do after seeing the result?
How does SwitchWize choose related offers?
How fresh are the rates and offers shown?
Where can I see the ranking methodology?
Can Money Map use this result?
Why This Matters
Short-term capital gains are taxed as ordinary income — up to 37%. Long-term gains (held over 1 year) get preferential rates: 0%, 15%, or 20% depending on your total income and filing status. On a $50,000 gain, the difference between selling at 364 days and 366 days can be $10,000 or more. This is one of the biggest legal tax-timing levers in personal finance.
How to Use It
- 1Enter your cost basis (what you paid)
- 2Enter the sale price
- 3Indicate if you held for over 1 year (long-term)
- 4Select filing status (single or married filing jointly)
- 5Enter your annual taxable income (used to determine which bracket applies)
- 6See your tax owed, net after tax, and what you would save by holding for long-term treatment
Find the best account for this goal
Money Map matches your numbers to the strongest available accounts in 90 seconds.