About the Crypto Capital Gains Calculator
This calculator estimates the federal tax owed on selling, swapping, or spending cryptocurrency by comparing your sale proceeds to your original cost basis and applying the correct short-term or long-term capital gains rate. Because the IRS treats crypto as property rather than currency, disposing of it in any of these ways is a taxable event that has to be reported like a stock sale. Traders and long-term holders use it to get a quick read on the tax cost of a crypto sale before deciding whether, or when, to sell.
How It Works
Enter the sale proceeds and cost basis to establish your gain or loss, choose whether you held the asset for one year or less (short-term) or longer (long-term), and enter your total taxable income so the calculator can look up the applicable rate. Short-term gains are taxed at your ordinary marginal income tax rate; long-term gains use the lower long-term capital gains brackets. The calculator multiplies whichever rate applies against the greater of the gain or zero, since losses aren't taxed.
Formula & Methodology
To estimate this by hand, first find the gain by subtracting cost basis from sale proceeds. Then determine which rate schedule applies: for long-term holdings, use your long-term capital gains bracket; for short-term holdings, use your ordinary income tax bracket at the same taxable income level. Multiply the gain by that rate to estimate the tax owed. A negative result (a loss) isn't taxed, so the calculation stops at zero rather than producing a refund figure.
Examples
Short-Term Crypto Sale
Sale proceeds of $15,000 against a cost basis of $8,000, held for 8 months, with $70,000 in other taxable income. The $7,000 gain is short-term, so it's taxed at the ordinary marginal bracket that applies at that income level rather than a preferential rate.
Long-Term Crypto Sale
The same $15,000 sale and $8,000 basis, but held 14 months instead. The identical $7,000 gain is now taxed at the lower long-term capital gains bracket for the same $70,000 income level, showing why holding period alone changes the tax owed on an otherwise identical sale.
Advantages
- Distinguishes automatically between short-term and long-term treatment, the single biggest factor driving how much tax is owed on the same dollar gain.
- Uses your total taxable income to look up the applicable bracket rather than requiring you to guess your own rate.
- Applies the same logic to any disposal event, sale, swap, or purchase with crypto, matching how the IRS actually treats these transactions.
Common Mistakes
- Assuming a crypto-to-crypto trade isn't taxable because no dollars changed hands, when the IRS treats it as a disposal of the coin given up.
- Entering only current-year wages as "taxable income" and leaving out other income sources, which skews which bracket the gain falls into.
- Not tracking cost basis per purchase lot, which overstates or understates the gain when coins bought at different prices and times are sold together.
Edge Cases to Watch For
- A loss produces zero estimated tax here, since the calculator floors the taxable amount at zero rather than modeling a deduction for the loss itself.
- The rate lookup assumes single filing status, so married filers or heads of household will see a bracket that doesn't match their actual filing status.
- Crypto-to-crypto trades and using crypto to buy goods or services are both taxable dispositions under IRS rules, not just cashing out to dollars, so the same gain and tax logic applies to any of these events, not only an outright sale.
Common Use Cases
- Active traders estimating tax due before executing a sale near the one-year short-term/long-term boundary.
- Long-term holders deciding whether waiting past the one-year mark meaningfully lowers their tax bill.
- Taxpayers preparing for filing season who want a rough tax reserve estimate for a crypto sale already completed.